This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] add softfp to sparc-*-linux*


On Wed, 15 Apr 2009, Austin Foxley wrote:
> +#define __FP_FRAC_ADD_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0)		\
> +  do {									\
> +    /* We need to fool gcc,  as we need to pass more than 10		\
> +       input/outputs.  */						\
> +    register USItype _t1 __asm__ ("g1"), _t2 __asm__ ("g2");		\
> +    __asm__ __volatile__ ("\
...

No you don't need (and shouldn't try), you can use symbolic names.
See the second example in the Extended Asm chapter.

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]