| 1 |
// Test that target feature ls64 is implemented and available correctly |
| 2 |
|
| 3 |
// RUN: %clang -### --target=aarch64-none-elf -march=armv8.7-a+ls64 %s 2>&1 | FileCheck %s |
| 4 |
// CHECK: "-target-feature" "+ls64" |
| 5 |
|
| 6 |
// RUN: %clang -### --target=aarch64-none-elf -march=armv8.7-a+nols64 %s 2>&1 | FileCheck %s --check-prefix=ABSENT_LS64 |
| 7 |
|
| 8 |
// The LD64B/ST64B accelerator extension is disabled by default. |
| 9 |
// RUN: %clang -### --target=aarch64-none-elf %s 2>&1 | FileCheck %s --check-prefix=ABSENT_LS64 |
| 10 |
// RUN: %clang -### --target=aarch64-none-elf -march=armv8.7-a %s 2>&1 | FileCheck %s --check-prefix=ABSENT_LS64 |
| 11 |
// RUN: %clang -### --target=aarch64-none-elf -march=armv8.7-a %s 2>&1 | FileCheck %s --check-prefix=ABSENT_LS64 |
| 12 |
// ABSENT_LS64-NOT: "-target-feature" "+ls64" |
| 13 |
// ABSENT_LS64-NOT: "-target-feature" "-ls64" |