[AArch64, 1/4] Add the missing support of vfms_n_f32, vfmsq_n_f32, vfmsq_n_f64
authorJiong Wang <jiong.wang@arm.com>
Tue, 17 May 2016 16:34:46 +0000 (16:34 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Tue, 17 May 2016 16:34:46 +0000 (16:34 +0000)
commit98b3a5f289f42d2d7e9616ccd02cce40440f2adf
tree6095b4a2ea6aa104badb21d9b1013f805723116e
parent92237f4398f6626785bd95dc84ee698ae2d68ede
[AArch64, 1/4]  Add the missing support of vfms_n_f32, vfmsq_n_f32, vfmsq_n_f64

gcc/
* config/aarch64/aarch64-simd.md (*aarch64_fma4_elt_to_128df): Rename
to *aarch64_fma4_elt_from_dup<mode>.
(*aarch64_fnma4_elt_to_128df): Rename to
*aarch64_fnma4_elt_from_dup<mode>.
* config/aarch64/arm_neon.h (vfma_n_f64): New.
(vfms_n_f32): Likewise.
(vfms_n_f64): Likewise.
(vfmsq_n_f32): Likewise.
(vfmsq_n_f64): Likewise.

gcc/testsuite/
* gcc.target/aarch64/fmla_intrinsic_1.c: Allow ".d[index]" besides
".2d[index]" when scan the assembly.
* gcc.target/aarch64/fmls_intrinsic_1.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h: New entry for
float64x1.
* gcc.target/aarch64/advsimd-intrinsics/vfms_vfma_n.c: New.

From-SVN: r236331
gcc/ChangeLog
gcc/config/aarch64/aarch64-simd.md
gcc/config/aarch64/arm_neon.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vfms_vfma_n.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/fmla_intrinsic_1.c
gcc/testsuite/gcc.target/aarch64/fmls_intrinsic_1.c