Landing: 65f79f1be929

Project / Subsystem

binutils / x86/apx

Date

2026-08-28

Author

Jan Beulich <jbeulich@sourceware.org>

Commit

65f79f1be929e28cbfefb5517c414b7d62f1dbb1

Source

public_inbox

Perf win

Yes

Breaking

No

All attributes

project
binutils
subsystem
x86/apx
patch_id
—
commit_hash
65f79f1be929e28cbfefb5517c414b7d62f1dbb1
source_type
public_inbox
headline
x86/APX: Integrate EVEX.R4/X4 handling into build_evex_prefix
tldr
Simplifies EVEX prefix generation by handling REX.R and REX.X bits directly, avoiding redundant calls.
author
Jan Beulich <jbeulich@sourceware.org>
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • x86
  • • assembler
  • • optimization
discussion_id_link
—
bugzilla_pr
—
date
2026-08-28T00:00:00.000Z

This change integrates the handling of EVEX.R4 and EVEX.X4 bits directly into the build_evex_prefix() function. Previously, these might have been deferred to a more complex function, leading to unnecessary bit setting and clearing. By handling them directly, the code becomes more efficient and simpler, reducing the overhead associated with prefix generation.