14 lines · c
1// Test that target feature ls64 is implemented and available correctly2 3// RUN: %clang -### --target=aarch64-none-elf -march=armv8.7-a+ls64 %s 2>&1 | FileCheck %s4// 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_LS647 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_LS6410// RUN: %clang -### --target=aarch64-none-elf -march=armv8.7-a %s 2>&1 | FileCheck %s --check-prefix=ABSENT_LS6411// RUN: %clang -### --target=aarch64-none-elf -march=armv8.7-a %s 2>&1 | FileCheck %s --check-prefix=ABSENT_LS6412// ABSENT_LS64-NOT: "-target-feature" "+ls64"13// ABSENT_LS64-NOT: "-target-feature" "-ls64"14