[PATCH] arm, objdump: Support pac_key_* register operand for MRS/MSR in Armv8.1-M Mainline

Andre Vieira andre.simoesdiasvieira@arm.com
Fri Nov 8 10:14:21 GMT 2024


Add support for pac_key_[pu]_[0-3](_ns)? register operands for the MRS and MSR
instructions when assembling for Armv8.1-M Mainline, as well as adding the
corresponding support for disassembling instructions that use it.

Tested on arm-none-eabi, arm-wince and arm-vxworks.

OK for trunk?
---
 gas/config/tc-arm.c                       |  18 ++-
 gas/testsuite/gas/arm/archv8_1m-pac-msr.d | 137 ++++++++++++++++++++++
 gas/testsuite/gas/arm/archv8_1m-pac-msr.s |  77 ++++++++++++
 opcodes/arm-dis.c                         |  29 ++++-
 4 files changed, 257 insertions(+), 4 deletions(-)
 create mode 100644 gas/testsuite/gas/arm/archv8_1m-pac-msr.d
 create mode 100644 gas/testsuite/gas/arm/archv8_1m-pac-msr.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-arm-objdump-Support-pac_key_-register-operand-for-MR.patch
Type: text/x-patch
Size: 13013 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20241108/abe9c050/attachment.bin>


More information about the Binutils mailing list