Landing: 0ff3761daecc

Project / Subsystem

binutils / binutils/gas

Date

2026-07-24

Author

Jan Beulich <jbeulich@sourceware.org>

Commit

0ff3761daecc09c79784674ff78ebb51844390e0

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
binutils/gas
patch_id
commit_hash
0ff3761daecc09c79784674ff78ebb51844390e0
source_type
public_inbox
headline
x86: Simplify register operand property checks
tldr
Simplifies how the x86 assembler checks register operand properties, using direct type information.
author
Jan Beulich <jbeulich@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • x86
  • assembly
  • refactor
  • performance
discussion_id_link
bugzilla_pr
date
2026-07-24T00:00:00.000Z

The x86 assembler now simplifies checking register operand properties by directly using the information in i.types[] instead of dereferencing i.op[].regs->reg_type. This change reduces indirection and makes the code slightly more efficient and readable during operand parsing.