2013-01-31 20:13:10 +08:00
|
|
|
// RUN: %clang -target aarch64-none-linux-gnu -x c -E -dM %s -o - | FileCheck %s
|
|
|
|
// CHECK: __AARCH64EL__
|
|
|
|
// CHECK-NOT: __AARCH_ADVSIMD_FP
|
|
|
|
// CHECK-NOT: __AARCH_FEATURE_ADVSIMD
|
2013-04-05 22:08:55 +08:00
|
|
|
// CHECK: __ARM_ACLE 101
|
|
|
|
// CHECK: __ARM_ARCH 8
|
|
|
|
// CHECK: __ARM_ARCH_PROFILE 'A'
|
|
|
|
// CHECK-NOT: __ARM_FEATURE_BIG_ENDIAN
|
|
|
|
// CHECK: __ARM_FEATURE_CLZ 1
|
|
|
|
// CHECK: __ARM_FEATURE_FMA 1
|
|
|
|
// CHECK: __ARM_FEATURE_LDREX 0xf
|
|
|
|
// CHECK: __ARM_FEATURE_UNALIGNED 1
|
|
|
|
// CHECK: __ARM_FP 0xe
|
|
|
|
// CHECK-NOT: __ARM_FP_FAST
|
|
|
|
// CHECK: __ARM_FP16_FORMAT_IEEE 1
|
|
|
|
// CHECK: __ARM_FP_FENV_ROUNDING 1
|
|
|
|
// CHECK-NOT: __ARM_NEON_FP
|
|
|
|
// CHECK-NOT: __ARM_NEON
|
|
|
|
// CHECK: __ARM_SIZEOF_MINIMAL_ENUM 4
|
|
|
|
// CHECK: __ARM_SIZEOF_WCHAR_T 4
|
2013-01-31 20:13:10 +08:00
|
|
|
// CHECK: __aarch64__
|
|
|
|
|
|
|
|
|
|
|
|
// RUN: %clang -target aarch64-none-linux-gnu -ffast-math -x c -E -dM %s -o - | FileCheck --check-prefix=CHECK-FASTMATH %s
|
2013-04-05 22:08:55 +08:00
|
|
|
// CHECK-FASTMATH: __ARM_FP_FAST
|
2013-01-31 20:13:10 +08:00
|
|
|
|
|
|
|
// RUN: %clang -target aarch64-none-linux-gnu -fshort-wchar -x c -E -dM %s -o - | FileCheck --check-prefix=CHECK-SHORTWCHAR %s
|
2013-04-05 22:08:55 +08:00
|
|
|
// CHECK-SHORTWCHAR: __ARM_SIZEOF_WCHAR_T 2
|
2013-01-31 20:13:10 +08:00
|
|
|
|
|
|
|
// RUN: %clang -target aarch64-none-linux-gnu -fshort-enums -x c -E -dM %s -o - | FileCheck --check-prefix=CHECK-SHORTENUMS %s
|
2013-04-05 22:08:55 +08:00
|
|
|
// CHECK-SHORTENUMS: __ARM_SIZEOF_MINIMAL_ENUM 1
|
2013-01-31 20:13:10 +08:00
|
|
|
|
2013-08-01 17:23:19 +08:00
|
|
|
// RUN: %clang -target aarch64-none-linux-gnu -mfpu=neon -x c -E -dM %s -o - | FileCheck --check-prefix=CHECK-NEON %s
|
|
|
|
// CHECK-NEON: __AARCH_ADVSIMD_FP
|
|
|
|
// CHECK-NEON: __AARCH_FEATURE_ADVSIMD
|