]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
aarch64: Support 2024 Debug Architecture system registers.
authorSrinath Parvathaneni <srinath.parvathaneni@arm.com>
Fri, 20 Jun 2025 16:21:14 +0000 (17:21 +0100)
committerSrinath Parvathaneni <srinath.parvathaneni@arm.com>
Fri, 20 Jun 2025 16:21:14 +0000 (17:21 +0100)
commited62a5351cfbe8468c265d4ff732ddf99acdbbbb
treeeb746595f4cf8610e278cacf6fabda2f2b0b7402
parentba4bedeafa1cd9361b49a11dcd0e4eb0de6dadca
aarch64: Support 2024 Debug Architecture system registers.

This patch adds support for following system registers and the spec
can be found here[1].
1. PMBSR_EL12, PMBSR_EL2, PMBSR_EL3, PMBMAR_EL1 depends on FEAT_SPE
   and Armv9.5-A architecture and these are enabled by passing
   -march=armv9.5-a+profile.
2. TRBSR_EL12, TRBSR_EL2, and TRBSR_EL3 depends Armv9.5-A architecture
   and these are enabled by passing -march=armv9.5-a.
3. HFGITR2_EL2 depends on Armv8.8-A architecture and enabled by passing
   -march=armv8.8-a.

[1]: https://developer.arm.com/documentation/ddi0601/2025-03/AArch64-Registers?lang=en
gas/testsuite/gas/aarch64/sysreg/sysreg-10-bad.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/sysreg/sysreg-10-bad.l [new file with mode: 0644]
gas/testsuite/gas/aarch64/sysreg/sysreg-10.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/sysreg/sysreg-10.s [new file with mode: 0644]
gas/testsuite/gas/aarch64/sysreg/sysreg-9-bad.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/sysreg/sysreg-9-bad.l [new file with mode: 0644]
gas/testsuite/gas/aarch64/sysreg/sysreg-9-bad.s [new file with mode: 0644]
gas/testsuite/gas/aarch64/sysreg/sysreg-9.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/sysreg/sysreg-9.s [new file with mode: 0644]
opcodes/aarch64-sys-regs.def