public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/106704] [12/13 Regression] avx intrinsic not generating vblendvps instruction with -mavx
       [not found] <bug-106704-4@http.gcc.gnu.org/bugzilla/>
@ 2022-08-26  1:21 ` cvs-commit at gcc dot gnu.org
  2022-08-26  1:22 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-08-26  1:21 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/106704] [12/13 Regression] avx intrinsic not generating vblendvps instruction with -mavx
       [not found] <bug-106704-4@http.gcc.gnu.org/bugzilla/>
  2022-08-26  1:21 ` [Bug target/106704] [12/13 Regression] avx intrinsic not generating vblendvps instruction with -mavx cvs-commit at gcc dot gnu.org
@ 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
  3 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-08-26  1:22 UTC (permalink / raw)
  To: gcc-bugs

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

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

https://gcc.gnu.org/g:9f78e7eb8e064556adf466444197aae8e52a1eb3

commit r12-8715-g9f78e7eb8e064556adf466444197aae8e52a1eb3
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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/106704] [12/13 Regression] avx intrinsic not generating vblendvps instruction with -mavx
       [not found] <bug-106704-4@http.gcc.gnu.org/bugzilla/>
  2022-08-26  1:21 ` [Bug target/106704] [12/13 Regression] avx intrinsic not generating vblendvps instruction with -mavx cvs-commit at gcc dot gnu.org
  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
  3 siblings, 0 replies; 4+ messages in thread
From: crazylht at gmail dot com @ 2022-08-26  1:22 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from Hongtao.liu <crazylht at gmail dot com> ---
Fixed in GCC12.3 and GCC13.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/106704] [12/13 Regression] avx intrinsic not generating vblendvps instruction with -mavx
       [not found] <bug-106704-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2022-08-26  1:22 ` crazylht at gmail dot com
@ 2023-01-08  9:09 ` roger at nextmovesoftware dot com
  3 siblings, 0 replies; 4+ messages in thread
From: roger at nextmovesoftware dot com @ 2023-01-08  9:09 UTC (permalink / raw)
  To: gcc-bugs

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

Roger Sayle <roger at nextmovesoftware dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roger at nextmovesoftware dot com
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #12 from Roger Sayle <roger at nextmovesoftware dot com> ---
Thanks to Hongtao, this now fixed on GCC12 and mainline.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-08  9:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-106704-4@http.gcc.gnu.org/bugzilla/>
2022-08-26  1:21 ` [Bug target/106704] [12/13 Regression] avx intrinsic not generating vblendvps instruction with -mavx cvs-commit at gcc dot gnu.org
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

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).