[PATCH v0 10/13] aarch64: add PAuth_LR instructions with no or one-register operand

Matthieu Longo matthieu.longo@arm.com
Mon Jul 8 12:34:49 GMT 2024


This patch adds the instructions required by Armv9.5-A PAC
enhancements.
- paci<k>sppc, pacnbi<>sppc, paci<k>171615, auti<k>171615
- the register variant of auti<k>sppc -> auti<k>sppcr
- the register variant of reta<k>sppc -> reta<k>sppcr
A new register type R was also added to prevent a misuse of SP or XZR
registers with the register variant instructions.
It also adds the relevant tests for those instructions.
---
 gas/config/tc-aarch64.c                  | 12 +++++++++-
 gas/testsuite/gas/aarch64/pauth_lr-bad.d |  3 +++
 gas/testsuite/gas/aarch64/pauth_lr-bad.l | 11 +++++++++
 gas/testsuite/gas/aarch64/pauth_lr-bad.s | 12 ++++++++++
 gas/testsuite/gas/aarch64/pauth_lr.d     | 24 +++++++++++++++++++
 gas/testsuite/gas/aarch64/pauth_lr.s     | 30 ++++++++++++++++++++++++
 include/opcode/aarch64.h                 |  1 +
 opcodes/aarch64-tbl.h                    | 18 ++++++++++++++
 8 files changed, 110 insertions(+), 1 deletion(-)
 create mode 100644 gas/testsuite/gas/aarch64/pauth_lr-bad.d
 create mode 100644 gas/testsuite/gas/aarch64/pauth_lr-bad.l
 create mode 100644 gas/testsuite/gas/aarch64/pauth_lr-bad.s
 create mode 100644 gas/testsuite/gas/aarch64/pauth_lr.d
 create mode 100644 gas/testsuite/gas/aarch64/pauth_lr.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v0-0010-aarch64-add-PAuth_LR-instructions-with-no-or-one-.patch
Type: text/x-patch
Size: 7638 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20240708/d96f21ba/attachment-0001.bin>


More information about the Binutils mailing list