[Bug tree-optimization/57051] [4.8/4.9 Regression] Optimization regression in 4.8.0 from 4.7.2

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 24 10:44:00 GMT 2013


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-24 10:44:13 UTC ---
Created attachment 29928
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29928
gcc49-pr57051.patch

It isn't that hard to fold VEC_RSHIFT_EXPR, at least for the cases where the
shift count is a multiple of element bitsize (the only case where GCC actually
ever emits VEC_RSHIFT_EXPR right now).

Untested (beyond checking this is folded into store of 450 again).



More information about the Gcc-bugs mailing list