> -----Original Message----- > From: Andre Simoes Dias Vieira <andre.simoesdiasvie...@arm.com> > Sent: Tuesday, December 6, 2022 11:19 AM > To: 'gcc-patches@gcc.gnu.org' <gcc-patches@gcc.gnu.org> > Cc: Kyrylo Tkachov <kyrylo.tkac...@arm.com>; Richard Earnshaw > <richard.earns...@arm.com> > Subject: [PATCH] arm: Fix MVE's vcmp vector-scalar patterns [PR107987] > > Hi, > > 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. > > Regression tested on arm-none-eabi. Is this OK for trunk? And a backport to > GCC 12? Ok. Thanks, Kyrill > > 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/testsuite/gcc.target/arm/mve/pr107987.c: New test.
RE: [PATCH] arm: Fix MVE's vcmp vector-scalar patterns [PR107987]
Kyrylo Tkachov via Gcc-patches Tue, 06 Dec 2022 03:23:29 -0800
- [PATCH] arm: Fix MVE's vcmp vecto... Andre Simoes Dias Vieira via Gcc-patches
- RE: [PATCH] arm: Fix MVE's v... Kyrylo Tkachov via Gcc-patches
- Re: [PATCH] arm: Fix MVE... Andre Vieira (lists) via Gcc-patches
- RE: [PATCH] arm: Fix... Kyrylo Tkachov via Gcc-patches