This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: x86-64 XFmode long doubles
Jan Hubicka <hubicka@ucw.cz> writes:
> Hi,
> the attached patch regoranize long doubles to use XFmodes and adds
> TFmode support as disucssed earlier.
Looks good...
> There is no symbol renaming. I found that only symbols exported by
> libgcc2.c are floattitf/fixtfti/fixunistfti.
Yes, those are the functions I had to redirect (on ia64, also
__divtf3, but presumably x86-64 has extended floating divide in
hardware).
> Since TImode arithmetics is available only for ADA size types that
> are never converted to float, we never emit these calls (I verified
> it by grepping binaries in SuSE installation), so perhaps we don't
> need renaminig at all?
I would be delighted to remove the __compat stubs from
ia64/lib1funcs.asm if it is agreed that they are not necessary.
However, on IA64, I can get a call to __floattixf (which would
formerly have been __floattitf) generated with a synthetic test case:
__float80 x(int n __attribute__ ((mode(TI)))) { return n; }
so I'm not totally confident that the compatibility stubs are
unnecessary.
zw