binutils Newspaper
NOVEMBER 30, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
binutils/x86 Performance Win

Short circuit x86 ACE outer product table pass.

Optimizes x86 instruction decoding by short-circuiting the ACE outer product table pass.

This change optimizes the x86 instruction decoder by introducing a new flag, USE_ACE_EVEX_PFX_TABLE, to short-circuit the ACE outer product table pass. This is similar to existing optimizations for EVEX tables and improves performance by reducing redundant processing for instructions sharing common attributes like 64-bit, EVEX512, and modrm.mod == 3.

In Details

The i386-dis.c code has been refactored to introduce USE_ACE_EVEX_PFX_TABLE. This macro allows the disassembler to bypass certain table lookups for specific x86 instructions (ACE outer products) that share uniform attributes (64-bit, EVEX512, modrm.mod == 3). This optimization mirrors the existing USE_X86_64_EVEX_*_TABLE mechanism and reduces the overall instruction decoding overhead by eliminating redundant checks and table traversals.

For Context
ACE outer product
Refers to a set of x86 instructions that perform outer product operations, likely related to Advanced Character Encryption (ACE) or similar advanced vector extensions.
EVEX512
Refers to the EVEX (Enhanced Variable-width Extensions) encoding format, which supports 512-bit vector registers. This is a key component of modern x86 instruction set extensions like AVX-512.
modrm.mod == 3
Within the x86 instruction encoding, the ModR/M byte specifies addressing modes. A 'mod' field value of 3 indicates that the operand is a register, not a memory address.
Disassembler
A program that translates machine code (binary instructions) back into human-readable assembly language.
Filed Under: binutilsx86disassembleroptimization