From: Andreas Krebbel <krebbel@linux.ibm.com>
To: Juergen Christ <jchrist@linux.ibm.com>, gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] s390: Optimize vec_cmpge followed by vec_sel
Date: Tue, 18 Jul 2023 08:37:01 +0200 [thread overview]
Message-ID: <c3c97a67-41b5-210d-3b57-301151f8c3d3@linux.ibm.com> (raw)
In-Reply-To: <20230717150957.23119-1-jchrist@linux.ibm.com>
On 7/17/23 17:09, Juergen Christ wrote:
> A vec_cmpge produces a negation. Replace this negation by swapping the two
> selection choices of a vec_sel based on the result of the vec_cmpge.
>
> Bootstrapped and regression tested on s390x.
>
> gcc/ChangeLog:
>
> * config/s390/vx-builtins.md: New vsel pattern.
>
> gcc/testsuite/ChangeLog:
>
> * gcc.target/s390/vector/vec-cmpge.c: New test.
>
> Signed-off-by: Juergen Christ <jchrist@linux.ibm.com>
Committed to mainline. Thanks!
Bye,
Andreas
prev parent reply other threads:[~2023-07-18 6:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-17 15:09 Juergen Christ
2023-07-18 6:37 ` Andreas Krebbel [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=c3c97a67-41b5-210d-3b57-301151f8c3d3@linux.ibm.com \
--to=krebbel@linux.ibm.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=jchrist@linux.ibm.com \
/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).