[PATCH 2/5] aarch64: Write AARCH64_FIELD calls to aarch64-opc-2.c

Project / Subsystem

binutils / aarch64

Date

2026-05-20

Proposer

Alice Carlotti <alice.carlotti@arm.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

/10

All attributes

project
binutils
subsystem
aarch64
patch_id
discussion_id
e346e4a5-fb4c-a76a-fd00-9a5eefd177f4@e124511.cambridge.arm.com
source_type
public_inbox
title
[PATCH 2/5] aarch64: Write AARCH64_FIELD calls to aarch64-opc-2.c
headline
aarch64: Write AARCH64_FIELD calls to aarch64-opc-2.c
tldr
This patch writes AARCH64_FIELD calls to aarch64-opc-2.c by parsing the operand field lists in aarch64-gen.c.
proposer
Alice Carlotti <alice.carlotti@arm.com>
consensus
Proposed
outcome
proposed
sentiment_score
technical_tradeoffs
[]
series_id
binutils:aarch64: write aarch64_field calls to aarch64-opc-2.c
series_role
reply
series_parts
[]
tags
  • aarch64
  • assembler
  • binutils
  • opcodes
  • instruction encoding
bugzilla_url
date
2026-05-20T00:00:00.000Z

[PATCH 2/5] aarch64: Write AARCH64_FIELD calls to aarch64-opc-2.c

This patch parses the operand field lists in aarch64-gen.c, and rewrites the content to aarch64-opc-2.c using AARCH64_FIELD calls. This allows aarch64-tbl.h to use shorthand macros without exporting them elsewhere. This is part of a series to improve the clarity and maintainability of the aarch64 opcode definitions.