Home | History | Annotate | Download | only in Driver

Lines Matching full:target

1 // Test that different values of -mfpu pick correct ARM FPU target-feature(s).
3 // RUN: %clang -target arm-linux-eabi %s -### -o %t.o 2>&1 \
5 // CHECK-DEFAULT-NOT: "-target-feature" "+vfp2"
6 // CHECK-DEFAULT-NOT: "-target-feature" "+vfp3"
7 // CHECK-DEFAULT-NOT: "-target-feature" "+d16"
8 // CHECK-DEFAULT-NOT: "-target-feature" "+neon"
10 // RUN: %clang -target arm-linux-eabi -mfpu=fpa %s -### -o %t.o 2>&1 \
12 // RUN: %clang -target arm-linux-eabi -mfpu=fpe2 %s -### -o %t.o 2>&1 \
14 // RUN: %clang -target arm-linux-eabi -mfpu=fpe3 %s -### -o %t.o 2>&1 \
16 // RUN: %clang -target arm-linux-eabi -mfpu=maverick %s -### -o %t.o 2>&1 \
18 // CHECK-FPA: "-target-feature" "-vfp2"
19 // CHECK-FPA: "-target-feature" "-vfp3"
20 // CHECK-FPA: "-target-feature" "-neon"
22 // RUN: %clang -target arm-linux-eabi -mfpu=vfp3-d16 %s -### -o %t.o 2>&1 \
24 // RUN: %clang -target arm-linux-eabi -mfpu=vfpv3-d16 %s -### -o %t.o 2>&1 \
26 // CHECK-VFP3-D16: "-target-feature" "+vfp3"
27 // CHECK-VFP3-D16: "-target-feature" "+d16"
28 // CHECK-VFP3-D16: "-target-feature" "-neon"
30 // RUN: %clang -target arm-linux-eabi -mfpu=vfp %s -### -o %t.o 2>&1 \
32 // CHECK-VFP: "-target-feature" "+vfp2"
33 // CHECK-VFP: "-target-feature" "-neon"
35 // RUN: %clang -target arm-linux-eabi -mfpu=vfp3 %s -### -o %t.o 2>&1 \
37 // RUN: %clang -target arm-linux-eabi -mfpu=vfpv3 %s -### -o %t.o 2>&1 \
39 // CHECK-VFP3: "-target-feature" "+vfp3"
40 // CHECK-VFP3: "-target-feature" "-neon"
42 // RUN: %clang -target arm-linux-eabi -mfpu=neon %s -### -o %t.o 2>&1 \
44 // CHECK-NEON: "-target-feature" "+neon"
46 // RUN: %clang -target arm-linux-eabi -msoft-float %s -### -o %t.o 2>&1 \
48 // CHECK-SOFT-FLOAT: "-target-feature" "-neon"