binutils Newspaper
JUNE 15, 2026
aarch64 Proposed

Aarch64: Replace inst.base.operands[i]. with info->

Shortens code in `parse_operands` by using `info->` instead of `inst.base.operands[i].` where possible, as `info` is a pointer to the latter.

This patch refactors the parse_operands function in the AArch64 assembler to use the info-> pointer, which points to inst.base.operands[i], instead of the longer form inst.base.operands[i]. directly. This change simplifies the code and improves readability, without altering functionality.

In Details

This patch simplifies code in gas/config/tc-aarch64.c::parse_operands by using a pointer alias info instead of the full struct member access inst.base.operands[i]. No functional change.

For Context

binutils is a collection of binary tools such as the assembler, linker, etc. This patch modifies the assembler (gas) for the AArch64 architecture. The assembler translates human-readable assembly code into machine code that a computer can execute. This patch makes local code more readable.

Filed Under: aarch64assemblerrefactoringreadability