[PATCH] Implement __abs?f2 functions in soft-fp
Roger Sayle
roger@eyesopen.com
Sat Nov 2 20:14:00 GMT 2002
Hi Richard,
> > These generic routines are not part of libgcc, and on most platforms
> > aren't part of glibc by default. From my searches of the internet,
> > it looks like the main library that implements these routines
> > appears to be the "soft-fp" directory of glibc.
>
> While glibc does have an implemetation of these routines,
> the "main library" *is* libgcc.
Perhaps I've missed it but I couldn't find any generic implementation
of the routines I was looking for (__gtsf2 and __negsf2) in libgcc.
I was investigating the failure of gcc.c-torture/execute/20020720-1.c
on h8300-hms-elf and discovered that GCC was generating an inefficient
sequence of calls to library functions, whose implementations I was
unable to find.
Of course, there's no reason why libgcc couldn't be the "main library"
without actually implementing/supporting these functions. I'm just
very confused about where to request another API entry point in a
library that has no "main" implemention.
Roger
--
More information about the Libc-alpha
mailing list