[Bug middle-end/23971] [4.0/4.1 Regression] synth_mult running amok
tsv at solvo dot ru
gcc-bugzilla@gcc.gnu.org
Tue Sep 27 18:52:00 GMT 2005
------- Additional Comments From tsv at solvo dot ru 2005-09-27 18:42 -------
Yes, I tested the reported gcc version just with your patch. After trying to
trace "synth_mult" I started to think that there should be a simplier way. :)
In my testcase the "choose_mult_variant" was called with following params:
#16 0x000000012019b1f0 in choose_mult_variant (mode=DImode,
val=1696403818363083032, alg=0x11fefb178, variant=0x11fefb150,
mult_cost=100) at ../../gcc/expmed.c:2845
The attempt to do multiplication by shifts and adds/subs for that "huge" val was
interesting. :)
I'll give a try to your new patch.
Thank you.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23971
More information about the Gcc-bugs
mailing list