150
|
1 // RUN: %clang -### -target aarch64-none-none-eabi -march=armv8a+ssbs %s 2>&1 | FileCheck %s
|
236
|
2 // RUN: %clang -### -target aarch64-none-none-eabi -mcpu=cortex-x1 %s 2>&1 | FileCheck %s
|
|
3 // RUN: %clang -### -target aarch64-none-none-eabi -mcpu=cortex-x1c %s 2>&1 | FileCheck %s
|
|
4 // RUN: %clang -### -target aarch64-none-none-eabi -mcpu=cortex-a77 %s 2>&1 | FileCheck %s
|
150
|
5 // CHECK: "-target-feature" "+ssbs"
|
|
6
|
|
7 // RUN: %clang -### -target aarch64-none-none-eabi -march=armv8a+nossbs %s 2>&1 | FileCheck %s --check-prefix=NOSSBS
|
236
|
8 // RUN: %clang -### -target aarch64-none-none-eabi -mcpu=cortex-x1c+nossbs %s 2>&1 | FileCheck %s --check-prefix=NOSSBS
|
150
|
9 // NOSSBS: "-target-feature" "-ssbs"
|
|
10
|
|
11 // RUN: %clang -### -target aarch64-none-none-eabi %s 2>&1 | FileCheck %s --check-prefix=ABSENTSSBS
|
|
12 // ABSENTSSBS-NOT: "-target-feature" "+ssbs"
|
|
13 // ABSENTSSBS-NOT: "-target-feature" "-ssbs"
|