This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/69848] poor vectorization of a loop from SPEC2006 464.h264ref
- From: "amker at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 16 Aug 2016 13:10:12 +0000
- Subject: [Bug tree-optimization/69848] poor vectorization of a loop from SPEC2006 464.h264ref
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-69848-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69848
--- Comment #16 from amker at gcc dot gnu.org ---
Author: amker
Date: Tue Aug 16 13:09:40 2016
New Revision: 239502
URL: https://gcc.gnu.org/viewcvs?rev=239502&root=gcc&view=rev
Log:
PR tree-optimization/69848
* config/aarch64/aarch64-simd.md (vcond<mode><mode>): Invert NE
and swtich operands to avoid additional NOT instruction.
(vcond<v_cmp_mixed><mode>): Ditto.
(vcondu<mode><mode>, vcondu<mode><v_cmp_mixed>): Ditto.
gcc/testsuite
* gcc.target/aarch64/simd/vcond-ne-bit.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/aarch64/simd/vcond-ne-bit.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/aarch64/aarch64-simd.md
trunk/gcc/testsuite/ChangeLog