[PATCH 17/23] aarch64: Add explicit all-nil qualifers to opcode table

Project / Subsystem

binutils / aarch64

Date

2026-05-07

Proposer

Alice Carlotti <alice.carlotti@arm.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

/10

Technical tradeoffs

  • Increases the size of the opcode table.
  • Improves code clarity and maintainability by avoiding implicit assumptions about the value of `AARCH64_OPND_QLF_NIL`.

All attributes

project
binutils
subsystem
aarch64
patch_id
discussion_id
9fcc68b2-d261-6eaa-3631-9cf1b5cca568@e124511.cambridge.arm.com
source_type
public_inbox
title
[PATCH 17/23] aarch64: Add explicit all-nil qualifers to opcode table
headline
Aarch64: Add explicit all-nil qualifers to opcode table
tldr
Make the `NIL` qualifier value explicit in qualifier sequences to avoid relying on its implicit zero value.
proposer
Alice Carlotti <alice.carlotti@arm.com>
consensus
Proposed
outcome
proposed
sentiment_score
technical_tradeoffs
  • Increases the size of the opcode table.
  • Improves code clarity and maintainability by avoiding implicit assumptions about the value of `AARCH64_OPND_QLF_NIL`.
series_id
binutils:aarch64: add explicit all-nil qualifers to opcode table
series_role
reply
series_parts
[]
tags
  • aarch64
  • assembler
  • opcode table
  • qualifier
  • NIL
bugzilla_url
date
2026-05-07T00:00:00.000Z

[PATCH 17/23] aarch64: Add explicit all-nil qualifers to opcode table

This patch updates the opcode table to explicitly define all-NIL qualifier sequences. The AARCH64_OPND_QLF_NIL qualifier will soon have a nonzero enum value. This change ensures that qualifier sequences that are intended to be all-NIL are explicitly defined as such, rather than relying on the implicit zero value of uninitialized memory. This prevents unexpected behavior when AARCH64_OPND_QLF_NIL changes.