aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/libgnat
diff options
context:
space:
mode:
authorAndre Vieira <andre.simoesdiasvieira@arm.com>2022-12-06 12:06:33 +0000
committerAndre Vieira <andre.simoesdiasvieira@arm.com>2022-12-06 12:08:36 +0000
commited34c3bc3428bce663d42e9eeda10bc0c5d56d5c (patch)
tree91ea467c55024ebf1ac08cbde0395f1690877250 /gcc/ada/libgnat
parentbcf89f05f7b0b1732553e224548f1de55321e437 (diff)
downloadgcc-ed34c3bc3428bce663d42e9eeda10bc0c5d56d5c.zip
gcc-ed34c3bc3428bce663d42e9eeda10bc0c5d56d5c.tar.gz
gcc-ed34c3bc3428bce663d42e9eeda10bc0c5d56d5c.tar.bz2
arm: Fix MVE's vcmp vector-scalar patterns [PR107987]
This patch surrounds the scalar operand of the MVE vcmp patterns with a vec_duplicate to ensure both operands of the comparision operator have the same (vector) mode. gcc/ChangeLog: PR target/107987 * config/arm/mve.md (mve_vcmp<mve_cmp_op>q_n_<mode>, @mve_vcmp<mve_cmp_op>q_n_f<mode>): Apply vec_duplicate to scalar operand. gcc/testsuite/ChangeLog: * gcc.target/arm/mve/pr107987.c: New test.
Diffstat (limited to 'gcc/ada/libgnat')
0 files changed, 0 insertions, 0 deletions