[patch] expmed.c: Fix PR 23971 - slow synth_mult.
Falk Hueffner
falk@debian.org
Wed Sep 21 15:56:00 GMT 2005
Kazu Hirata <kazu@codesourcery.com> writes:
> Here is the timing in seconds with the cross compiler to
> alpha-linux-gnu from x86_64-pc-linux-gnu.
>
> original patched diff(%)
> 6.939 0.686 -90.114 (wow!)
Actually, 0.6 seconds for one line of source still seems quite
excessive... While this patch certainly seems like a good idea, I'm
wondering whether we shouldn't just additionally put an upper limit to
the number of instructions generated, since it seems unlikely that
expanding a multiply to more than say 12 insns is really such a great
idea.
--
Falk
More information about the Gcc-patches
mailing list