[all-commits] [llvm/llvm-project] 31af00: [AArch64][v8.7-A] Fix inconsistency in SPE_EEF fea...

amilendra via All-commits all-commits at lists.llvm.org
Fri Nov 8 02:57:08 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31af00fda73df8e85e30c71f66e096d486ec8c8b
      https://github.com/llvm/llvm-project/commit/31af00fda73df8e85e30c71f66e096d486ec8c8b
  Author: amilendra <amilendra.kodithuwakku at arm.com>
  Date:   2024-11-08 (Fri, 08 Nov 2024)

  Changed paths:
    M clang/test/Driver/print-enabled-extensions/aarch64-ampere1b.c
    M clang/test/Driver/print-enabled-extensions/aarch64-apple-m4.c
    M clang/test/Driver/print-enabled-extensions/aarch64-armv8.7-a.c
    M clang/test/Driver/print-enabled-extensions/aarch64-armv8.8-a.c
    M clang/test/Driver/print-enabled-extensions/aarch64-armv8.9-a.c
    M clang/test/Driver/print-enabled-extensions/aarch64-armv9.2-a.c
    M clang/test/Driver/print-enabled-extensions/aarch64-armv9.3-a.c
    M clang/test/Driver/print-enabled-extensions/aarch64-armv9.4-a.c
    M clang/test/Driver/print-enabled-extensions/aarch64-armv9.5-a.c
    M clang/test/Driver/print-enabled-extensions/aarch64-cortex-a520.c
    M clang/test/Driver/print-enabled-extensions/aarch64-cortex-a520ae.c
    M llvm/lib/Target/AArch64/AArch64Features.td
    M llvm/test/MC/AArch64/spe.s

  Log Message:
  -----------
  [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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list