Landing: c57adeb4f944
Project / Subsystem
binutils / x86
Date
2026-08-14
Author
Jan Beulich <jbeulich@sourceware.org>
Commit
c57adeb4f94439d309949a06c59f847fcca3c177
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- x86
- patch_id
- —
- commit_hash
- c57adeb4f94439d309949a06c59f847fcca3c177
- source_type
- public_inbox
- headline
- x86: Copy operand types from templates to global instruction data
- tldr
- Copies instruction operand types from templates into a global structure for future processing.
- 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 modifies the x86 assembler to copy the operand_types from an instruction’s template into a global _i386_insn structure. This is a preparatory step for a subsequent change that will remove operand_types from being directly embedded in templates. By copying them into i.tm_types, the assembler ensures that subsequent operations, like building VEX and EVEX prefixes, can access the correct operand information even after the original template is modified or no longer directly referenced.