arm: Convert more load/store MVE builtins to predicate qualifiers
authorChristophe Lyon <christophe.lyon@arm.com>
Wed, 20 Oct 2021 15:39:17 +0000 (15:39 +0000)
committerChristophe Lyon <christophe.lyon@foss.st.com>
Tue, 22 Feb 2022 15:55:09 +0000 (15:55 +0000)
commit6a7c13a0cf2290b60ab36f9ce1027b92838586bd
tree9c10a33497fec77675851286fe67592b6d9b1152
parent724d6566cd11c676f3bc082a9771784c825affb1
arm: Convert more load/store MVE builtins to predicate qualifiers

This patch covers a few builtins where we do not use the <mode>
iterator and thus we cannot use <MVE_vpred>.

For v2di instructions, we keep the HI mode for predicates.

Most of the work of this patch series was carried out while I was
working at STMicroelectronics as a Linaro assignee.

2022-02-22  Christophe Lyon  <christophe.lyon@arm.com>

gcc/
PR target/100757
PR target/101325
* config/arm/arm-builtins.cc (STRSBS_P_QUALIFIERS): Use predicate
qualifier.
(STRSBU_P_QUALIFIERS): Likewise.
(LDRGBS_Z_QUALIFIERS): Likewise.
(LDRGBU_Z_QUALIFIERS): Likewise.
(LDRGBWBXU_Z_QUALIFIERS): Likewise.
(LDRGBWBS_Z_QUALIFIERS): Likewise.
(LDRGBWBU_Z_QUALIFIERS): Likewise.
(STRSBWBS_P_QUALIFIERS): Likewise.
(STRSBWBU_P_QUALIFIERS): Likewise.
* config/arm/mve.md: Use VxBI instead of HI.
gcc/config/arm/arm-builtins.cc
gcc/config/arm/mve.md