This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Implement __abs?f2 functions in soft-fp
- From: Roger Sayle <roger at eyesopen dot com>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: Roland McGrath <roland at redhat dot com>, <libc-alpha at sources dot redhat dot com>
- Date: Sat, 2 Nov 2002 20:59:26 -0700 (MST)
- Subject: Re: [PATCH] Implement __abs?f2 functions in soft-fp
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
--