arm: Convert remaining MVE vcmp builtins to predicate qualifiers
authorChristophe Lyon <christophe.lyon@arm.com>
Wed, 13 Oct 2021 09:16:35 +0000 (09:16 +0000)
committerChristophe Lyon <christophe.lyon@foss.st.com>
Tue, 22 Feb 2022 15:55:08 +0000 (15:55 +0000)
commite6a4aefce8e47a7d3ba781066a1410ebfa963e59
tree6b72bb37fd4039d6361e50e4d64c29bbf89fd6ba
parentdf0e57c2c032cea0f77f2e68231c035f282b26d6
arm: Convert remaining MVE vcmp builtins to predicate qualifiers

This is mostly a mechanical change, only tested by the intrinsics
expansion tests.

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 (BINOP_UNONE_NONE_NONE_QUALIFIERS):
Delete.
(TERNOP_UNONE_NONE_NONE_UNONE_QUALIFIERS): Change to ...
(TERNOP_PRED_NONE_NONE_PRED_QUALIFIERS): ... this.
(TERNOP_PRED_UNONE_UNONE_PRED_QUALIFIERS): New.
* config/arm/arm_mve_builtins.def (vcmp*q_n_, vcmp*q_m_f): Use new
predicated qualifiers.
* config/arm/mve.md (mve_vcmp<mve_cmp_op>q_n_<mode>)
(mve_vcmp*q_m_f<mode>): Use MVE_VPRED instead of HI.
gcc/config/arm/arm-builtins.cc
gcc/config/arm/arm_mve_builtins.def
gcc/config/arm/mve.md