[PATCH v2] x86: Short circuit ACE outer product table pass
Jiang, Haochen
haochen.jiang@intel.com
Thu Nov 26 07:35:46 GMT 2026
> From: Jan Beulich <jbeulich@suse.com>
> Sent: Thursday, November 26, 2026 3:28 PM
>
> 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.
When I rebased to ACE_OP_FP patches, I found that TOP1PS/PD could
not use this due to rounding. EVEX.LL will be redirected when rounding
kicks in. Thus, evex.ll will not always be 2.
This leaves us room to bring W0 back, or keep it out to be safe.
If we bring W0 back, I will send out a v3 patch with renaming only.
If we keep it out, I will check in v2 patch next Monday. And ...
> >
> > 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.
>
... I will have a look on this.
Thx,
Haochen
More information about the Binutils
mailing list