You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with our method of converting 64 bit int to 64 bit FP, using FP div and
truncation the result, we can only safely divide 64 bit ints that are
strictly lower than 2^53 (size of mantissa in IEEE-754 double precision
binary format is 52 bits).
for numbers >= 2^53 we should call the sw DF division routine (probably
built by soft-fp).
Original issue reported on code.google.com by [email protected] on 9 Dec 2008 at 4:37
The text was updated successfully, but these errors were encountered:
argh, my bad, this should be listed as enhancement. this probably comes from
looking
at the gcc source for way too long.
currently, we call the libgcc2 divdi3 routine. this is ok for the time being in
order
to get gcc fully working asap.
for performance reasons, we should use hw FP div for DI numbers <2^53, and
libgcc2
routine for larger numbers. for that we will have to (a) code and expand that
will do
runtime checking of DI variable values and decide which way to go, and (b)
appropriate *constrained* insertions that will choose which way to go for
build-time
constants.
Original issue reported on code.google.com by
[email protected]
on 9 Dec 2008 at 4:37The text was updated successfully, but these errors were encountered: