1 // REQUIRES: aarch64-registered-target
2 // RUN: %clang --target=aarch64 --print-enabled-extensions -mcpu=neoverse-512tvb | FileCheck --strict-whitespace --implicit-check-not=FEAT_ %s
4 // CHECK: Extensions enabled for the given AArch64 target
6 // CHECK-NEXT: Architecture Feature(s) Description
7 // CHECK-NEXT: FEAT_AES, FEAT_PMULL Enable AES support
8 // CHECK-NEXT: FEAT_AMUv1 Enable Armv8.4-A Activity Monitors extension
9 // CHECK-NEXT: FEAT_AdvSIMD Enable Advanced SIMD instructions
10 // CHECK-NEXT: FEAT_BF16 Enable BFloat16 Extension
11 // CHECK-NEXT: FEAT_CCIDX Enable Armv8.3-A Extend of the CCSIDR number of sets
12 // CHECK-NEXT: FEAT_CRC32 Enable Armv8.0-A CRC-32 checksum instructions
13 // CHECK-NEXT: FEAT_DIT Enable Armv8.4-A Data Independent Timing instructions
14 // CHECK-NEXT: FEAT_DPB Enable Armv8.2-A data Cache Clean to Point of Persistence
15 // CHECK-NEXT: FEAT_DPB2 Enable Armv8.5-A Cache Clean to Point of Deep Persistence
16 // CHECK-NEXT: FEAT_DotProd Enable dot product support
17 // CHECK-NEXT: FEAT_FCMA Enable Armv8.3-A Floating-point complex number support
18 // CHECK-NEXT: FEAT_FHM Enable FP16 FML instructions
19 // CHECK-NEXT: FEAT_FP Enable Armv8.0-A Floating Point Extensions
20 // CHECK-NEXT: FEAT_FP16 Enable half-precision floating-point data processing
21 // CHECK-NEXT: FEAT_FlagM Enable Armv8.4-A Flag Manipulation instructions
22 // CHECK-NEXT: FEAT_I8MM Enable Matrix Multiply Int8 Extension
23 // CHECK-NEXT: FEAT_JSCVT Enable Armv8.3-A JavaScript FP conversion instructions
24 // CHECK-NEXT: FEAT_LOR Enable Armv8.1-A Limited Ordering Regions extension
25 // CHECK-NEXT: FEAT_LRCPC Enable support for RCPC extension
26 // CHECK-NEXT: FEAT_LRCPC2 Enable Armv8.4-A RCPC instructions with Immediate Offsets
27 // CHECK-NEXT: FEAT_LSE Enable Armv8.1-A Large System Extension (LSE) atomic instructions
28 // CHECK-NEXT: FEAT_LSE2 Enable Armv8.4-A Large System Extension 2 (LSE2) atomicity rules
29 // CHECK-NEXT: FEAT_MPAM Enable Armv8.4-A Memory system Partitioning and Monitoring extension
30 // CHECK-NEXT: FEAT_NV, FEAT_NV2 Enable Armv8.4-A Nested Virtualization Enchancement
31 // CHECK-NEXT: FEAT_PAN Enable Armv8.1-A Privileged Access-Never extension
32 // CHECK-NEXT: FEAT_PAN2 Enable Armv8.2-A PAN s1e1R and s1e1W Variants
33 // CHECK-NEXT: FEAT_PAuth Enable Armv8.3-A Pointer Authentication extension
34 // CHECK-NEXT: FEAT_PMUv3 Enable Armv8.0-A PMUv3 Performance Monitors extension
35 // CHECK-NEXT: FEAT_RAS, FEAT_RASv1p1 Enable Armv8.0-A Reliability, Availability and Serviceability Extensions
36 // CHECK-NEXT: FEAT_RDM Enable Armv8.1-A Rounding Double Multiply Add/Subtract instructions
37 // CHECK-NEXT: FEAT_RNG Enable Random Number generation instructions
38 // CHECK-NEXT: FEAT_SEL2 Enable Armv8.4-A Secure Exception Level 2 extension
39 // CHECK-NEXT: FEAT_SHA1, FEAT_SHA256 Enable SHA1 and SHA256 support
40 // CHECK-NEXT: FEAT_SHA3, FEAT_SHA512 Enable SHA512 and SHA3 support
41 // CHECK-NEXT: FEAT_SM4, FEAT_SM3 Enable SM3 and SM4 support
42 // CHECK-NEXT: FEAT_SPE Enable Statistical Profiling extension
43 // CHECK-NEXT: FEAT_SSBS, FEAT_SSBS2 Enable Speculative Store Bypass Safe bit
44 // CHECK-NEXT: FEAT_SVE Enable Scalable Vector Extension (SVE) instructions
45 // CHECK-NEXT: FEAT_TLBIOS, FEAT_TLBIRANGE Enable Armv8.4-A TLB Range and Maintenance instructions
46 // CHECK-NEXT: FEAT_TRF Enable Armv8.4-A Trace extension
47 // CHECK-NEXT: FEAT_UAO Enable Armv8.2-A UAO PState
48 // CHECK-NEXT: FEAT_VHE Enable Armv8.1-A Virtual Host extension