[LLVMbugs] [Bug 22655] New: BasePtr should be X86::EBX for Target64BitILP32

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Feb 21 06:12:17 PST 2015


            Bug ID: 22655
           Summary: BasePtr should be X86::EBX for Target64BitILP32
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: hjl.tools at gmail.com
                CC: llvmbugs at cs.uiuc.edu, michael.m.kuperstein at intel.com
    Classification: Unclassified

X86RegisterInfo::X86RegisterInfo has

  // Use a callee-saved register as the base pointer.  These registers must
  // not conflict with any ABI requirements.  For example, in 32-bit mode PIC
  // requires GOT in the EBX register before function calls via PLT GOT
  BasePtr = Is64Bit ? X86::RBX : X86::ESI;

For Target64BitILP32, it should be X86::EBX.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150221/ec050441/attachment.html>

More information about the llvm-bugs mailing list