[LLVMbugs] [Bug 7691] wrong encoding of movq %rax, 0

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Sep 7 21:58:43 PDT 2010


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

Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Chris Lattner <clattner at apple.com> 2010-09-07 23:58:43 CDT ---
This got fixed along the way:

$ gcc t.s -c
$ otool -tv t.o 
t.o:
(__TEXT,__text) section
0000000000000000    movq    %rax,0x00000000
$ otool -t t.o
t.o:
(__TEXT,__text) section
0000000000000000 48 89 04 25 00 00 00 00 
$ llvm-mc t.s 
    .section    __TEXT,__text,regular,pure_instructions
    movq    %rax, 0
[Nehalem:~/llvm] sabre% llvm-mc t.s -show-encoding
    .section    __TEXT,__text,regular,pure_instructions
    movq    %rax, 0                 ## encoding:
[0x48,0x89,0x04,0x25,0x00,0x00,0x00,0x00]

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