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

saurabh.jha@arm.com saurabh.jha@arm.com
Tue Sep 2 05:55:33 GMT 2025


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

Hey,

This patch series adds support for Generic Interrupt Controller (GICv5)
extension. It is implemented using the BET2 spec here:
https://developer.arm.com/documentation/aes0070/latest/. If needed,
we'll revise this for the EAC release but we aren't expecting any
changes in assembly and disassembly.

Regression tested on aarch64-unknown-linux-gnu and found no regrssions.
Ok for master?

Thanks,
Saurabh

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

Saurabh Jha (2):
  gas: aarch64: Add flag for Generic Interrupt Controller v5
  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          | 165 +++++++++++++
 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              | 172 ++++++++++++++
 gas/testsuite/gas/aarch64/gcie.s              | 221 ++++++++++++++++++
 .../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, 1074 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