[LLVMbugs] [Bug 1103] NEW: %rsp permitted as an index register

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jan 10 09:47:04 PST 2007


           Summary: %rsp permitted as an index register
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: djg at cray.com

The x86 backend allows %rsp to be used as an index register in an address
operand. Some assemblers accept this and automatically rewrite it so that %rsp
is the base register to make it legal, but some don't, including GAS.

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list