[PATCH,spu]: generate inline code for int-to-double conversion
Sa Liu
SALIU@de.ibm.com
Wed Sep 19 10:45:00 GMT 2007
Ping?
"Andrew Pinski" <pinskia@gmail.com> wrote on 13.09.2007 12:55:19:
> On 9/13/07, Sa Liu <SALIU@de.ibm.com> wrote:
> > The current spu-gcc compiler always calls libgcc functions
float_unssidf
> > and float_unsdidf when converting integer to double. This reduces code
> > size, but costs performance.
> >
> > This patch is about to generates inline code for the conversion by
> > default, and switchs on the libcall only if -Os is given.
> > + rtx c0 = spu_const_from_ints(V16QImode, 0x02031011, 0x12138080,
> > + 0x06071415, 0x16178080);
> > + rtx r0 = gen_reg_rtx(V16QImode);
>
> You need a space between the function name and the left parentheses.
> I have not looked into the rest of the patch (yet).
>
> Thanks,
> Andrew Pinski
More information about the Gcc-patches
mailing list