[PATCH 23/23] aarch64: Add qualifier checks to aarch64-gen

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

  • Increased code complexity in `aarch64-gen.c` due to the addition of the qualifier checks.
  • Potential for increased build time, although this is likely negligible.

All attributes

project
binutils
subsystem
aarch64
patch_id
discussion_id
b4a27729-d5b3-7ea2-b25f-3dbfbc8ea407@e124511.cambridge.arm.com
source_type
public_inbox
title
[PATCH 23/23] aarch64: Add qualifier checks to aarch64-gen
headline
aarch64: Add qualifier checks to aarch64-gen
tldr
Adds checks to aarch64-gen.c to verify correct lengths of qualifier sequences.
proposer
Alice Carlotti <alice.carlotti@arm.com>
consensus
Proposed
outcome
proposed
sentiment_score
technical_tradeoffs
  • Increased code complexity in `aarch64-gen.c` due to the addition of the qualifier checks.
  • Potential for increased build time, although this is likely negligible.
series_id
binutils:aarch64: add qualifier checks to aarch64-gen
series_role
reply
series_parts
[]
tags
  • aarch64
  • assembler
  • disassembler
  • qualifiers
  • validation
bugzilla_url
date
2026-05-07T00:00:00.000Z

[PATCH 23/23] aarch64: Add qualifier checks to aarch64-gen

This patch adds checks to aarch64-gen.c to ensure that the qualifier sequences for AArch64 instructions have the correct length. These checks verify that each qualifier sequence corresponds to the number of operands in the instruction, preventing potential errors during assembly and disassembly. This improves the robustness of the AArch64 assembler and disassembler.