PATCH: Add noavx

H.J. Lu hjl.tools@gmail.com
Wed Apr 23 07:01:00 GMT 2008


Hi,

Not all SSE, SSE2, SSE3 and SSSE3 instructions have AVX equivalent.
-msse-check=[error|warning] will generate false positive on them. I
am checking in this patch to fix it.


H.J.
---
gas/


2008-04-22  H.J. Lu  <hongjiu.lu@intel.com>

        * config/tc-i386.c (md_assemble): Don't check SSE instructions
        if noavx is 0.

opcodes/

2008-04-22  H.J. Lu  <hongjiu.lu@intel.com>

        * i386-gen.c (opcode_modifiers): Add NoAVX.

        * i386-opc.h (NoAVX): New.
        (OldGcc): Updated.
        (i386_opcode_modifier): Add noavx.

        * i386-opc.tbl: Add NoAVX to SSE, SSE2, SSE3 and SSSE3
        instructions which don't have AVX equivalent.
        * i386-tbl.h: Regenerated.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: avx.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20080423/c9ef4d3a/attachment.txt>


More information about the Binutils mailing list