File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ __swp(uint32_t __x, volatile uint32_t *__p) {
109109#endif
110110
111111/* 7.7 NOP */
112- #if !defined(_MSC_VER ) || !defined(__aarch64__ )
112+ #if !defined(_MSC_VER ) || ( !defined(__aarch64__ ) && !defined( __arm64ec__ ) )
113113static __inline__ void __attribute__((__always_inline__ , __nodebug__ )) __nop (void ) {
114114 __builtin_arm_nop ();
115115}
Original file line number Diff line number Diff line change 77// RUN: %clang_cc1 -x c++ -triple thumbv7-windows -target-cpu cortex-a15 -fsyntax-only -ffreestanding -fms-extensions -fms-compatibility -fms-compatibility-version=19.11 %s
88// RUN: %clang_cc1 -x c++ -triple aarch64-windows -target-cpu cortex-a53 -fsyntax-only -ffreestanding -fms-extensions -fms-compatibility -fms-compatibility-version=19.11 %s
99// RUN: %clang_cc1 -x c++ -triple arm64-apple-ios -target-cpu apple-a7 -fsyntax-only -ffreestanding -fms-extensions %s
10+ // RUN: %clang_cc1 -x c++ -triple arm64ec-windows -target-cpu cortex-a53 -fsyntax-only -ffreestanding -fms-extensions -fms-compatibility -fms-compatibility-version=19.11 %s
1011// expected-no-diagnostics
1112
1213#include <arm_acle.h>
You can’t perform that action at this time.
0 commit comments