diff options
author | Andre Simoes Dias Vieira <andre.simoesdiasvieira@arm.com> | 2020-04-07 15:26:03 +0100 |
---|---|---|
committer | Andre Vieira <andre.simoesdiasvieira@arm.com> | 2020-04-07 15:44:51 +0100 |
commit | d2ce75fef9fda5c7ff89c4287b30492225f07401 (patch) | |
tree | 240eb7106eeaedb24012148ac6a89ae4aeb5d506 /gcc/fortran/trans-intrinsic.c | |
parent | 094bc16bb4181a02177e1e14187b4c1c48bef0d5 (diff) | |
download | gcc-d2ce75fef9fda5c7ff89c4287b30492225f07401.zip gcc-d2ce75fef9fda5c7ff89c4287b30492225f07401.tar.gz gcc-d2ce75fef9fda5c7ff89c4287b30492225f07401.tar.bz2 |
arm: MVE Fix immediate constraints on some vector instructions
Hi,
This patch fixes the immediate checks on vcvt and vqshr(u)n[bt] instructions.
It also removes the 'arm_mve_immediate_check' as the check was wrong and the
error message is not much better than the constraint one, which albeit isn't
great either.
gcc/ChangeLog:
2020-04-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
* config/arm/arm.c (arm_mve_immediate_check): Removed.
* config/arm/mve.md (MVE_pred2, MVE_constraint2): Added FP types.
(mve_vcvtq_n_to_f_*, mve_vcvtq_n_from_f_*, mve_vqshrnbq_n_*,
mve_vqshrntq_n_*, mve_vqshrunbq_n_s*, mve_vqshruntq_n_s*,
mve_vcvtq_m_n_from_f_*, mve_vcvtq_m_n_to_f_*, mve_vqshrnbq_m_n_*,
mve_vqrshruntq_m_n_s*, mve_vqshrunbq_m_n_s*,
mve_vqshruntq_m_n_s*): Fixed immediate constraints.
gcc/testsuite/ChangeLog:
2020-04-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
* gcc.target/arm/mve/intrinsics/mve_immediates_1_n.c: New test.
Diffstat (limited to 'gcc/fortran/trans-intrinsic.c')
0 files changed, 0 insertions, 0 deletions