[LLVMbugs] [Bug 1773] llc generates movl access to %rsi instead of movq

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Nov 4 18:09:40 PST 2007


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


Evan Cheng <evan.cheng at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |evan.cheng at apple.com
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #2 from Evan Cheng <evan.cheng at apple.com>  2007-11-04 20:09:40 ---
I think this is pilot error. Here is the reduced test case:

void f() {
  void *ret__;
  asm volatile("mov" "l %%gs:0,%0": "=r" (ret__));
}

x86-64 pointer type is i64 so a 64-bit register is assigned.


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