[Bug tree-optimization/89007] [SVE] Implement generic vector average expansion
prathamesh3492 at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 9 10:00:00 GMT 2019
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.kulkarni@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
More information about the Gcc-bugs
mailing list