[PATCH v2] x86: Short circuit ACE outer product table pass

Jan Beulich jbeulich@suse.com
Thu Nov 26 07:28:26 GMT 2026


On 26.11.2026 07:59, Haochen Jiang wrote:
> Hi all,
> 
> When I wrote v1 patch, I forgot TOP1PD is using W1, so EVEX.W0 is
> not a shared attribute. In case there is more EVEX.W1 insts, and for
> FP we have %XS macro to do the check instead of table pass, so we will
> not check EVEX.W for new ACE_EVEX_PFX_TABLE.
> 
> This will result in if we want also short circuit INT version, we will
> need for four W table addition.
> 
> Changes in v2:
> 
>   - Rename to ACE_EVEX_PFX_TABLE.
>   - Do not check EVEX.W for USE_ACE_EVEX_PFX_TABLE, use macros for
>     EVEX.W check instead in case there will be more EVEX.W1 insts.
> 
> Test on x86-64. Ok for trunk?

Yes.

> Open: For INT version, we could also add a new macro, which can
> at least also used by INT VNNI, to eliminate W table pass. Should
> we do that under a new macro name like %DI/%DW?

Depends on the overall gains, I guess.

Jan


More information about the Binutils mailing list