[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Driver / aarch64-ls64.c
blobe1389fe5b8aba19da476b4c583ba6abfbdaba955
1 // Test that target feature ls64 is implemented and available correctly
3 // RUN: %clang -### -target aarch64-none-none-eabi -march=armv8.7-a+ls64 %s 2>&1 | FileCheck %s
4 // CHECK: "-target-feature" "+ls64"
6 // RUN: %clang -### -target aarch64-none-none-eabi -march=armv8.7-a+nols64 %s 2>&1 | FileCheck %s --check-prefix=NO_LS64
7 // NO_LS64: "-target-feature" "-ls64"
9 // The LD64B/ST64B accelerator extension is disabled by default.
10 // RUN: %clang -### -target aarch64-none-none-eabi %s 2>&1 | FileCheck %s --check-prefix=ABSENT_LS64
11 // RUN: %clang -### -target aarch64-none-none-eabi -march=armv8.7-a %s 2>&1 | FileCheck %s --check-prefix=ABSENT_LS64
12 // RUN: %clang -### -target aarch64-none-none-eabi -march=armv8.7-a %s 2>&1 | FileCheck %s --check-prefix=ABSENT_LS64
13 // ABSENT_LS64-NOT: "-target-feature" "+ls64"
14 // ABSENT_LS64-NOT: "-target-feature" "-ls64"