[Patch AArch64] Fix up BSL expander for floating point types
authorJames Greenhalgh <james.greenhalgh@arm.com>
Tue, 11 Nov 2014 17:37:35 +0000 (17:37 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Tue, 11 Nov 2014 17:37:35 +0000 (17:37 +0000)
commitc8824f2ccb4bc1687a86c87a090c3589bce2053e
tree64feec8b8842992d131749045b465fa4bae5118a
parent50457b9e2151e9cc3d11da733bd885cf148a29a3
[Patch AArch64] Fix up BSL expander for floating point types

gcc/

* config/aarch64/aarch64-simd.md
(aarch64_simd_bsl<mode>_internal): Remove float cases, canonicalize.
(aarch64_simd_bsl<mode>): Add gen_lowpart expressions where we
are punning between float vectors and integer vectors.

gcc/testsuite/

* gcc.target/aarch64/vbslq_f64_1.c: New.
* gcc.target/aarch64/vbslq_f64_2.c: Likewise.
* gcc.target/aarch64/vbslq_u64_1.c: Likewise.
* gcc.target/aarch64/vbslq_u64_2.c: Likewise.

From-SVN: r217362
gcc/ChangeLog
gcc/config/aarch64/aarch64-simd.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/vbslq_f64_1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/vbslq_f64_2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/vbslq_u64_1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/vbslq_u64_2.c [new file with mode: 0644]