[Bug binutils/14355] New: crash in OP_VEX
H.J. Lu
hjl.tools@gmail.com
Tue Jul 17 16:38:00 GMT 2012
On Tue, Jul 17, 2012 at 7:48 AM, nick clifton <nickc@redhat.com> wrote:
> Hi H.J.
>
> Would you mind taking a look at this x86 bug report:
>
>> http://sourceware.org/bugzilla/show_bug.cgi?id=14355
>
>
> A simplistic fix appears to be this:
>
> Index: opcodes/i386-dis.c
> ===================================================================
> RCS file: /cvs/src/src/opcodes/i386-dis.c,v
> retrieving revision 1.269
> diff -u -3 -p -r1.269 i386-dis.c
> --- opcodes/i386-dis.c 16 Jul 2012 12:58:29 -0000 1.269
> +++ opcodes/i386-dis.c 17 Jul 2012 15:52:06 -0000
> @@ -14661,6 +14661,7 @@ OP_VEX (int bytemode, int sizeflag ATTRI
> case vex256_mode:
> names = names_ymm;
> break;
> + case vex128_mode:
> case vex_vsib_q_w_dq_mode:
> names = vex.w ? names_ymm : names_xmm;
> break;
>
> But I am not sure if that is the correct thing to do.
>
This is the wrong fix. The bug is in XOP implementation.
Someone from AMD should take a look.
--
H.J.
More information about the Binutils
mailing list