[PATCH 10/10] Support Intel PREFETCHI

Cui, Lili lili.cui@intel.com
Mon Oct 31 13:23:09 GMT 2022


> > -  /* Update operand types and check extended states.  */
> > +  /* 1. Check IP-relative addressing for prefetchi.
> > +     2. Update operand types and check extended states.  */
> >    for (j = 0; j < i.operands; j++)
> >      {
> > +      /* Check if IP-relative addressing requirements can be satisfied.  */
> > +      if (i.tm.cpu_flags.bitfield.cpuprefetchi
> > +         && !(i.base_reg && i.base_reg->reg_num == RegIP))
> > +       as_warn (_("only support RIP-relative address"), i.tm.name);
> 
> Please move this check before the loop.   OK with this change.
> 
Done, I checked in this patch.

Thanks,
Lili.






More information about the Binutils mailing list