public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/98911] Add folding and remove expanders for x86 *pcmp{et,gt}* builtins
Date: Sun, 25 Apr 2021 01:18:29 +0000	[thread overview]
Message-ID: <bug-98911-4-9FJtEFMbOA@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-98911-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98911

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by hongtao Liu <liuhongt@gcc.gnu.org>:

https://gcc.gnu.org/g:c54a9f7259fce1a221270f21d8076c960c7d0163

commit r12-110-gc54a9f7259fce1a221270f21d8076c960c7d0163
Author: liuhongt <hongtao.liu@intel.com>
Date:   Tue Feb 23 11:17:40 2021 +0800

    Add folding and remove expanders for x86 *pcmp{et,gt}* builtins [PR
target/98911]

    gcc/ChangeLog:

            PR target/98911
            * config/i386/i386-builtin.def (BDESC): Change the icode of
            the following builtins to CODE_FOR_nothing.
            * config/i386/i386.c (ix86_gimple_fold_builtin): Fold
            IX86_BUILTIN_PCMPEQB128, IX86_BUILTIN_PCMPEQW128,
            IX86_BUILTIN_PCMPEQD128, IX86_BUILTIN_PCMPEQQ,
            IX86_BUILTIN_PCMPEQB256, IX86_BUILTIN_PCMPEQW256,
            IX86_BUILTIN_PCMPEQD256, IX86_BUILTIN_PCMPEQQ256,
            IX86_BUILTIN_PCMPGTB128, IX86_BUILTIN_PCMPGTW128,
            IX86_BUILTIN_PCMPGTD128, IX86_BUILTIN_PCMPGTQ,
            IX86_BUILTIN_PCMPGTB256, IX86_BUILTIN_PCMPGTW256,
            IX86_BUILTIN_PCMPGTD256, IX86_BUILTIN_PCMPGTQ256.
            * config/i386/sse.md (avx2_eq<mode>3): Deleted.
            (sse2_eq<mode>3): Ditto.
            (sse4_1_eqv2di3): Ditto.
            (sse2_gt<mode>3): Rename to ..
            (*sse2_gt<mode>3): .. this.

    gcc/testsuite/ChangeLog:

            PR target/98911
            * gcc.target/i386/pr98911.c: New test.
            * gcc.target/i386/funcspec-8.c: Replace __builtin_ia32_pcmpgtq
            with __builtin_ia32_pcmpistrm128 since it has been folded.

  parent reply	other threads:[~2021-04-25  1:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-01  9:26 [Bug target/98911] New: " jakub at gcc dot gnu.org
2021-02-01  9:26 ` [Bug target/98911] " jakub at gcc dot gnu.org
2021-02-01  9:26 ` jakub at gcc dot gnu.org
2021-04-25  1:18 ` cvs-commit at gcc dot gnu.org [this message]
2021-04-25  1:18 ` crazylht at gmail dot com
2021-08-17  6:24 ` pinskia at gcc dot gnu.org

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=bug-98911-4-9FJtEFMbOA@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).