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]

PATCH: Add noavx


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.

Attachment: avx.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]