]> git.ipfire.org Git - thirdparty/gcc.git/commit
arm: [MVE intrinsics] factorize vmaxnmavq vmaxnmvq vminnmavq vminnmvq
authorChristophe Lyon <christophe.lyon@arm.com>
Mon, 13 Feb 2023 21:06:19 +0000 (21:06 +0000)
committerChristophe Lyon <christophe.lyon@arm.com>
Tue, 9 May 2023 18:31:16 +0000 (20:31 +0200)
commitd814dc9dde4a73c0547838f5158d9d732a5ebc33
treee316903dead520565bb7d5c6c2258bc1e722cf6a
parent9c4fea2457efb82aed41b5b61d6758340a700cac
arm: [MVE intrinsics] factorize vmaxnmavq vmaxnmvq vminnmavq vminnmvq

Factorize vmaxnmavq vmaxnmvq vminnmavq vminnmvq so that they use the
same pattern.

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

gcc/
* config/arm/iterators.md (MVE_VMAXNMxV_MINNMxVQ)
(MVE_VMAXNMxV_MINNMxVQ_P): New.
(mve_insn): Add vmaxnmav, vmaxnmv, vminnmav, vminnmv.
* config/arm/mve.md (mve_vmaxnmavq_f<mode>, mve_vmaxnmvq_f<mode>)
(mve_vminnmavq_f<mode>, mve_vminnmvq_f<mode>): Merge into ...
(@mve_<mve_insn>q_f<mode>): ... this.
(mve_vmaxnmavq_p_f<mode>, mve_vmaxnmvq_p_f<mode>)
(mve_vminnmavq_p_f<mode>, mve_vminnmvq_p_f<mode>): Merge into ...
(@mve_<mve_insn>q_p_f<mode>): ... this.
gcc/config/arm/iterators.md
gcc/config/arm/mve.md