xref: /llvm-project/clang/test/Driver/print-enabled-extensions/aarch64-cortex-a72.c (revision b94c2488f06a5f7692d552e8a5fb85ea0c920a02)
1b9254adeSTomas Matheson // REQUIRES: aarch64-registered-target
2b9254adeSTomas Matheson // RUN: %clang --target=aarch64 --print-enabled-extensions -mcpu=cortex-a72 | FileCheck --strict-whitespace --implicit-check-not=FEAT_ %s
3b9254adeSTomas Matheson 
4b9254adeSTomas Matheson // CHECK: Extensions enabled for the given AArch64 target
5b9254adeSTomas Matheson // CHECK-EMPTY:
6b9254adeSTomas Matheson // CHECK-NEXT:     Architecture Feature(s)                                Description
7b9254adeSTomas Matheson // CHECK-NEXT:     FEAT_AES, FEAT_PMULL                                   Enable AES support
8b9254adeSTomas Matheson // CHECK-NEXT:     FEAT_AdvSIMD                                           Enable Advanced SIMD instructions
9*b94c2488SJonathan Thackray // CHECK-NEXT:     FEAT_CRC32                                             Enable Armv8.0-A CRC-32 checksum instructions
10*b94c2488SJonathan Thackray // CHECK-NEXT:     FEAT_FP                                                Enable Armv8.0-A Floating Point Extensions
11*b94c2488SJonathan Thackray // CHECK-NEXT:     FEAT_PMUv3                                             Enable Armv8.0-A PMUv3 Performance Monitors extension
12b9254adeSTomas Matheson // CHECK-NEXT:     FEAT_SHA1, FEAT_SHA256                                 Enable SHA1 and SHA256 support
13