xref: /minix3/external/bsd/llvm/dist/clang/test/Preprocessor/arm-acle-6.5.c (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc // RUN: %clang -target arm-eabi -x c -E -dM %s -o - | FileCheck %s -check-prefix CHECK-DEFAULT
2*0a6a1f1dSLionel Sambuc 
3*0a6a1f1dSLionel Sambuc // CHECK-DEFAULT-NOT: __ARM_FP
4*0a6a1f1dSLionel Sambuc 
5*0a6a1f1dSLionel Sambuc // RUN: %clang -target arm-eabi -mfpu=vfp -x c -E -dM %s -o - | FileCheck %s -check-prefix CHECK-SP-DP
6*0a6a1f1dSLionel Sambuc // RUN: %clang -target arm-eabi -mfpu=vfp3 -x c -E -dM %s -o - | FileCheck %s -check-prefix CHECK-SP-DP
7*0a6a1f1dSLionel Sambuc // RUN: %clang -target arm-eabi -mfpu=vfp3-d16 -x c -E -dM %s -o - | FileCheck %s -check-prefix CHECK-SP-DP
8*0a6a1f1dSLionel Sambuc // RUN: %clang -target arm-eabi -mfpu=neon -x c -E -dM %s -o - | FileCheck %s -check-prefix CHECK-SP-DP
9*0a6a1f1dSLionel Sambuc // RUN: %clang -target arm-eabi -mfpu=vfp3 -x c -E -dM %s -o - | FileCheck %s -check-prefix CHECK-SP-DP
10*0a6a1f1dSLionel Sambuc // RUN: %clang -target armv7-eabi -x c -E -dM %s -o - | FileCheck %s -check-prefix CHECK-SP-DP
11*0a6a1f1dSLionel Sambuc 
12*0a6a1f1dSLionel Sambuc // CHECK-SP-DP: __ARM_FP 0xC
13*0a6a1f1dSLionel Sambuc 
14*0a6a1f1dSLionel Sambuc // RUN: %clang -target arm-eabi -mfpu=vfpv4 -x c -E -dM %s -o - | FileCheck %s -check-prefix CHECK-SP-DP-HP
15*0a6a1f1dSLionel Sambuc // RUN: %clang -target arm-eabi -mfpu=vfpv4-d16 -x c -E -dM %s -o - | FileCheck %s -check-prefix CHECK-SP-DP-HP
16*0a6a1f1dSLionel Sambuc // RUN: %clang -target arm-eabi -mfpu=fp-armv8 -x c -E -dM %s -o - | FileCheck %s -check-prefix CHECK-SP-DP-HP
17*0a6a1f1dSLionel Sambuc // RUN: %clang -target arm-eabi -mfpu=neon-fp-armv8 -x c -E -dM %s -o - | FileCheck %s -check-prefix CHECK-SP-DP-HP
18*0a6a1f1dSLionel Sambuc // RUN: %clang -target arm-eabi -mfpu=crypto-neon-fp-armv8 -x c -E -dM %s -o - | FileCheck %s -check-prefix CHECK-SP-DP-HP
19*0a6a1f1dSLionel Sambuc // RUN: %clang -target armv8-eabi -x c -E -dM %s -o - | FileCheck %s -check-prefix CHECK-SP-DP-HP
20*0a6a1f1dSLionel Sambuc 
21*0a6a1f1dSLionel Sambuc // CHECK-SP-DP-HP: __ARM_FP 0xE
22*0a6a1f1dSLionel Sambuc 
23