diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2020-01-09 16:26:47 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2020-01-09 16:26:47 +0000 |
commit | f3582fda783496cc268467973c2c9860cd159b3d (patch) | |
tree | fe38d67353be9f645aed09379e1ca6a25d349136 /maintainer-scripts | |
parent | df0f21028edd919421080f52a99a9b400ba8ba08 (diff) | |
download | gcc-f3582fda783496cc268467973c2c9860cd159b3d.zip gcc-f3582fda783496cc268467973c2c9860cd159b3d.tar.gz gcc-f3582fda783496cc268467973c2c9860cd159b3d.tar.bz2 |
[AArch64] Pass a mode to some SVE immediate queries
It helps the SVE2 ACLE support if aarch64_sve_arith_immediate_p and
aarch64_sve_sqadd_sqsub_immediate_p accept scalars as well as vectors.
2020-01-09 Richard Sandiford <richard.sandiford@arm.com>
gcc/
* config/aarch64/aarch64-protos.h (aarch64_sve_arith_immediate_p)
(aarch64_sve_sqadd_sqsub_immediate_p): Add a machine_mode argument.
* config/aarch64/aarch64.c (aarch64_sve_arith_immediate_p)
(aarch64_sve_sqadd_sqsub_immediate_p): Likewise. Handle scalar
immediates as well as vector ones.
* config/aarch64/predicates.md (aarch64_sve_arith_immediate)
(aarch64_sve_sub_arith_immediate, aarch64_sve_qadd_immediate)
(aarch64_sve_qsub_immediate): Update calls accordingly.
From-SVN: r280059
Diffstat (limited to 'maintainer-scripts')
0 files changed, 0 insertions, 0 deletions