Landing: a4a30ef6a90a

Project / Subsystem

binutils / x86

Date

2026-08-14

Author

Jan Beulich <jbeulich@sourceware.org>

Commit

a4a30ef6a90ab196662edd7dac178179ad8cef0b

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
x86
patch_id
—
commit_hash
a4a30ef6a90ab196662edd7dac178179ad8cef0b
source_type
public_inbox
headline
x86: Introduce helper for operand types access in templates
tldr
Prepares x86 assembler for moving operand types out of instruction templates.
author
Jan Beulich <jbeulich@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • x86
  • • assembler
  • • refactoring
discussion_id_link
—
bugzilla_pr
—
date
2026-08-14T00:00:00.000Z

This commit introduces a helper function and variables to abstract direct access to the operand_types array within insn_template structures. This change is a preparatory step for a subsequent commit that will remove operand_types from being directly embedded in templates. It ensures that code using these operand types can be easily updated to use the new, indirect access method without significant churn.