This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/23971] [4.0/4.1 Regression] synth_mult running amok


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]