[PATCH v3] Support Intel AMX-TRANSPOSE

Jiang, Haochen haochen.jiang@intel.com
Mon Dec 30 02:01:58 GMT 2024


> From: Jan Beulich <jbeulich@suse.com>
> Sent: Friday, December 27, 2024 7:46 PM
> 
> > +      gas_assert ((i.operands == 2 || i.operands == 3)
> > +		  && i.types[1].bitfield.class == RegSIMD);
> >
> > -      switch (i.types[2].bitfield.class)
> > +      switch (i.types[i.operands - 1].bitfield.class)
> >  	{
> >  	case RegSIMD:
> > -	  /* AVX512-{4FMAPS,4VNNIW} operand 2: N must be a multiple of
> 4. */
> >  	  op = 1;
> > -	  extra = 3;
> > +	  if (i.types[i.operands - 1].bitfield.tmmword)
> 
> There wouldn't be anything wrong with using the cheaper i.types[1] here, or
> even simply "i.operands == 2", would it?
> 
 
I will simply use "i.operands == 2" here.

Thx,
Haochen


More information about the Binutils mailing list