37 lines · c
1// REQUIRES: aarch64-registered-target2// RUN: %clang --target=aarch64 --print-enabled-extensions -mcpu=cortex-r82 | FileCheck --strict-whitespace --implicit-check-not=FEAT_ %s3 4// CHECK: Extensions enabled for the given AArch64 target5// CHECK-EMPTY:6// CHECK-NEXT: Architecture Feature(s) Description7// CHECK-NEXT: FEAT_AdvSIMD Enable Advanced SIMD instructions8// CHECK-NEXT: FEAT_CRC32 Enable Armv8.0-A CRC-32 checksum instructions9// CHECK-NEXT: FEAT_CSV2_2 Enable architectural speculation restriction10// CHECK-NEXT: FEAT_DIT Enable Armv8.4-A Data Independent Timing instructions11// CHECK-NEXT: FEAT_DPB Enable Armv8.2-A data Cache Clean to Point of Persistence12// CHECK-NEXT: FEAT_DPB2 Enable Armv8.5-A Cache Clean to Point of Deep Persistence13// CHECK-NEXT: FEAT_DotProd Enable dot product support14// CHECK-NEXT: FEAT_FCMA Enable Armv8.3-A Floating-point complex number support15// CHECK-NEXT: FEAT_FHM Enable FP16 FML instructions16// CHECK-NEXT: FEAT_FP Enable Armv8.0-A Floating Point Extensions17// CHECK-NEXT: FEAT_FP16 Enable half-precision floating-point data processing18// CHECK-NEXT: FEAT_FPAC Enable Armv8.3-A Pointer Authentication Faulting enhancement19// CHECK-NEXT: FEAT_FlagM Enable Armv8.4-A Flag Manipulation instructions20// CHECK-NEXT: FEAT_JSCVT Enable Armv8.3-A JavaScript FP conversion instructions21// CHECK-NEXT: FEAT_LRCPC Enable support for RCPC extension22// CHECK-NEXT: FEAT_LRCPC2 Enable Armv8.4-A RCPC instructions with Immediate Offsets23// CHECK-NEXT: FEAT_LSE Enable Armv8.1-A Large System Extension (LSE) atomic instructions24// CHECK-NEXT: FEAT_PAN Enable Armv8.1-A Privileged Access-Never extension25// CHECK-NEXT: FEAT_PAN2 Enable Armv8.2-A PAN s1e1R and s1e1W Variants26// CHECK-NEXT: FEAT_PAuth Enable Armv8.3-A Pointer Authentication extension27// CHECK-NEXT: FEAT_PMUv3 Enable Armv8.0-A PMUv3 Performance Monitors extension28// CHECK-NEXT: FEAT_RAS, FEAT_RASv1p1 Enable Armv8.0-A Reliability, Availability and Serviceability Extensions29// CHECK-NEXT: FEAT_RDM Enable Armv8.1-A Rounding Double Multiply Add/Subtract instructions30// CHECK-NEXT: FEAT_SB Enable Armv8.5-A Speculation Barrier31// CHECK-NEXT: FEAT_SEL2 Enable Armv8.4-A Secure Exception Level 2 extension32// CHECK-NEXT: FEAT_SPECRES Enable Armv8.5-A execution and data prediction invalidation instructions33// CHECK-NEXT: FEAT_SSBS, FEAT_SSBS2 Enable Speculative Store Bypass Safe bit34// CHECK-NEXT: FEAT_TLBIOS, FEAT_TLBIRANGE Enable Armv8.4-A TLB Range and Maintenance instructions35// CHECK-NEXT: FEAT_TRF Enable Armv8.4-A Trace extension36// CHECK-NEXT: FEAT_UAO Enable Armv8.2-A UAO PState37