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


Ed Schouten <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #11 from Ed Schouten <[email protected]>  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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to