public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/100310] New: [AVX512] Missing support for v{,p}expand* instructions that w/o mask operands
@ 2021-04-28  8:35 crazylht at gmail dot com
  2021-05-07  2:22 ` [Bug target/100310] " crazylht at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: crazylht at gmail dot com @ 2021-04-28  8:35 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100310
           Summary: [AVX512] Missing support for v{,p}expand* instructions
                    that w/o mask operands
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: crazylht at gmail dot com
                CC: hjl.tools at gmail dot com
  Target Milestone: ---

Create a separate bug from pr100267.

Also there's ICE for testcase

#include<immintrin.h>

__m512d
foo (double* src, __m512d a)
{
   return _mm512_mask_expandloadu_pd (a, 255, src);
}

refer to https://godbolt.org/z/n9Pfxbnzb

It's introduces by my r11-5696-g35c4c67e6c534ef3d6ba7a7752ab7e0fbc91755b

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

* [Bug target/100310] [AVX512] Missing support for v{,p}expand* instructions that w/o mask operands
  2021-04-28  8:35 [Bug target/100310] New: [AVX512] Missing support for v{,p}expand* instructions that w/o mask operands crazylht at gmail dot com
@ 2021-05-07  2:22 ` crazylht at gmail dot com
  2021-05-25  1:11 ` crazylht at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: crazylht at gmail dot com @ 2021-05-07  2:22 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Hongtao.liu <crazylht at gmail dot com> ---
a patch is posted at
https://gcc.gnu.org/pipermail/gcc-patches/2021-April/569248.html

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

* [Bug target/100310] [AVX512] Missing support for v{,p}expand* instructions that w/o mask operands
  2021-04-28  8:35 [Bug target/100310] New: [AVX512] Missing support for v{,p}expand* instructions that w/o mask operands crazylht at gmail dot com
  2021-05-07  2:22 ` [Bug target/100310] " crazylht at gmail dot com
@ 2021-05-25  1:11 ` crazylht at gmail dot com
  2021-06-22  1:35 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: crazylht at gmail dot com @ 2021-05-25  1:11 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Hongtao.liu <crazylht at gmail dot com> ---
w/o mask operands, v{,p}expand* are equal to mov instructions.

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

* [Bug target/100310] [AVX512] Missing support for v{,p}expand* instructions that w/o mask operands
  2021-04-28  8:35 [Bug target/100310] New: [AVX512] Missing support for v{,p}expand* instructions that w/o mask operands crazylht at gmail dot com
  2021-05-07  2:22 ` [Bug target/100310] " crazylht at gmail dot com
  2021-05-25  1:11 ` crazylht at gmail dot com
@ 2021-06-22  1:35 ` cvs-commit at gcc dot gnu.org
  2021-06-22  1:41 ` cvs-commit at gcc dot gnu.org
  2021-06-22  1:48 ` crazylht at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-06-22  1:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 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:b6efffa552cee6a20a58c91e5f41466c5715d73d

commit r12-1705-gb6efffa552cee6a20a58c91e5f41466c5715d73d
Author: liuhongt <hongtao.liu@intel.com>
Date:   Wed Apr 28 14:52:59 2021 +0800

    Fix ICE for vpexpand*.

    gcc/ChangeLog

            PR target/100310
            * config/i386/i386-expand.c
            (ix86_expand_special_args_builtin): Keep constm1_operand only
            if it satisfies insn's operand predicate.

    gcc/testsuite/ChangeLog

            PR target/100310
            * gcc.target/i386/pr100310.c: New test.

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

* [Bug target/100310] [AVX512] Missing support for v{,p}expand* instructions that w/o mask operands
  2021-04-28  8:35 [Bug target/100310] New: [AVX512] Missing support for v{,p}expand* instructions that w/o mask operands crazylht at gmail dot com
                   ` (2 preceding siblings ...)
  2021-06-22  1:35 ` cvs-commit at gcc dot gnu.org
@ 2021-06-22  1:41 ` cvs-commit at gcc dot gnu.org
  2021-06-22  1:48 ` crazylht at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-06-22  1:41 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

commit r11-8637-gd4175a5d9bb8fe0a62baeff748a18efe884c97c6
Author: liuhongt <hongtao.liu@intel.com>
Date:   Wed Apr 28 14:52:59 2021 +0800

    Fix ICE for vpexpand*.

    gcc/ChangeLog

            PR target/100310
            * config/i386/i386-expand.c
            (ix86_expand_special_args_builtin): Keep constm1_operand only
            if it satisfies insn's operand predicate.

    gcc/testsuite/ChangeLog

            PR target/100310
            * gcc.target/i386/pr100310.c: New test.

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

* [Bug target/100310] [AVX512] Missing support for v{,p}expand* instructions that w/o mask operands
  2021-04-28  8:35 [Bug target/100310] New: [AVX512] Missing support for v{,p}expand* instructions that w/o mask operands crazylht at gmail dot com
                   ` (3 preceding siblings ...)
  2021-06-22  1:41 ` cvs-commit at gcc dot gnu.org
@ 2021-06-22  1:48 ` crazylht at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: crazylht at gmail dot com @ 2021-06-22  1:48 UTC (permalink / raw)
  To: gcc-bugs

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

Hongtao.liu <crazylht at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #5 from Hongtao.liu <crazylht at gmail dot com> ---
Fixed in GCC12 and GCC11.

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

end of thread, other threads:[~2021-06-22  1:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-28  8:35 [Bug target/100310] New: [AVX512] Missing support for v{,p}expand* instructions that w/o mask operands crazylht at gmail dot com
2021-05-07  2:22 ` [Bug target/100310] " crazylht at gmail dot com
2021-05-25  1:11 ` crazylht at gmail dot com
2021-06-22  1:35 ` cvs-commit at gcc dot gnu.org
2021-06-22  1:41 ` cvs-commit at gcc dot gnu.org
2021-06-22  1:48 ` crazylht at gmail 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).