------- 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

Reply via email to