[PATCH v2 0/5] gas: aarch64: Add support for GICv5 extension

saurabh.jha@arm.com saurabh.jha@arm.com
Mon Oct 6 14:40:02 GMT 2025


From: Saurabh Jha <saurabh.jha@arm.com>

V2 of this patch series:
https://sourceware.org/pipermail/binutils/2025-September/143918.html

Thank you for the review! Addressed comments, and in particular,
1. In the first patch, added the acronym for gcie rather than gic.
2. In the second patch, used xzr in tests and now only testing with x0
and xzr. The other tests were redundant and were not as readable.
3. In the second patch, encoded Rt as 0b11111 in the gsb instruction as
specified by the spec.
4. In third, fourth, and fifth patches, edited the commit title to make
it more understandable.
5. In third, fourth, and fifth patches, dropped 'sys_reg=' in tests.
Also removed F_ARCHEXT in aarch64-sys-regs.def.

I am planning to commit this in about 24 hours unless anyone has any
objections.

Many thanks,
Saurabh

Matthieu Longo (3):
  gas: aarch64: GICv5 CPU interface system registers
  gas: aarch64: GICv5 PPI system registers
  gas: aarch64: GICv5 hypervisor control system registers

Saurabh Jha (2):
  gas: aarch64: Add flag for GICv5
  gas: aarch64: Add instructions for GICv5

 gas/config/tc-aarch64.c                       |  35 ++++
 gas/doc/c-aarch64.texi                        |   2 +
 gas/testsuite/gas/aarch64/gcie-bad.d          |   3 +
 gas/testsuite/gas/aarch64/gcie-bad.l          |  57 +++++++
 gas/testsuite/gas/aarch64/gcie-illegal.d      |   3 +
 gas/testsuite/gas/aarch64/gcie-illegal.l      |  16 ++
 gas/testsuite/gas/aarch64/gcie-illegal.s      |  22 +++
 gas/testsuite/gas/aarch64/gcie.d              |  64 ++++++++
 gas/testsuite/gas/aarch64/gcie.s              | 113 +++++++++++++
 .../gas/aarch64/sysreg/gcie-sysregs.d         | 155 ++++++++++++++++++
 .../gas/aarch64/sysreg/gcie-sysregs.s         |  91 ++++++++++
 gas/testsuite/gas/aarch64/sysreg/sysreg.d     |   2 +-
 gas/testsuite/gas/aarch64/sysreg/sysreg.s     |   2 +-
 .../sysreg/sysregs_with_no_restrictions-bad.l |   4 +
 .../sysreg/sysregs_with_no_restrictions.d     |   2 +
 .../sysreg/sysregs_with_no_restrictions.s     |   1 +
 .../sysreg/sysregs_with_restrictions.d        |   2 +
 .../sysreg/sysregs_with_restrictions.s        |   2 +
 include/opcode/aarch64.h                      |   8 +
 opcodes/aarch64-asm-2.c                       |   6 +
 opcodes/aarch64-dis-2.c                       |  14 +-
 opcodes/aarch64-dis.c                         |   3 +
 opcodes/aarch64-opc-2.c                       |   3 +
 opcodes/aarch64-opc.c                         |  47 ++++++
 opcodes/aarch64-sys-regs.def                  |  76 +++++++++
 opcodes/aarch64-tbl-2.h                       |   3 +
 opcodes/aarch64-tbl.h                         |  18 +-
 27 files changed, 750 insertions(+), 4 deletions(-)
 create mode 100644 gas/testsuite/gas/aarch64/gcie-bad.d
 create mode 100644 gas/testsuite/gas/aarch64/gcie-bad.l
 create mode 100644 gas/testsuite/gas/aarch64/gcie-illegal.d
 create mode 100644 gas/testsuite/gas/aarch64/gcie-illegal.l
 create mode 100644 gas/testsuite/gas/aarch64/gcie-illegal.s
 create mode 100644 gas/testsuite/gas/aarch64/gcie.d
 create mode 100644 gas/testsuite/gas/aarch64/gcie.s
 create mode 100644 gas/testsuite/gas/aarch64/sysreg/gcie-sysregs.d
 create mode 100644 gas/testsuite/gas/aarch64/sysreg/gcie-sysregs.s

-- 
2.34.1



More information about the Binutils mailing list