[PATH] AMD MWAITX enablement
Pawar, Amit
Amit.Pawar@amd.com
Fri Jun 26 11:09:00 GMT 2015
Operand check is required at that line as instructions MONITORX/MWAITX are accepted without operands also.
-----Original Message-----
From: H.J. Lu [mailto:hjl.tools@gmail.com]
Sent: Friday, June 26, 2015 3:34 PM
To: Pawar, Amit
Cc: binutils@sourceware.org; Jan Beulich
Subject: 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mwaitx_v4.patch
Type: application/octet-stream
Size: 25105 bytes
Desc: mwaitx_v4.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20150626/90243959/attachment.obj>
More information about the Binutils
mailing list