mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-19 01:19:41 +08:00
aarch64: Add THE system register support
Add Binutils support for system registers associated with the Translation Hardening Extension (THE). In doing so, we also add core feature support for THE, enabling its associated feature flag and implementing the necessary feature-checking machinery. Regression tested on aarch64-linux-gnu, no regressions. gas/ChangeLog: * config/tc-aarch64.c (aarch64_features): Add "+the" feature modifier. * doc/c-aarch64.texi (AArch64 Extensions): Update documentation for `the' option. * testsuite/gas/aarch64/sysreg-8.s: Add tests for `the' associated system registers. * testsuite/gas/aarch64/sysreg-8.d: Likewise. include/ChangeLog: * opcode/aarch64.h (enum aarch64_feature_bit): Add AARCH64_FEATURE_THE. opcode/ChangeLog: * aarch64-opc.c (aarch64_sys_ins_reg_supported_p): Add `the' system register check support. * aarch64-sys-regs.def: Add `rcwmask_el1' and `rcwsmask_el1' * aarch64-tbl.h: Define `THE' preprocessor macro.
This commit is contained in:
@@ -165,6 +165,8 @@ enum aarch64_feature_bit {
|
||||
AARCH64_FEATURE_GCS,
|
||||
/* SME2. */
|
||||
AARCH64_FEATURE_SME2,
|
||||
/* Translation Hardening Extension. */
|
||||
AARCH64_FEATURE_THE,
|
||||
AARCH64_NUM_FEATURES
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user