[LLVMbugs] [Bug 3934] two-addr pass crashes on copy
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Apr 13 14:23:05 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=3934
Ed Schouten <ed at 80386.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #11 from Ed Schouten <ed at 80386.nl> 2009-04-13 16:23:05 ---
Crash still occurs when building the following code:
void bn_sqr_comba8(unsigned long *r, unsigned long *a)
{
unsigned long t1,t2;
unsigned long c1,c2,c3;
asm ("mulq %3" : "=a"(t1),"=d"(t2) : "a"((a)[1]),"m"((a)[0]) : "cc");
asm ("addq %0,%0; adcq %2,%1" : "+d"(t2),"+r"(c1) : "g"(0) : "cc");
asm ("addq %0,%0; adcq %2,%1" : "+a"(t1),"+d"(t2) : "g"(0) : "cc");
asm ("addq %2,%0; adcq %3,%1" : "+r"(c2),"+d"(t2) : "a"(t1),"g"(0) :
"cc");
asm ("addq %2,%0; adcq %3,%1" : "+r"(c3),"+r"(c1) : "d"(t2),"g"(0) :
"cc");
asm ("mulq %2" : "=a"(t1),"=d"(t2) : "a"(a[1]) : "cc");
asm ("addq %2,%0; adcq %3,%1" : "+r"(c3),"+d"(t2) : "a"(t1),"g"(0) :
"cc");
asm ("addq %2,%0; adcq %3,%1" : "+r"(c1),"+r"(c2) : "d"(t2),"g"(0) :
"cc");
asm ("mulq %3" : "=a"(t1),"=d"(t2) : "a"((a)[2]),"m"((a)[0]) : "cc");
asm ("addq %0,%0; adcq %2,%1" : "+d"(t2),"+r"(c2) : "g"(0) : "cc");
asm ("addq %0,%0; adcq %2,%1" : "+a"(t1),"+d"(t2) : "g"(0) : "cc");
}
--
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