This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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: soft-fp fixes


On Tue, Oct 08, 2002 at 11:14:29AM -0700, Aldy Hernandez wrote:
> The other is an iterative implementation of
> division, since gcc's longlong.h udiv_qrnnd(?) is broken.

Specifically, the C version of udiv_qrnnd that was used on PPC
produced incorrect results for the adjusted 2.0/0.7 fractions;
I could find the two numbers again if necessary.

But even if that were to be fixed, the bit-at-a-time routine
is going to be better for Alpha, since there's no integer 
division hardware, so we wind up calling a routine that does
the bit-at-a-time thing anyway.


r~


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