PATCH: Add noavx

H.J. Lu
Wed Apr 23 07:01:00 GMT 2008


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.


2008-04-22  H.J. Lu  <>

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


2008-04-22  H.J. Lu  <>

        * 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: <>

More information about the Binutils mailing list