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/106704] [12/13 Regression] avx intrinsic not generating vblendvps instruction with -mavx
Date: Fri, 26 Aug 2022 01:21:43 +0000	[thread overview]
Message-ID: <bug-106704-4-InngzP38Po@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-106704-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #9 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:388f1a8cf0851854cc4d2ee99ed85600f0822afc

commit r13-2208-g388f1a8cf0851854cc4d2ee99ed85600f0822afc
Author: liuhongt <hongtao.liu@intel.com>
Date:   Mon Aug 22 10:41:16 2022 +0800

    Don't gimple fold ymm-version vblendvpd/vblendvps/vpblendvb w/o TARGET_AVX2

    Since 256-bit vector integer comparison is under TARGET_AVX2,
    and gimple folding for vblendvpd/vblendvps/vpblendvb relies on that.
    Restrict gimple fold condition to TARGET_AVX2.

    gcc/ChangeLog:

            PR target/106704
            * config/i386/i386-builtin.def (BDESC): Add
            CODE_FOR_avx_blendvpd256/CODE_FOR_avx_blendvps256 to
            corresponding builtins.
            * config/i386/i386.cc (ix86_gimple_fold_builtin):
            Don't fold IX86_BUILTIN_PBLENDVB256, IX86_BUILTIN_BLENDVPS256,
            IX86_BUILTIN_BLENDVPD256 w/o TARGET_AVX2.

    gcc/testsuite/ChangeLog:

            * gcc.target/i386/pr106704.c: New test.

       reply	other threads:[~2022-08-26  1:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-106704-4@http.gcc.gnu.org/bugzilla/>
2022-08-26  1:21 ` cvs-commit at gcc dot gnu.org [this message]
2022-08-26  1:22 ` cvs-commit at gcc dot gnu.org
2022-08-26  1:22 ` crazylht at gmail dot com
2023-01-08  9:09 ` roger at nextmovesoftware dot com

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-106704-4-InngzP38Po@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).