|
1 | 1 | // Test of the AArch64 values of -mtp=, checking that each one maps to
|
2 | 2 | // the right target features.
|
3 | 3 |
|
4 |
| -// RUN: %clang --target=aarch64-linux -### -S %s -arch armv8a 2>&1 | \ |
| 4 | +// RUN: %clang --target=aarch64-linux -### -S %s 2>&1 | \ |
5 | 5 | // RUN: FileCheck -check-prefix=ARMv8_THREAD_POINTER_EL0 %s
|
6 |
| -// RUN: %clang --target=aarch64-linux -### -S %s -arch armv8a -mtp=el0 2>&1 | \ |
| 6 | +// RUN: %clang --target=aarch64-linux -### -S %s -mtp=el0 2>&1 | \ |
7 | 7 | // RUN: FileCheck -check-prefix=ARMv8_THREAD_POINTER_EL0 %s
|
8 |
| -// RUN: %clang --target=aarch64-linux -### -S %s -arch armv8a -mtp=tpidr_el0 2>&1 | \ |
| 8 | +// RUN: %clang --target=aarch64-linux -### -S %s -mtp=tpidr_el0 2>&1 | \ |
9 | 9 | // RUN: FileCheck -check-prefix=ARMv8_THREAD_POINTER_EL0 %s
|
10 | 10 | // ARMv8_THREAD_POINTER_EL0-NOT: "-target-feature" "+tpidrro-el0"
|
11 | 11 | // ARMv8_THREAD_POINTER_EL0-NOT: "-target-feature" "+tpidr-el1"
|
12 | 12 | // ARMv8_THREAD_POINTER_EL0-NOT: "-target-feature" "+tpidr-el2"
|
13 | 13 | // ARMv8_THREAD_POINTER_EL0-NOT: "-target-feature" "+tpidr-el3"
|
14 | 14 |
|
15 |
| -// RUN: %clang --target=aarch64-linux -### -S %s -arch armv8a -mtp=tpidrro_el0 2>&1 | \ |
| 15 | +// RUN: %clang --target=aarch64-linux -### -S %s -mtp=tpidrro_el0 2>&1 | \ |
16 | 16 | // RUN: FileCheck -check-prefix=ARMv8_THREAD_POINTER_ROEL0 %s
|
17 | 17 | // ARMv8_THREAD_POINTER_ROEL0: "-target-feature" "+tpidrro-el0"
|
18 | 18 | // ARMv8_THREAD_POINTER_ROEL0-NOT: "-target-feature" "+tpidr-el1"
|
19 | 19 | // ARMv8_THREAD_POINTER_ROEL0-NOT: "-target-feature" "+tpidr-el2"
|
20 | 20 | // ARMv8_THREAD_POINTER_ROEL0-NOT: "-target-feature" "+tpidr-el3"
|
21 | 21 |
|
22 |
| -// RUN: %clang --target=aarch64-linux -### -S %s -arch armv8a -mtp=el1 2>&1 | \ |
| 22 | +// RUN: %clang --target=aarch64-linux -### -S %s -mtp=el1 2>&1 | \ |
23 | 23 | // RUN: FileCheck -check-prefix=ARMv8_THREAD_POINTER_EL1 %s
|
24 |
| -// RUN: %clang --target=aarch64-linux -### -S %s -arch armv8a -mtp=tpidr_el1 2>&1 | \ |
| 24 | +// RUN: %clang --target=aarch64-linux -### -S %s -mtp=tpidr_el1 2>&1 | \ |
25 | 25 | // RUN: FileCheck -check-prefix=ARMv8_THREAD_POINTER_EL1 %s
|
26 | 26 | // ARMv8_THREAD_POINTER_EL1-NOT: "-target-feature" "+tpidrro-el0"
|
27 | 27 | // ARMv8_THREAD_POINTER_EL1: "-target-feature" "+tpidr-el1"
|
28 | 28 | // ARMv8_THREAD_POINTER_EL1-NOT: "-target-feature" "+tpidr-el2"
|
29 | 29 | // ARMv8_THREAD_POINTER_EL1-NOT: "-target-feature" "+tpidr-el3"
|
30 | 30 |
|
31 |
| -// RUN: %clang --target=aarch64-linux -### -S %s -arch armv8a -mtp=el2 2>&1 | \ |
| 31 | +// RUN: %clang --target=aarch64-linux -### -S %s -mtp=el2 2>&1 | \ |
32 | 32 | // RUN: FileCheck -check-prefix=ARMv8_THREAD_POINTER_EL2 %s
|
33 |
| -// RUN: %clang --target=aarch64-linux -### -S %s -arch armv8a -mtp=tpidr_el2 2>&1 | \ |
| 33 | +// RUN: %clang --target=aarch64-linux -### -S %s -mtp=tpidr_el2 2>&1 | \ |
34 | 34 | // RUN: FileCheck -check-prefix=ARMv8_THREAD_POINTER_EL2 %s
|
35 | 35 | // ARMv8_THREAD_POINTER_EL2-NOT: "-target-feature" "+tpidrro-el0"
|
36 | 36 | // ARMv8_THREAD_POINTER_EL2-NOT: "-target-feature" "+tpidr-el1"
|
37 | 37 | // ARMv8_THREAD_POINTER_EL2: "-target-feature" "+tpidr-el2"
|
38 | 38 | // ARMv8_THREAD_POINTER_EL2-NOT: "-target-feature" "+tpidr-el3"
|
39 | 39 |
|
40 |
| -// RUN: %clang --target=aarch64-linux -### -S %s -arch armv8a -mtp=el3 2>&1 | \ |
| 40 | +// RUN: %clang --target=aarch64-linux -### -S %s -mtp=el3 2>&1 | \ |
41 | 41 | // RUN: FileCheck -check-prefix=ARMv8_THREAD_POINTER_EL3 %s
|
42 |
| -// RUN: %clang --target=aarch64-linux -### -S %s -arch armv8a -mtp=tpidr_el3 2>&1 | \ |
| 42 | +// RUN: %clang --target=aarch64-linux -### -S %s -mtp=tpidr_el3 2>&1 | \ |
43 | 43 | // RUN: FileCheck -check-prefix=ARMv8_THREAD_POINTER_EL3 %s
|
44 | 44 | // ARMv8_THREAD_POINTER_EL3-NOT: "-target-feature" "+tpidrro-el0"
|
45 | 45 | // ARMv8_THREAD_POINTER_EL3-NOT: "-target-feature" "+tpidr-el1"
|
|
0 commit comments