brintos

brintos / llvm-project-archived public Read only

0
0
Text · 872 B · 62b603a Raw
14 lines · c
1// RUN: %clang -### --target=aarch64-none-elf -march=armv8a+ssbs   %s 2>&1 | FileCheck %s2// RUN: %clang -### --target=aarch64-none-elf -mcpu=cortex-x1      %s 2>&1 | FileCheck %s3// RUN: %clang -### --target=aarch64-none-elf -mcpu=cortex-x1c     %s 2>&1 | FileCheck %s4// RUN: %clang -### --target=aarch64-none-elf -mcpu=cortex-a77     %s 2>&1 | FileCheck %s5// CHECK: "-target-feature" "+ssbs"6 7// RUN: %clang -### --target=aarch64-none-elf -march=armv8a+nossbs %s 2>&1 | FileCheck %s --check-prefix=NOSSBS8// RUN: %clang -### --target=aarch64-none-elf -mcpu=cortex-x1c+nossbs %s 2>&1 | FileCheck %s --check-prefix=NOSSBS9// NOSSBS-NOT: "-target-feature" "+ssbs"10 11// RUN: %clang -### --target=aarch64-none-elf                      %s 2>&1 | FileCheck %s --check-prefix=ABSENTSSBS12// ABSENTSSBS-NOT: "-target-feature" "+ssbs"13// ABSENTSSBS-NOT: "-target-feature" "-ssbs"14