File: print-supported-extensions-arm.c

package info (click to toggle)
llvm-toolchain-21 1%3A21.1.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,245,028 kB
  • sloc: cpp: 7,619,726; ansic: 1,434,018; asm: 1,058,748; python: 252,740; f90: 94,671; objc: 70,685; lisp: 42,813; pascal: 18,401; sh: 8,601; ml: 5,111; perl: 4,720; makefile: 3,675; awk: 3,523; javascript: 2,409; xml: 892; fortran: 770
file content (31 lines) | stat: -rw-r--r-- 2,203 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// REQUIRES: arm-registered-target
// RUN: %clang --target=arm-linux-gnu --print-supported-extensions | FileCheck --strict-whitespace --implicit-check-not=FEAT_ %s

// CHECK: All available -march extensions for ARM
// CHECK-EMPTY:
// CHECK-NEXT:     Name                Description
// CHECK-NEXT:     crc                 Enable support for CRC instructions
// CHECK-NEXT:     crypto              Enable support for Cryptography extensions
// CHECK-NEXT:     sha2                Enable SHA1 and SHA256 support
// CHECK-NEXT:     aes                 Enable AES support
// CHECK-NEXT:     dotprod             Enable support for dot product instructions
// CHECK-NEXT:     dsp                 Supports DSP instructions in ARM and/or Thumb2
// CHECK-NEXT:     mve                 Support M-Class Vector Extension with integer ops
// CHECK-NEXT:     mve.fp              Support M-Class Vector Extension with integer and floating ops
// CHECK-NEXT:     simd                Enable NEON instructions
// CHECK-NEXT:     fp16                Enable half-precision floating point
// CHECK-NEXT:     ras                 Enable Reliability, Availability and Serviceability extensions
// CHECK-NEXT:     fp16fml             Enable full half-precision floating point fml instructions
// CHECK-NEXT:     bf16                Enable support for BFloat16 instructions
// CHECK-NEXT:     sb                  Enable v8.5a Speculation Barrier
// CHECK-NEXT:     i8mm                Enable Matrix Multiply Int8 Extension
// CHECK-NEXT:     lob                 Enable Low Overhead Branch extensions
// CHECK-NEXT:     cdecp0              Coprocessor 0 ISA is CDEv1
// CHECK-NEXT:     cdecp1              Coprocessor 1 ISA is CDEv1
// CHECK-NEXT:     cdecp2              Coprocessor 2 ISA is CDEv1
// CHECK-NEXT:     cdecp3              Coprocessor 3 ISA is CDEv1
// CHECK-NEXT:     cdecp4              Coprocessor 4 ISA is CDEv1
// CHECK-NEXT:     cdecp5              Coprocessor 5 ISA is CDEv1
// CHECK-NEXT:     cdecp6              Coprocessor 6 ISA is CDEv1
// CHECK-NEXT:     cdecp7              Coprocessor 7 ISA is CDEv1
// CHECK-NEXT:     pacbti              Enable Pointer Authentication and Branch Target Identification