[AArch64][6/14] ARMv8.2-A FP16 reduction vector intrinsics
authorJiong Wang <jiong.wang@arm.com>
Mon, 25 Jul 2016 15:00:14 +0000 (15:00 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Mon, 25 Jul 2016 15:00:14 +0000 (15:00 +0000)
commit703bbcdfe9f2a442ecc58366d3fcd0672a14c367
tree9651fc5e3c1574040eff548764708326a1de20fc
parentab2e8f01f1bc926ba403ea16f1663c95aa1a3c66
[AArch64][6/14] ARMv8.2-A FP16 reduction vector intrinsics

gcc/
* config/aarch64/aarch64-simd-builtins.def (reduc_smax_scal_,
reduc_smin_scal_): Use VDQIF_F16.
(reduc_smax_nan_scal_, reduc_smin_nan_scal_): Use VHSDF.
* config/aarch64/aarch64-simd.md (reduc_<maxmin_uns>_scal_<mode>):
Use VHSDF.
(aarch64_reduc_<maxmin_uns>_internal<mode>): Likewise.
* config/aarch64/iterators.md (VDQIF_F16): New.
(vp): Support HF modes.
* config/aarch64/arm_neon.h (vmaxv_f16, vmaxvq_f16, vminv_f16,
vminvq_f16, vmaxnmv_f16, vmaxnmvq_f16, vminnmv_f16, vminnmvq_f16): New.

From-SVN: r238721
gcc/ChangeLog
gcc/config/aarch64/aarch64-simd-builtins.def
gcc/config/aarch64/aarch64-simd.md
gcc/config/aarch64/arm_neon.h
gcc/config/aarch64/iterators.md