[LLVMbugs] [Bug 12115] New: [x86 disassembler] enhanced predicates for AVX comparisons not recognized

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Feb 28 10:56:36 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=12115

             Bug #: 12115
           Summary: [x86 disassembler] enhanced predicates for AVX
                    comparisons not recognized
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: kkhoo at perfwizard.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Using r151267 built on OSX:

$ echo '0xc5 0x33 0xc2 0xc7 0x08' | ./llvm-mc -disassemble -triple=x86_64
<stdin>:1:1: warning: invalid instruction encoding
0xc5 0x33 0xc2 0xc7 0x08
^
$ echo '0xc5 0x33 0xc2 0xc7 0x1f' | ./llvm-mc -disassemble -triple=x86_64
<stdin>:1:1: warning: invalid instruction encoding
0xc5 0x33 0xc2 0xc7 0x1f

Those should be something like this:
VCMPEQ_UQSD XMM8, XMM9, XMM7
VCMPTRUE_USSD XMM8, XMM9, XMM7

Intel added 24 new comparison predicates with AVX. These are described in the
Software Developer manual Volume 2A with the definitions for CMP{PD/PS/SD/SS}.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list