https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89007
--- Comment #1 from prathamesh3492 at gcc dot gnu.org --- Author: prathamesh3492 Date: Mon Dec 9 09:59:42 2019 New Revision: 279112 URL: https://gcc.gnu.org/viewcvs?rev=279112&root=gcc&view=rev Log: 2019-12-09 Prathamesh Kulkarni <prathamesh.kulka...@linaro.org> PR tree-optimization/89007 * tree-vect-patterns.c (vect_recog_average_pattern): If there is no target support available, generate code to distribute rshift over plus and add a carry. testsuite/ * gcc.target/aarch64/sve/pr89007-1.c: New test. * gcc.target/aarch64/sve/pr89007-2.c: Likewise. Added: trunk/gcc/testsuite/gcc.target/aarch64/sve/pr89007-1.c trunk/gcc/testsuite/gcc.target/aarch64/sve/pr89007-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-patterns.c