public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/101910] New: tsvc regressions for -O2 -ftree-loop-vectorize at zen hardware
@ 2021-08-14 14:33 hubicka at gcc dot gnu.org
  2021-08-25  7:50 ` [Bug tree-optimization/101910] " crazylht at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hubicka at gcc dot gnu.org @ 2021-08-14 14:33 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101910
           Summary: tsvc regressions for -O2 -ftree-loop-vectorize at zen
                    hardware
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hubicka at gcc dot gnu.org
  Target Milestone: ---

https://lnt.opensuse.org/db_default/v4/CPP/latest_runs_report?younger_in_days=14&older_in_days=0&all_changes=on&min_percentage_change=0.001&revisions=e54acea9e5a821448af97c66e94a1e4c4f977d5d%2Ce87209a1269622017bf3d98bf71502dcb0f893aa%2C73474527aaa24d9236aca074c5494a07f40ce058&include_user_branches=on

shows large regressions on tsvc for benchmarks s253, s271, s318, s3110, s281,
s292, s443

Maybe generic model needs retuning here.

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

* [Bug tree-optimization/101910] tsvc regressions for -O2 -ftree-loop-vectorize at zen hardware
  2021-08-14 14:33 [Bug middle-end/101910] New: tsvc regressions for -O2 -ftree-loop-vectorize at zen hardware hubicka at gcc dot gnu.org
@ 2021-08-25  7:50 ` crazylht at gmail dot com
  2022-03-07 21:29 ` [Bug tree-optimization/101910] [12 Regression] " pinskia at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: crazylht at gmail dot com @ 2021-08-25  7:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Hongtao.liu <crazylht at gmail dot com> ---
We can only reproduce 5% regression for s3110, no regressions for others on
CLX.

And 5% regression seems to be related to code alignment which would impact
decoding efficiency, it could be considered as noise.

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

* [Bug tree-optimization/101910] [12 Regression] tsvc regressions for -O2 -ftree-loop-vectorize at zen hardware
  2021-08-14 14:33 [Bug middle-end/101910] New: tsvc regressions for -O2 -ftree-loop-vectorize at zen hardware hubicka at gcc dot gnu.org
  2021-08-25  7:50 ` [Bug tree-optimization/101910] " crazylht at gmail dot com
@ 2022-03-07 21:29 ` pinskia at gcc dot gnu.org
  2022-03-08 14:43 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-03-07 21:29 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|tsvc regressions for -O2    |[12 Regression] tsvc
                   |-ftree-loop-vectorize at    |regressions for -O2
                   |zen hardware                |-ftree-loop-vectorize at
                   |                            |zen hardware
   Target Milestone|---                         |12.0

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

* [Bug tree-optimization/101910] [12 Regression] tsvc regressions for -O2 -ftree-loop-vectorize at zen hardware
  2021-08-14 14:33 [Bug middle-end/101910] New: tsvc regressions for -O2 -ftree-loop-vectorize at zen hardware hubicka at gcc dot gnu.org
  2021-08-25  7:50 ` [Bug tree-optimization/101910] " crazylht at gmail dot com
  2022-03-07 21:29 ` [Bug tree-optimization/101910] [12 Regression] " pinskia at gcc dot gnu.org
@ 2022-03-08 14:43 ` rguenth at gcc dot gnu.org
  2022-03-08 14:53 ` marxin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-03-08 14:43 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
https://lnt.opensuse.org/db_default/v4/CPP/latest_runs_report shows regressions
for s422, in the GCC testsuite copy we do not vectorize this with -O2 since
it requires versioning for aliasing.

/home/rguenther/src/gcc3/gcc/testsuite/gcc.dg/vect/tsvc/vect-tsvc-s422.c:21:34:
missed:   versioning for alias required: can't determine dependence between
flat_2d_array[_1] and *_7
consider run-time aliasing test between flat_2d_array[_1] and *_7.  That's
because the code does

    xx = flat_2d_array + 4;

    for (int nl = 0; nl < 8*iterations; nl++) {
        for (int i = 0; i < LEN_1D; i++) {
            xx[i] = flat_2d_array[i + 8] + a[i];
        }
        dummy(a, b, c, d, e, aa, bb, cc, 0.);
    }

but 'dummy' is not known to not clobber 'xx'.  While xx is declared __restrict
that dummy call still gets in the way.

So I wonder what variant LNT exactly benchmarks.

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

* [Bug tree-optimization/101910] [12 Regression] tsvc regressions for -O2 -ftree-loop-vectorize at zen hardware
  2021-08-14 14:33 [Bug middle-end/101910] New: tsvc regressions for -O2 -ftree-loop-vectorize at zen hardware hubicka at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-03-08 14:43 ` rguenth at gcc dot gnu.org
@ 2022-03-08 14:53 ` marxin at gcc dot gnu.org
  2022-03-08 14:54 ` marxin at gcc dot gnu.org
  2022-03-08 15:06 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-03-08 14:53 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
> So I wonder what variant LNT exactly benchmarks.

It uses:
https://gitlab.suse.de/marxin/cpp-benchmarks

Note the benchmark tends to be extremely sensitive to a layout that
dramatically influences speed. Similarly, one can see the rapid difference
between ld.bfd and ld.gold.

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

* [Bug tree-optimization/101910] [12 Regression] tsvc regressions for -O2 -ftree-loop-vectorize at zen hardware
  2021-08-14 14:33 [Bug middle-end/101910] New: tsvc regressions for -O2 -ftree-loop-vectorize at zen hardware hubicka at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2022-03-08 14:53 ` marxin at gcc dot gnu.org
@ 2022-03-08 14:54 ` marxin at gcc dot gnu.org
  2022-03-08 15:06 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-03-08 14:54 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
E.g this one is really caused by system update:
https://lnt.opensuse.org/db_default/v4/CPP/graph?plot.0=176.922.0

So I would close this unless Honza bisects that and provides a perf numbers.

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

* [Bug tree-optimization/101910] [12 Regression] tsvc regressions for -O2 -ftree-loop-vectorize at zen hardware
  2021-08-14 14:33 [Bug middle-end/101910] New: tsvc regressions for -O2 -ftree-loop-vectorize at zen hardware hubicka at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2022-03-08 14:54 ` marxin at gcc dot gnu.org
@ 2022-03-08 15:06 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-03-08 15:06 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
I see.

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

end of thread, other threads:[~2022-03-08 15:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-14 14:33 [Bug middle-end/101910] New: tsvc regressions for -O2 -ftree-loop-vectorize at zen hardware hubicka at gcc dot gnu.org
2021-08-25  7:50 ` [Bug tree-optimization/101910] " crazylht at gmail dot com
2022-03-07 21:29 ` [Bug tree-optimization/101910] [12 Regression] " pinskia at gcc dot gnu.org
2022-03-08 14:43 ` rguenth at gcc dot gnu.org
2022-03-08 14:53 ` marxin at gcc dot gnu.org
2022-03-08 14:54 ` marxin at gcc dot gnu.org
2022-03-08 15:06 ` 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).