Re: [PATCH] Sparc longlong.h enhancements.

2012-05-31 Thread David Miller
From: Eric Botcazou Date: Thu, 31 May 2012 15:06:41 +0200 >> + do { >> \ >> +UDItype __carry = 0;\ >> +__asm__ ("addcc\t%r5,%6,%1\n\t" \ >> +

Re: [PATCH] Sparc longlong.h enhancements.

2012-05-31 Thread Eric Botcazou
> Eric, while looking at soft-fp code generated in glibc I noticed that > for v9 on 32-bit we end up doing software multiplies and divides :-/ > > I also noticed that the two-limb addition and subtraction could be > done using a branchless sequence on 64-bit. > > Any objections? None on principle,

[PATCH] Sparc longlong.h enhancements.

2012-05-30 Thread David Miller
Eric, while looking at soft-fp code generated in glibc I noticed that for v9 on 32-bit we end up doing software multiplies and divides :-/ I also noticed that the two-limb addition and subtraction could be done using a branchless sequence on 64-bit. Any objections? libgcc/ * longlong.h