public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/115334] New: new test case gcc.dg/vect/pr112325.c from r15-919-gef27b91b62c3aa fails
@ 2024-06-03 17:41 seurer at gcc dot gnu.org
  2024-06-04  0:19 ` [Bug other/115334] " liuhongt at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: seurer at gcc dot gnu.org @ 2024-06-03 17:41 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 115334
           Summary: new test case gcc.dg/vect/pr112325.c from
                    r15-919-gef27b91b62c3aa fails
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:ef27b91b62c3aa8841c02665dffa8914c742fd37, r15-919-gef27b91b62c3aa

This fails on both BE and LE on powerpc64.

make  -k check-gcc RUNTESTFLAGS="vect.exp=gcc.dg/vect/pr112325.c"
FAIL: gcc.dg/vect/pr112325.c scan-tree-dump-times vect "vectorized 1 loops" 1
FAIL: gcc.dg/vect/pr112325.c -flto -ffat-lto-objects  scan-tree-dump-times vect
"vectorized 1 loops" 1

commit ef27b91b62c3aa8841c02665dffa8914c742fd37 (HEAD)
Author: liuhongt <hongtao.liu@intel.com>
Date:   Tue Feb 27 15:34:57 2024 +0800

    Don't reduce estimated unrolled size for innermost loop.


Note that r15-987 does not fix this.

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

* [Bug other/115334] new test case gcc.dg/vect/pr112325.c from r15-919-gef27b91b62c3aa fails
  2024-06-03 17:41 [Bug other/115334] New: new test case gcc.dg/vect/pr112325.c from r15-919-gef27b91b62c3aa fails seurer at gcc dot gnu.org
@ 2024-06-04  0:19 ` liuhongt at gcc dot gnu.org
  2024-06-04  3:04 ` liuhongt at gcc dot gnu.org
  2024-06-07  1:34 ` [Bug testsuite/115334] " liuhongt at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: liuhongt at gcc dot gnu.org @ 2024-06-04  0:19 UTC (permalink / raw)
  To: gcc-bugs

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

Hongtao Liu <liuhongt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |liuhongt at gcc dot gnu.org

--- Comment #1 from Hongtao Liu <liuhongt at gcc dot gnu.org> ---
power backend set param_max_completely_peeled_insns to 400, so the inner loop
is still completed unrolled.
So the testcase needs extra option for power backend --param
max-completely-peeled-insns=200.

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

* [Bug other/115334] new test case gcc.dg/vect/pr112325.c from r15-919-gef27b91b62c3aa fails
  2024-06-03 17:41 [Bug other/115334] New: new test case gcc.dg/vect/pr112325.c from r15-919-gef27b91b62c3aa fails seurer at gcc dot gnu.org
  2024-06-04  0:19 ` [Bug other/115334] " liuhongt at gcc dot gnu.org
@ 2024-06-04  3:04 ` liuhongt at gcc dot gnu.org
  2024-06-07  1:34 ` [Bug testsuite/115334] " liuhongt at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: liuhongt at gcc dot gnu.org @ 2024-06-04  3:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Hongtao Liu <liuhongt at gcc dot gnu.org> ---
diff --git a/gcc/testsuite/gcc.dg/vect/pr112325.c
b/gcc/testsuite/gcc.dg/vect/pr112325.c
index dea6cca3b86..143903beab2 100644
--- a/gcc/testsuite/gcc.dg/vect/pr112325.c
+++ b/gcc/testsuite/gcc.dg/vect/pr112325.c
@@ -3,6 +3,7 @@
 /* { dg-require-effective-target vect_int } */
 /* { dg-require-effective-target vect_shift } */
 /* { dg-additional-options "-mavx2" { target x86_64-*-* i?86-*-* } } */
+/* { dg-additional-options "--param max-completely-peeled-insns=200" { target
powerpc64*-*-* } } */

 typedef unsigned short ggml_fp16_t;
 static float table_f32_f16[1 << 16];

Does this patch work for you?

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

* [Bug testsuite/115334] new test case gcc.dg/vect/pr112325.c from r15-919-gef27b91b62c3aa fails
  2024-06-03 17:41 [Bug other/115334] New: new test case gcc.dg/vect/pr112325.c from r15-919-gef27b91b62c3aa fails seurer at gcc dot gnu.org
  2024-06-04  0:19 ` [Bug other/115334] " liuhongt at gcc dot gnu.org
  2024-06-04  3:04 ` liuhongt at gcc dot gnu.org
@ 2024-06-07  1:34 ` liuhongt at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: liuhongt at gcc dot gnu.org @ 2024-06-07  1:34 UTC (permalink / raw)
  To: gcc-bugs

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

Hongtao Liu <liuhongt at gcc dot gnu.org> changed:

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

--- Comment #3 from Hongtao Liu <liuhongt at gcc dot gnu.org> ---
Should be fixed by r15-1088-gb24f2954dbc13d

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

end of thread, other threads:[~2024-06-07  1:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-03 17:41 [Bug other/115334] New: new test case gcc.dg/vect/pr112325.c from r15-919-gef27b91b62c3aa fails seurer at gcc dot gnu.org
2024-06-04  0:19 ` [Bug other/115334] " liuhongt at gcc dot gnu.org
2024-06-04  3:04 ` liuhongt at gcc dot gnu.org
2024-06-07  1:34 ` [Bug testsuite/115334] " liuhongt 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).