public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Kyrylo Tkachov <Kyrylo.Tkachov@arm.com>
To: Andre Simoes Dias Vieira <Andre.SimoesDiasVieira@arm.com>,
	"'gcc-patches@gcc.gnu.org'" <gcc-patches@gcc.gnu.org>
Cc: Richard Earnshaw <Richard.Earnshaw@arm.com>
Subject: RE: [PATCH] arm: Fix MVE's vcmp vector-scalar patterns [PR107987]
Date: Fri, 27 Jan 2023 12:08:19 +0000	[thread overview]
Message-ID: <PAXPR08MB69264455A7819710565924E993CC9@PAXPR08MB6926.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <ce4356fc-6695-8397-f9ee-f8881d5d91cc@arm.com>



> -----Original Message-----
> From: Andre Vieira (lists) <andre.simoesdiasvieira@arm.com>
> Sent: Friday, January 27, 2023 12:07 PM
> To: Kyrylo Tkachov <Kyrylo.Tkachov@arm.com>; 'gcc-patches@gcc.gnu.org'
> <gcc-patches@gcc.gnu.org>
> Cc: Richard Earnshaw <Richard.Earnshaw@arm.com>
> Subject: Re: [PATCH] arm: Fix MVE's vcmp vector-scalar patterns [PR107987]
> 
> This applies cleanly to gcc-12 and regressions for arm-none-eabi look clean.
> 
> OK to apply to gcc-12?

Yes, thanks.
Kyrill

> 
> 
> 
> On 06/12/2022 11:23, Kyrylo Tkachov wrote:
> >
> >
> >> -----Original Message-----
> >> From: Andre Simoes Dias Vieira <Andre.SimoesDiasVieira@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.Tkachov@arm.com>; Richard Earnshaw
> >> <Richard.Earnshaw@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.
> >

      reply	other threads:[~2023-01-27 12:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-06 11:18 Andre Simoes Dias Vieira
2022-12-06 11:23 ` Kyrylo Tkachov
2023-01-27 12:06   ` Andre Vieira (lists)
2023-01-27 12:08     ` Kyrylo Tkachov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=PAXPR08MB69264455A7819710565924E993CC9@PAXPR08MB6926.eurprd08.prod.outlook.com \
    --to=kyrylo.tkachov@arm.com \
    --cc=Andre.SimoesDiasVieira@arm.com \
    --cc=Richard.Earnshaw@arm.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).