Open GoogleCodeExporter opened 8 years ago
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 comment by jmoc...@gmail.com
on 10 Dec 2008 at 9:27
Original issue reported on code.google.com by
jmoc...@gmail.com
on 9 Dec 2008 at 4:37