This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATH] AMD MWAITX enablement


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]