Home | History | Annotate | Download | only in Preprocessor
      1 // RUN: %clang -target aarch64-none-linux-gnu -x c -E -dM %s -o - | FileCheck %s
      2 // CHECK: __AARCH 8
      3 // CHECK: __AARCH64EL__
      4 // CHECK: __AARCH_ACLE 101
      5 // CHECK-NOT: __AARCH_ADVSIMD_FP
      6 // CHECK-NOT: __AARCH_FEATURE_ADVSIMD
      7 // CHECK-NOT: __AARCH_FEATURE_BIG_ENDIAN
      8 // CHECK: __AARCH_FEATURE_CLZ 1
      9 // CHECK: __AARCH_FEATURE_FMA 1
     10 // CHECK: __AARCH_FEATURE_LDREX 0xf
     11 // CHECK: __AARCH_FEATURE_UNALIGNED 1
     12 // CHECK: __AARCH_FP 0xe
     13 // CHECK-NOT: __AARCH_FP_FAST
     14 // CHECK: __AARCH_FP16_FORMAT_IEEE 1
     15 // CHECK: __AARCH_FP_FENV_ROUNDING 1
     16 // CHECK: __AARCH_PROFILE 'A'
     17 // CHECK: __AARCH_SIZEOF_MINIMAL_ENUM 4
     18 // CHECK: __AARCH_SIZEOF_WCHAR_T 4
     19 // CHECK: __aarch64__
     20 
     21 
     22 // RUN: %clang -target aarch64-none-linux-gnu -ffast-math -x c -E -dM %s -o - | FileCheck --check-prefix=CHECK-FASTMATH %s
     23 // CHECK-FASTMATH: __AARCH_FP_FAST
     24 
     25 // RUN: %clang -target aarch64-none-linux-gnu -fshort-wchar -x c -E -dM %s -o - | FileCheck --check-prefix=CHECK-SHORTWCHAR %s
     26 // CHECK-SHORTWCHAR: __AARCH_SIZEOF_WCHAR_T 2
     27 
     28 // RUN: %clang -target aarch64-none-linux-gnu -fshort-enums -x c -E -dM %s -o - | FileCheck --check-prefix=CHECK-SHORTENUMS %s
     29 // CHECK-SHORTENUMS: __AARCH_SIZEOF_MINIMAL_ENUM 1
     30 
     31