]> git.ipfire.org Git - thirdparty/gcc.git/commit
arm: [MVE intrinsics] factorize vmaxnmq vminnmq
authorChristophe Lyon <christophe.lyon@arm.com>
Mon, 13 Feb 2023 18:48:35 +0000 (18:48 +0000)
committerChristophe Lyon <christophe.lyon@arm.com>
Tue, 9 May 2023 18:31:15 +0000 (20:31 +0200)
commit5ea7a47c8586d3d62a2679413a74edab19dd87ea
tree15d1e9da51bd2464da3b09b43bfc864969805399
parent25d0235e6ecf0aab3e7f8e92c0cd02837edd01e3
arm: [MVE intrinsics] factorize vmaxnmq vminnmq

Factorize vmaxnmq and vminnmq so that they use the same pattern.

2022-09-08  Christophe Lyon  <christophe.lyon@arm.com>

gcc/
* config/arm/iterators.md (MAX_MIN_F): New.
(MVE_FP_M_BINARY): Add VMAXNMQ_M_F, VMINNMQ_M_F.
(mve_insn): Add vmaxnm, vminnm.
(max_min_f_str): New.
* config/arm/mve.md (mve_vmaxnmq_f<mode>, mve_vminnmq_f<mode>):
Merge into ...
(@mve_<max_min_f_str>q_f<mode>): ... this.
(mve_vmaxnmq_m_f<mode>, mve_vminnmq_m_f<mode>): Merge into ...
(@mve_<mve_insn>q_m_f<mode>): ... this.
gcc/config/arm/iterators.md
gcc/config/arm/mve.md