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] |
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.
Attachment:
mwaitx_v4.patch
Description: mwaitx_v4.patch
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |