llvm-project
31af00fd - [AArch64][v8.7-A] Fix inconsistency in SPE_EEF feature (#115296)

Commit
1 year ago
[AArch64][v8.7-A] Fix inconsistency in SPE_EEF feature (#115296) The `SPE-EEF` system-register only feature introduced in Armv8.7-a adds support for an extra system register (`PMSNEVFR_EL1`) to the Statistical Profiling extension. However, `SPE-EEF` is gated even for Armv8.7-a and the `spe-eef` subtarget-feature is needed to enable it. This behavior is inconsistent with the implementation for other system-register only features as they can be used ungated under supported architectures. (e.g. HCX : Enable Armv8.7-A `HCRX_EL2` system register). GCC/Binutils too do not add command line flags for features that only enable system registers. Fix by enabling `SPE-EEF` unconditionally under v8.7-A and above.
Author
Parents
Loading