[PATCH 20/23] aarch64: Add new qualifier ARCH64_OPND_QLF_UNKNOWN

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

  • Introduces a new qualifier type, increasing the complexity of the qualifier enum.
  • May require updates to existing code that relies on the previous behavior of `AARCH64_OPND_QLF_NIL`.
  • Adds an extra check during development by setting the default qualifier to `AARCH64_OPND_QLF_ERR`.

All attributes

project
binutils
subsystem
aarch64
patch_id
discussion_id
c01d3d39-9184-9d50-77cf-5d3310eab11d@e124511.cambridge.arm.com
source_type
public_inbox
title
[PATCH 20/23] aarch64: Add new qualifier ARCH64_OPND_QLF_UNKNOWN
headline
Aarch64: Add new qualifier ARCH64_OPND_QLF_UNKNOWN
tldr
Introduce AARCH64_OPND_QLF_UNKNOWN to represent unknown operand qualifiers, improving code consistency.
proposer
Alice Carlotti <alice.carlotti@arm.com>
consensus
Proposed
outcome
proposed
sentiment_score
technical_tradeoffs
  • Introduces a new qualifier type, increasing the complexity of the qualifier enum.
  • May require updates to existing code that relies on the previous behavior of `AARCH64_OPND_QLF_NIL`.
  • Adds an extra check during development by setting the default qualifier to `AARCH64_OPND_QLF_ERR`.
series_id
binutils:aarch64: add new qualifier arch64_opnd_qlf_unknown
series_role
reply
series_parts
[]
tags
  • aarch64
  • assembler
  • qualifier
  • SVE
  • consistency
bugzilla_url
date
2026-05-07T00:00:00.000Z

[PATCH 20/23] aarch64: Add new qualifier ARCH64_OPND_QLF_UNKNOWN

This patch introduces a new qualifier, AARCH64_OPND_QLF_UNKNOWN, to represent cases where the operand qualifier is unknown. It replaces some uses of AARCH64_OPND_QLF_NIL and aims to improve code consistency, especially concerning the F_STRICT flag for SVE instructions. For development, the default qualifier value during parsing is changed to AARCH64_OPND_QLF_ERR to catch errors early and ensure explicit qualifier assignments, which could prevent unexpected behavior with future changes.