xref: /llvm-project/clang/test/Driver/print-supported-extensions-arm.c (revision b9254ade77d41c7582a98e6754058c39fd456c2a)
1*b9254adeSTomas Matheson // REQUIRES: arm-registered-target
2*b9254adeSTomas Matheson // RUN: %clang --target=arm-linux-gnu --print-supported-extensions | FileCheck --strict-whitespace --implicit-check-not=FEAT_ %s
3*b9254adeSTomas Matheson 
4*b9254adeSTomas Matheson // CHECK: All available -march extensions for ARM
5*b9254adeSTomas Matheson // CHECK-EMPTY:
6*b9254adeSTomas Matheson // CHECK-NEXT:     Name                Description
7*b9254adeSTomas Matheson // CHECK-NEXT:     crc                 Enable support for CRC instructions
8*b9254adeSTomas Matheson // CHECK-NEXT:     crypto              Enable support for Cryptography extensions
9*b9254adeSTomas Matheson // CHECK-NEXT:     sha2                Enable SHA1 and SHA256 support
10*b9254adeSTomas Matheson // CHECK-NEXT:     aes                 Enable AES support
11*b9254adeSTomas Matheson // CHECK-NEXT:     dotprod             Enable support for dot product instructions
12*b9254adeSTomas Matheson // CHECK-NEXT:     dsp                 Supports DSP instructions in ARM and/or Thumb2
13*b9254adeSTomas Matheson // CHECK-NEXT:     mve                 Support M-Class Vector Extension with integer ops
14*b9254adeSTomas Matheson // CHECK-NEXT:     mve.fp              Support M-Class Vector Extension with integer and floating ops
15*b9254adeSTomas Matheson // CHECK-NEXT:     fp16                Enable half-precision floating point
16*b9254adeSTomas Matheson // CHECK-NEXT:     ras                 Enable Reliability, Availability and Serviceability extensions
17*b9254adeSTomas Matheson // CHECK-NEXT:     fp16fml             Enable full half-precision floating point fml instructions
18*b9254adeSTomas Matheson // CHECK-NEXT:     bf16                Enable support for BFloat16 instructions
19*b9254adeSTomas Matheson // CHECK-NEXT:     sb                  Enable v8.5a Speculation Barrier
20*b9254adeSTomas Matheson // CHECK-NEXT:     i8mm                Enable Matrix Multiply Int8 Extension
21*b9254adeSTomas Matheson // CHECK-NEXT:     lob                 Enable Low Overhead Branch extensions
22*b9254adeSTomas Matheson // CHECK-NEXT:     cdecp0              Coprocessor 0 ISA is CDEv1
23*b9254adeSTomas Matheson // CHECK-NEXT:     cdecp1              Coprocessor 1 ISA is CDEv1
24*b9254adeSTomas Matheson // CHECK-NEXT:     cdecp2              Coprocessor 2 ISA is CDEv1
25*b9254adeSTomas Matheson // CHECK-NEXT:     cdecp3              Coprocessor 3 ISA is CDEv1
26*b9254adeSTomas Matheson // CHECK-NEXT:     cdecp4              Coprocessor 4 ISA is CDEv1
27*b9254adeSTomas Matheson // CHECK-NEXT:     cdecp5              Coprocessor 5 ISA is CDEv1
28*b9254adeSTomas Matheson // CHECK-NEXT:     cdecp6              Coprocessor 6 ISA is CDEv1
29*b9254adeSTomas Matheson // CHECK-NEXT:     cdecp7              Coprocessor 7 ISA is CDEv1
30*b9254adeSTomas Matheson // CHECK-NEXT:     pacbti              Enable Pointer Authentication and Branch Target Identification
31