Landing: 4fec2e2e720e

Project / Subsystem

binutils / opcodes/aarch64

Date

2026-07-10

Author

Alice Carlotti <acarlotti@sourceware.org>

Commit

4fec2e2e720e3b377a086797ac577b7744d307fe

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
opcodes/aarch64
patch_id
commit_hash
4fec2e2e720e3b377a086797ac577b7744d307fe
source_type
public_inbox
headline
aarch64: Simplify operand field specification
tldr
Replaces enum-based field kind tracking with direct struct usage for clearer AArch64 opcode definitions.
author
Alice Carlotti <acarlotti@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • aarch64
  • opcodes
  • disassembler
  • structure
discussion_id_link
bugzilla_pr
date
2026-07-10T00:00:00.000Z

This commit removes the indirection of aarch64_field_kind by directly using aarch64_field structs for AArch64 instruction operands. It introduces macro defines to map old enum names to the new struct values, facilitating a smoother transition. This change simplifies code readability by eliminating the need to cross-reference separate tables to determine opcode bit usage, addressing a long-standing issue with architecture complexity.