
Textual strings for architecture feature flags have not been consistently written, so there are a wide variety of styles, capitalisation, etc. and some are missing information. I have tidied this up mechanically for AArch64, so that the output of `--print-supported-extensions` looks much more consistent, since it's user-visible.
11 lines
770 B
C
11 lines
770 B
C
// REQUIRES: aarch64-registered-target
|
|
// RUN: %clang --target=aarch64 --print-enabled-extensions -mcpu=generic | FileCheck --strict-whitespace --implicit-check-not=FEAT_ %s
|
|
|
|
// CHECK: Extensions enabled for the given AArch64 target
|
|
// CHECK-EMPTY:
|
|
// CHECK-NEXT: Architecture Feature(s) Description
|
|
// CHECK-NEXT: FEAT_AdvSIMD Enable Advanced SIMD instructions
|
|
// CHECK-NEXT: FEAT_ETE Enable Embedded Trace Extension
|
|
// CHECK-NEXT: FEAT_FP Enable Armv8.0-A Floating Point Extensions
|
|
// CHECK-NEXT: FEAT_TRBE Enable Trace Buffer Extension
|