binutils Newspaper
NOVEMBER 30, 2026
aarch64 — Proposed

aarch64: Fix GICR encoding

Patch corrects a bit in the aarch64 GICR instruction encoding, distinguishing it from SYS aliases.

This patch corrects bit 21 in the encoding for the aarch64 GICR instruction. The incorrect bit caused it to be treated as a SYS alias when it should be a SYSL alias (where L=1). This fix ensures the instruction is correctly identified and disassembled.

In Details

This patch addresses an encoding error for a specific aarch64 instruction, gicr, within the binutils disassembler. The instruction's binary representation was incorrectly interpreted due to a single bit error (bit 21). This bit differentiates between SYS and SYSL instruction aliases. By correcting this bit, the gicr instruction is now properly classified as a SYSL alias, ensuring accurate disassembly. The patch also updates the test case (gcie.d) to reflect the corrected encoding.

For Context
GICR
Generic Interrupt Controller Register access instruction in ARM architecture.
encoding
The binary representation of an instruction.
alias
In this context, an instruction that is a variation or shorthand for another, often differing in a few bits that control its specific behavior or target.
SYS/SYSL
Instructions in the ARM architecture that interact with system registers or perform system-level operations. The 'L' suffix typically indicates 'long' or a specific operand variant.
aarch64
The 64-bit ARM architecture instruction set.
Filed Under: binutilsaarch64disassembleropcodeinterrupts