Help with gmp-4.0.1 and gcc-3.3.1 on sparcv9?
Bradley Lucier
lucier@math.purdue.edu
Thu Oct 2 00:28:00 GMT 2003
On Wednesday, October 1, 2003, at 03:23 PM, Jakub Jelinek wrote:
> Looks to be gmp bug:
> __asm__ ("subcc %4,%5,%1\n"
> " subccc %6,%7,%%g0\n"
> " subc %2,%3,%0"
> : "=r" (_xh), "=&r" (_r)
> : "%rJ" ((r)), "rI" (_xh), "%rJ" ((n0)), "rI" (_xl), "rJ" (((n0)) >>
> 32), "rJ" ((_xl) >> 32)
> : "cc");
> Obviously, the %2 is not commutative with %3 and neither is %4 with %5.
> Just s/"%r/"r/g should fix it.
I don't understand syntax for assembler statements; but replacing %r by
r in the second last line didn't fix it. (This is from the macro for
sub_ddmmss in longlong.h.)
Brad
More information about the Gcc
mailing list