Landing: a6bc3a9813eb

Project / Subsystem

binutils / x86/apx

Date

2026-08-28

Author

Jan Beulich <jbeulich@sourceware.org>

Commit

a6bc3a9813eb308d60e2549f3634cdc8cc5cdc80

Source

public_inbox

Perf win

Yes

Breaking

No

All attributes

project
binutils
subsystem
x86/apx
patch_id
—
commit_hash
a6bc3a9813eb308d60e2549f3634cdc8cc5cdc80
source_type
public_inbox
headline
x86/APX: Integrate EVEX.V4 handling into build_evex_prefix
tldr
Simplifies EVEX prefix generation by handling EVEX.V4 (register specifier) 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 commit integrates the handling of the EVEX.V4 bit, which relates to the register specifier, directly into the build_evex_prefix() function. Previously, this might have been handled by a more expensive build_apx_evex_prefix() call. By performing this directly, the code becomes simpler and potentially more efficient, as it avoids unnecessary steps in generating the EVEX prefix.