1 --- glibc-2.5/sysdeps/sparc/sparc32/soft-fp/sfp-machine.h.orig 2006-01-14 12:09:02.000000000 +0000
2 +++ glibc-2.5/sysdeps/sparc/sparc32/soft-fp/sfp-machine.h 2006-12-30 20:17:12.000000000 +0000
5 #define __FP_FRAC_ADD_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \
7 - /* We need to fool gcc, as we need to pass more than 10 \
9 - register USItype _t1 __asm__ ("g1"), _t2 __asm__ ("g2"); \
10 __asm__ __volatile__ ("\
13 - addxcc %r4,%5,%%g2\n\
15 + addcc %r10,%11,%1\n\
19 : "=&r" ((USItype)(r1)), \
20 - "=&r" ((USItype)(r0)) \
21 + "=&r" ((USItype)(r0)), \
22 + "=&r" ((USItype)(r3)), \
23 + "=&r" ((USItype)(r2)) \
24 : "%rJ" ((USItype)(x3)), \
25 "rI" ((USItype)(y3)), \
26 "%rJ" ((USItype)(x2)), \
28 "rI" ((USItype)(y1)), \
29 "%rJ" ((USItype)(x0)), \
30 "rI" ((USItype)(y0)) \
31 - : "cc", "g1", "g2"); \
32 - __asm__ __volatile__ ("" : "=r" (_t1), "=r" (_t2)); \
33 - r3 = _t1; r2 = _t2; \
37 #define __FP_FRAC_SUB_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \
39 - /* We need to fool gcc, as we need to pass more than 10 \
41 - register USItype _t1 __asm__ ("g1"), _t2 __asm__ ("g2"); \
42 __asm__ __volatile__ ("\
45 - subxcc %r4,%5,%%g2\n\
47 + subcc %r10,%11,%1\n\
51 : "=&r" ((USItype)(r1)), \
52 - "=&r" ((USItype)(r0)) \
53 + "=&r" ((USItype)(r0)), \
54 + "=&r" ((USItype)(r3)), \
55 + "=&r" ((USItype)(r2)) \
56 : "%rJ" ((USItype)(x3)), \
57 "rI" ((USItype)(y3)), \
58 "%rJ" ((USItype)(x2)), \
60 "rI" ((USItype)(y1)), \
61 "%rJ" ((USItype)(x0)), \
62 "rI" ((USItype)(y0)) \
63 - : "cc", "g1", "g2"); \
64 - __asm__ __volatile__ ("" : "=r" (_t1), "=r" (_t2)); \
65 - r3 = _t1; r2 = _t2; \
69 #define __FP_FRAC_DEC_3(x2,x1,x0,y2,y1,y0) __FP_FRAC_SUB_3(x2,x1,x0,x2,x1,x0,y2,y1,y0)