[PATCH] x86: remove stray instruction attributes

H.J. Lu hjl.tools@gmail.com
Thu Jun 30 11:28:00 GMT 2016


On Thu, Jun 30, 2016 at 3:23 AM, Jan Beulich <JBeulich@suse.com> wrote:
> - with Cpu64 Disp16 makes no sense for memory operands
> - with CpuNo64 Disp32S makes no sense
> - non-64-bit lgdt doesn't allow 10-byte operands
>
> opcodes/
> 2016-06-30  Jan Beulich  <jbeulich@suse.com>
>
>         * i386-opc.tbl (jmp): Remove Disp32S from non-64-bit variant.
>         (lgdt): Remove Tbyte from non-64-bit variant.
>         (fxsave64, fxrstor64, xsave64, xrstor64, xsaveopt64, xrstors64,
>         xsaves64, xsavec64): Remove Disp16.
>         (cvtsi2ss, cvtsi2sd, invept, invvpid, invpcid, vcvtsi2sd):
>         Remove Disp32S from non-64-bit variants. Remove Disp16 from
>         64-bit variants.
>         (vcvtsi2ss, vcvtsd2si, vcvtsd2usi, vcvtsi2sd, vcvtusi2sd,
>         vcvtusi2ss, vcvtss2si, vcvtss2usi, vcvttsd2si, vcvttsd2usi,
>         vcvttss2si, vcvttss2usi, vmovd, vmovq): Remove Disp16 from
>         64-bit variants.
>         * i386-tbl.h: Re-generate.
>

It is OK.

Thanks.

H.J.



More information about the Binutils mailing list