binutils Newspaper
JUNE 15, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
aarch64

AArch64: Append explicit NILs to qualifier sequences

The AArch64 assembler now explicitly marks the end of qualifier sequences with NIL, avoiding reliance on the value of AARCH64_OPND_QLF_NIL.

This change appends explicit NIL qualifiers to the end of qualifier sequences for some AArch64 opcodes. Previously, the NIL qualifier was implicitly set via empty initialization, but this change makes the assignment explicit to avoid depending on the numerical value of AARCH64_OPND_QLF_NIL.

In Details

The AArch64 opcode table (opcodes/aarch64-tbl.h) uses qualifier sequences to define operand types. This commit changes several macros (e.g. QL_V2SAME_NIL) to include explicit NIL qualifiers at the end of the sequence. This avoids relying on the numerical value of AARCH64_OPND_QLF_NIL.

For Context

When assembling AArch64 instructions, the assembler needs to know the expected types of the operands. This information is stored in the opcode table, which contains qualifier sequences that specify the allowed types for each operand. This commit explicitly marks the end of these sequences with a "nil" qualifier, which indicates that no more operands are expected. This change makes the assembler more robust by avoiding reliance on the specific numerical value of the "nil" qualifier.

Filed Under: aarch64assembleropcode table