1 // REQUIRES: aarch64-registered-target
2 // RUN: %clang --target=aarch64 --print-enabled-extensions -mcpu=cortex-a65ae | 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_AdvSIMD Enable Advanced SIMD instructions
9 // CHECK-NEXT: FEAT_CRC32 Enable Armv8.0-A CRC-32 checksum instructions
10 // CHECK-NEXT: FEAT_DPB Enable Armv8.2-A data Cache Clean to Point of Persistence
11 // CHECK-NEXT: FEAT_DotProd Enable dot product support
12 // CHECK-NEXT: FEAT_FP Enable Armv8.0-A Floating Point Extensions
13 // CHECK-NEXT: FEAT_FP16 Enable half-precision floating-point data processing
14 // CHECK-NEXT: FEAT_LOR Enable Armv8.1-A Limited Ordering Regions extension
15 // CHECK-NEXT: FEAT_LRCPC Enable support for RCPC extension
16 // CHECK-NEXT: FEAT_LSE Enable Armv8.1-A Large System Extension (LSE) atomic instructions
17 // CHECK-NEXT: FEAT_PAN Enable Armv8.1-A Privileged Access-Never extension
18 // CHECK-NEXT: FEAT_PAN2 Enable Armv8.2-A PAN s1e1R and s1e1W Variants
19 // CHECK-NEXT: FEAT_PMUv3 Enable Armv8.0-A PMUv3 Performance Monitors extension
20 // CHECK-NEXT: FEAT_RAS, FEAT_RASv1p1 Enable Armv8.0-A Reliability, Availability and Serviceability Extensions
21 // CHECK-NEXT: FEAT_RDM Enable Armv8.1-A Rounding Double Multiply Add/Subtract instructions
22 // CHECK-NEXT: FEAT_SHA1, FEAT_SHA256 Enable SHA1 and SHA256 support
23 // CHECK-NEXT: FEAT_SSBS, FEAT_SSBS2 Enable Speculative Store Bypass Safe bit
24 // CHECK-NEXT: FEAT_UAO Enable Armv8.2-A UAO PState
25 // CHECK-NEXT: FEAT_VHE Enable Armv8.1-A Virtual Host extension