http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53645

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-06-13 
09:46:19 UTC ---
(In reply to comment #2)
> I think we've talked about enhancing the pattern recognizer to expand it as
> mult at the tree level, reusing parts of the expander code for that.  I 
> believe
> I've looked at it, but can't find any patch (I think it was around mid 
> December
> when
> sdivmod pattern recognizer has been added).  I'll look at it again.

Note that this is already vector form in source, so enhancing the pattern
recognizer would only help for PR51581.

I think we want to move synth_mult / expand_divmod to the tree level or make
its worker IL independent (possibly with using appropriate costs for vector vs.
scalar during vector lowering).

Reply via email to