public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/104935] New: [12 Regression] 554.roms_r ELF binary increased with r12-7612-g69619acd8d9b5856
@ 2022-03-15 12:15 marxin at gcc dot gnu.org
  2022-03-15 12:25 ` [Bug tree-optimization/104935] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-03-15 12:15 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104935
           Summary: [12 Regression] 554.roms_r ELF binary increased with
                    r12-7612-g69619acd8d9b5856
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: rguenth at gcc dot gnu.org
            Blocks: 26163
  Target Milestone: ---

Can be seen here:
https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=475.528.4

increased (w/o debug info) from 1316272 B to 1414656 B.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163
[Bug 26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

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

* [Bug tree-optimization/104935] [12 Regression] 554.roms_r ELF binary increased with r12-7612-g69619acd8d9b5856
  2022-03-15 12:15 [Bug tree-optimization/104935] New: [12 Regression] 554.roms_r ELF binary increased with r12-7612-g69619acd8d9b5856 marxin at gcc dot gnu.org
@ 2022-03-15 12:25 ` rguenth at gcc dot gnu.org
  2022-03-15 12:56 ` marxin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-03-15 12:25 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Possibly back to the level it had before (or with GCC 11).  There's likely
quite some changes, somebody needs to extract examples.

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

* [Bug tree-optimization/104935] [12 Regression] 554.roms_r ELF binary increased with r12-7612-g69619acd8d9b5856
  2022-03-15 12:15 [Bug tree-optimization/104935] New: [12 Regression] 554.roms_r ELF binary increased with r12-7612-g69619acd8d9b5856 marxin at gcc dot gnu.org
  2022-03-15 12:25 ` [Bug tree-optimization/104935] " rguenth at gcc dot gnu.org
@ 2022-03-15 12:56 ` marxin at gcc dot gnu.org
  2022-03-16 15:03 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-03-15 12:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
And the revision is also responsible for slower build time here of 481.wrf:
https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=301.270.8

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

* [Bug tree-optimization/104935] [12 Regression] 554.roms_r ELF binary increased with r12-7612-g69619acd8d9b5856
  2022-03-15 12:15 [Bug tree-optimization/104935] New: [12 Regression] 554.roms_r ELF binary increased with r12-7612-g69619acd8d9b5856 marxin at gcc dot gnu.org
  2022-03-15 12:25 ` [Bug tree-optimization/104935] " rguenth at gcc dot gnu.org
  2022-03-15 12:56 ` marxin at gcc dot gnu.org
@ 2022-03-16 15:03 ` rguenth at gcc dot gnu.org
  2022-05-06  8:33 ` [Bug tree-optimization/104935] [12/13 " jakub at gcc dot gnu.org
  2022-07-26 12:42 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-03-16 15:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
So in 554.roms_r I see cases (like for mod_grid.F90:allocate_grid) where
we now vectorize more V4DI stores from a CTOR of scalars which reduces code
size so jump-threading now goes wild (from DOM threading), threading across
the long repetition of

  if (div == 0)
    ;
  else
    ... = ... / div;


  <vectorized blob>
  if (div == 0)
    ;
  else
    ... = ... / div;

where the vectorized blob is now smaller than the threading threshold.

For extract_sta.F90 we now vectorize two more loops with low VF (high VF
is not profitable) but using only strided loads (they are reductions)
which has extra size cost on the scalar epilogues plus we are vectorizing
conditional reductions here.  It doesn't look overly bad here.

There's also a TU with a size win btw, but overall we vectorize more.

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

* [Bug tree-optimization/104935] [12/13 Regression] 554.roms_r ELF binary increased with r12-7612-g69619acd8d9b5856
  2022-03-15 12:15 [Bug tree-optimization/104935] New: [12 Regression] 554.roms_r ELF binary increased with r12-7612-g69619acd8d9b5856 marxin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-03-16 15:03 ` rguenth at gcc dot gnu.org
@ 2022-05-06  8:33 ` jakub at gcc dot gnu.org
  2022-07-26 12:42 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-05-06  8:33 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 12.1 is being released, retargeting bugs to GCC 12.2.

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

* [Bug tree-optimization/104935] [12/13 Regression] 554.roms_r ELF binary increased with r12-7612-g69619acd8d9b5856
  2022-03-15 12:15 [Bug tree-optimization/104935] New: [12 Regression] 554.roms_r ELF binary increased with r12-7612-g69619acd8d9b5856 marxin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2022-05-06  8:33 ` [Bug tree-optimization/104935] [12/13 " jakub at gcc dot gnu.org
@ 2022-07-26 12:42 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-07-26 12:42 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think it's sufficiently understood and not a bug.

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

end of thread, other threads:[~2022-07-26 12:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-15 12:15 [Bug tree-optimization/104935] New: [12 Regression] 554.roms_r ELF binary increased with r12-7612-g69619acd8d9b5856 marxin at gcc dot gnu.org
2022-03-15 12:25 ` [Bug tree-optimization/104935] " rguenth at gcc dot gnu.org
2022-03-15 12:56 ` marxin at gcc dot gnu.org
2022-03-16 15:03 ` rguenth at gcc dot gnu.org
2022-05-06  8:33 ` [Bug tree-optimization/104935] [12/13 " jakub at gcc dot gnu.org
2022-07-26 12:42 ` 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).