public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/98911] New: Add folding and remove expanders for x86 *pcmp{et,gt}* builtins
@ 2021-02-01  9:26 jakub at gcc dot gnu.org
  2021-02-01  9:26 ` [Bug target/98911] " jakub at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-02-01  9:26 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98911
           Summary: Add folding and remove expanders for x86 *pcmp{et,gt}*
                    builtins
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
                CC: crazylht at gmail dot com, jakub at gcc dot gnu.org,
                    marxin at gcc dot gnu.org, unassigned at gcc dot gnu.org
        Depends on: 98833
  Target Milestone: ---
              Host: x86_64-linux
            Target: x86_64-linux-gnu

+++ This bug was initially created as a clone of Bug #98833 +++

This PR is to capture:
Will delete relevant expanders and fold those builtins in GCC12.
part of that PR.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98833
[Bug 98833] [11 Regression] ICE in extract_insn, at recog.c:2769 since
r11-6849-gee78c20e74d30284

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

* [Bug target/98911] Add folding and remove expanders for x86 *pcmp{et,gt}* builtins
  2021-02-01  9:26 [Bug target/98911] New: Add folding and remove expanders for x86 *pcmp{et,gt}* builtins jakub at gcc dot gnu.org
@ 2021-02-01  9:26 ` jakub at gcc dot gnu.org
  2021-02-01  9:26 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-02-01  9:26 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0

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

* [Bug target/98911] Add folding and remove expanders for x86 *pcmp{et,gt}* builtins
  2021-02-01  9:26 [Bug target/98911] New: Add folding and remove expanders for x86 *pcmp{et,gt}* builtins 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
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-02-01  9:26 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98911
Bug 98911 depends on bug 98833, which changed state.

Bug 98833 Summary: [11 Regression] ICE in extract_insn, at recog.c:2769 since r11-6849-gee78c20e74d30284
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98833

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

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

* [Bug target/98911] Add folding and remove expanders for x86 *pcmp{et,gt}* builtins
  2021-02-01  9:26 [Bug target/98911] New: Add folding and remove expanders for x86 *pcmp{et,gt}* builtins 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
  2021-04-25  1:18 ` crazylht at gmail dot com
  2021-08-17  6:24 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-04-25  1:18 UTC (permalink / raw)
  To: gcc-bugs

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.

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

* [Bug target/98911] Add folding and remove expanders for x86 *pcmp{et,gt}* builtins
  2021-02-01  9:26 [Bug target/98911] New: Add folding and remove expanders for x86 *pcmp{et,gt}* builtins jakub at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2021-04-25  1:18 ` cvs-commit at gcc dot gnu.org
@ 2021-04-25  1:18 ` crazylht at gmail dot com
  2021-08-17  6:24 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: crazylht at gmail dot com @ 2021-04-25  1:18 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

* [Bug target/98911] Add folding and remove expanders for x86 *pcmp{et,gt}* builtins
  2021-02-01  9:26 [Bug target/98911] New: Add folding and remove expanders for x86 *pcmp{et,gt}* builtins jakub at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2021-04-25  1:18 ` crazylht at gmail dot com
@ 2021-08-17  6:24 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-17  6:24 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed so closing.

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

end of thread, other threads:[~2021-08-17  6:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-01  9:26 [Bug target/98911] New: Add folding and remove expanders for x86 *pcmp{et,gt}* builtins 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
2021-04-25  1:18 ` crazylht at gmail dot com
2021-08-17  6:24 ` pinskia at gcc dot gnu.org

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