public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/97087] New: [11 regression] 70x slow -O3
@ 2020-09-17 14:49 dimhen at gmail dot com
  2020-09-17 14:55 ` [Bug c/97087] " dimhen at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dimhen at gmail dot com @ 2020-09-17 14:49 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97087
           Summary: [11 regression] 70x slow -O3
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dimhen at gmail dot com
  Target Milestone: ---

Created attachment 49234
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49234&action=edit
-O3 slowdown 70x

gcc -O3 -c y.i
r11-3192 0.06s
r11-3210 3.45s
r11-3234 3.61s

gcc -O2 -c y.i
r11-3192 0.05s
r11-3210 0.05s
r11-3234 0.05s

$ ~/arch-gcc/gcc_current/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/home/dimhen/arch-gcc/gcc_current/bin/gcc
COLLECT_LTO_WRAPPER=/home/dimhen/arch-gcc/gcc_current/libexec/gcc/x86_64-pc-linux-gnu/11.0.0/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
Target: x86_64-pc-linux-gnu
Configured with: /home/dimhen/src/gcc_current/configure
--prefix=/home/dimhen/arch-gcc/gcc_current
--enable-checking=yes,df,fold,rtl,extra --enable-languages=c,c++,lto
--disable-multilib --enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-gnu-unique-object --enable-linker-build-id
--with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl
--enable-offload-targets=nvptx-none --without-cuda-driver
--enable-gnu-indirect-function --enable-cet --with-tune=native
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.0.0 20200916 (experimental) [master revision
7d1be939e0f:e8cbe88c94b:aab6194d0898f5c592708fe2d44a14046b4d9097] (GCC)

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

* [Bug c/97087] [11 regression] 70x slow -O3
  2020-09-17 14:49 [Bug c/97087] New: [11 regression] 70x slow -O3 dimhen at gmail dot com
@ 2020-09-17 14:55 ` dimhen at gmail dot com
  2020-09-18  6:08 ` [Bug middle-end/97087] " rguenth at gcc dot gnu.org
  2020-09-18  6:36 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: dimhen at gmail dot com @ 2020-09-17 14:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Dmitry G. Dyachenko <dimhen at gmail dot com> ---
Created attachment 49235
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49235&action=edit
unreduced file

preprocessed openssl-1.1.0 crypto/blake2/blake2s.c
compilition aborted after ~1h

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

* [Bug middle-end/97087] [11 regression] 70x slow -O3
  2020-09-17 14:49 [Bug c/97087] New: [11 regression] 70x slow -O3 dimhen at gmail dot com
  2020-09-17 14:55 ` [Bug c/97087] " dimhen at gmail dot com
@ 2020-09-18  6:08 ` rguenth at gcc dot gnu.org
  2020-09-18  6:36 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-09-18  6:08 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Target Milestone|---                         |11.0
           Keywords|                            |needs-bisection
   Last reconfirmed|                            |2020-09-18
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed, mine.  Curious which change triggered it.

 tree slp vectorization             :   7.13 ( 98%)   0.01 (100%)   7.15 ( 98%)
    228 kB (  8%)

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

* [Bug middle-end/97087] [11 regression] 70x slow -O3
  2020-09-17 14:49 [Bug c/97087] New: [11 regression] 70x slow -O3 dimhen at gmail dot com
  2020-09-17 14:55 ` [Bug c/97087] " dimhen at gmail dot com
  2020-09-18  6:08 ` [Bug middle-end/97087] " rguenth at gcc dot gnu.org
@ 2020-09-18  6:36 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-09-18  6:36 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Dup, I have a patch.

*** This bug has been marked as a duplicate of bug 97098 ***

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

end of thread, other threads:[~2020-09-18  6:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-17 14:49 [Bug c/97087] New: [11 regression] 70x slow -O3 dimhen at gmail dot com
2020-09-17 14:55 ` [Bug c/97087] " dimhen at gmail dot com
2020-09-18  6:08 ` [Bug middle-end/97087] " rguenth at gcc dot gnu.org
2020-09-18  6:36 ` rguenth 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).