[LLVMbugs] [Bug 10625] New: [AVX] llvm-objdump incorrectly prints vmovmskps as movmskps

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Aug 9 16:00:39 PDT 2011


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

           Summary: [AVX] llvm-objdump incorrectly prints vmovmskps as
                    movmskps
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: matt at pharr.org
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=7042)
 --> (http://llvm.org/bugs/attachment.cgi?id=7042)
bitcode file

Given the attached object file (which corresponds to the attached LLVM assembly
file run through llc -mattr=+avx x.ll -filetype=obj -o x.o), when the object
file is run through llvm-objdump, the following output is printed:

 % llvm-objdump x.o -disassemble

x.o:    file format Mach-O 64-bit x86-64

Disassembly of section __TEXT,__text:
_foo:
       0:    c5 fc 50 c0                                      movmskps   
%xmm0, %eax
       4:    c3                                               ret
%

I believe that should be a 'vmovmskps', with %ymm0, not %xmm0.  (Note that as
far as I can tell, the object file generated by llc has the proper encoding for
a vmovmskps instruction, so the issue doesn't seem to be that it's being
mis-encoded.)

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