[Bug tree-optimization/48616] -ftree-vectorize -mxop miscompiles right shift

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 18 07:44:00 GMT 2011


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

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-18 07:38:17 UTC ---
Author: jakub
Date: Mon Apr 18 07:38:11 2011
New Revision: 172640

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172640
Log:
    PR tree-optimization/48616
    * tree-vect-stmts.c (vectorizable_shift): If SLP, determine
    whether the shift is by scalar or vector based on whether all SLP
    scalar stmts have the same rhs.

    * gcc.dg/pr48616.c: New test.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/pr48616.c
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_6-branch/gcc/tree-vect-stmts.c



More information about the Gcc-bugs mailing list