diff options
author | Christophe Lyon <christophe.lyon@arm.com> | 2023-02-07 19:01:52 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@arm.com> | 2023-05-03 16:58:28 +0200 |
commit | 111f474f630f5a37cfa302c7155f811df9c77766 (patch) | |
tree | 5fa27a184f20ac7ca29ae731c8bd3e1363345c11 /gcc/value-range.cc | |
parent | 5cbe0c090d44761103ae90f161c18539b1cd7be4 (diff) | |
download | gcc-111f474f630f5a37cfa302c7155f811df9c77766.zip gcc-111f474f630f5a37cfa302c7155f811df9c77766.tar.gz gcc-111f474f630f5a37cfa302c7155f811df9c77766.tar.bz2 |
arm: [MVE intrinsics] factorize several binary _n operations
Factorize
vhaddq_n, vhsubq_n, vqaddq_n, vqdmulhq_n, vqrdmulhq_n, vqsubq_n
so that they use the same pattern.
2022-09-08 Christophe Lyon <christophe.lyon@arm.com>
gcc/
* config/arm/iterators.md (MVE_INT_SU_N_BINARY): New.
(mve_insn): Add vhaddq, vhsubq, vqaddq, vqdmulhq, vqrdmulhq,
vqsubq.
(supf): Add VQDMULHQ_N_S, VQRDMULHQ_N_S.
* config/arm/mve.md (mve_vhaddq_n_<supf><mode>)
(mve_vhsubq_n_<supf><mode>, mve_vqaddq_n_<supf><mode>)
(mve_vqdmulhq_n_s<mode>, mve_vqrdmulhq_n_s<mode>)
(mve_vqsubq_n_<supf><mode>): Merge into ...
(@mve_<mve_insn>q_n_<supf><mode>): ... this.
Diffstat (limited to 'gcc/value-range.cc')
0 files changed, 0 insertions, 0 deletions