iterators.md (V_cmp_mixed, [...]): New.
authorBin Cheng <amker@gcc.gnu.org>
Wed, 10 Aug 2016 15:34:23 +0000 (15:34 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Wed, 10 Aug 2016 15:34:23 +0000 (15:34 +0000)
commit6c553b76067729cc6e10712104746d4c3e79b9d9
treefea2cc512e46730fc0e49431841842c1fb083910
parent45d569f37f13d11b6ad566dfa4c1989d7419d0df
iterators.md (V_cmp_mixed, [...]): New.

* config/aarch64/iterators.md (V_cmp_mixed, v_cmp_mixed): New.
* config/aarch64/aarch64-simd.md (<su><maxmin>v2di3): Call
gen_vcondv2div2di instead of gen_aarch64_vcond_internalv2div2di.
(aarch64_vcond_internal<mode><mode>): Delete pattern.
(aarch64_vcond_internal<VDQF_COND:mode><VDQF:mode>): Ditto.
(vcond<v_cmp_result><mode>): Ditto.
(vcond<mode><mode>): Re-implement using vec_cmp and vcond_mask.
(vcondu<mode><mode>): Ditto.
(vcond<v_cmp_mixed><mode>): New pattern.
(vcondu<mode><v_cmp_mixed>): New pattern.
(aarch64_cmtst<mode>): Revise comment using aarch64_vcond instead
of aarch64_vcond_internal.

gcc/testsuite
* gcc.target/aarch64/simd/vcond-ne.c: New test.

From-SVN: r239328
gcc/ChangeLog
gcc/config/aarch64/aarch64-simd.md
gcc/config/aarch64/iterators.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/simd/vcond-ne.c [new file with mode: 0644]