[PATH] AMD MWAITX enablement

H.J. Lu hjl.tools@gmail.com
Fri Jun 26 10:04:00 GMT 2015


On Thu, Jun 25, 2015 at 10:46 PM, Pawar, Amit <Amit.Pawar@amd.com> wrote:
> PFA MWAITX fixed patch. OK to apply?
>

Please change the operand check to

if (i.tm.cpu_flags.bitfield.cpumwaitx)
{
  if ( i.operands != 3)
abort

for (i = 0, i< 2; i++)
...

if (register_number (i.op[2].regs) != 2 + (opcode ==mwaitx )
...
}

-- 
H.J.



More information about the Binutils mailing list