[LLVMbugs] [Bug 1482] NEW: Compiling generated .c file (by llc) on Linux X86 fails
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed May 30 14:42:49 PDT 2007
http://llvm.org/bugs/show_bug.cgi?id=1482
Summary: Compiling generated .c file (by llc) on Linux X86 fails
Product: new-bugs
Version: unspecified
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: bram.adams at ugent.be
On Linux X86, I get this while compiling a generated .c file (by llc):
error: unknown register name 'S' in 'asm'
This is the offending line in the attached .c file (notice the "S" on the last line):
__asm__ volatile ("\tpushal\t\t\t\t\n\tmovl %0,%%esi\t\t\n\tmovl %1,%%edi\t\t\n\tcall *%2\t\t\t\n
\tmovl %%esi,%0\t\t\n\tmo\
vl %%edi,%1\t\t\n\tpopal\t\t\t\t\n"
:"=m"(memProgramStack_2E_5872),"=m"(memOpStack_2E_5873)
:"m"(memEntryPoint_2E_5874),"m"(memProgramStack_2E_5872),"m"(memOpStack_2E_5873)
:"D","S");
Apparently, leaving out "S" helps (compiling the .c file works), but what does it do and why is it here?
------- 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