public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/112599] New: RISC-V regression testsuite errors with rv64gcv_zvl1024b
@ 2023-11-17 21:19 patrick at rivosinc dot com
  2023-11-17 21:21 ` [Bug target/112599] " patrick at rivosinc dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: patrick at rivosinc dot com @ 2023-11-17 21:19 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 112599
           Summary: RISC-V regression testsuite errors with
                    rv64gcv_zvl1024b
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: patrick at rivosinc dot com
  Target Milestone: ---

Created attachment 56626
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56626&action=edit
rv64gcv_zvl1024b testsuite failures 2023-11-17

Current testsuite status of rv64gcv_zvl1024b on GCC
5cb13173e85537a8a423b7b22b60ca3b6505f91e

I've started running zvl variants 128-1024b weekly on the postcommit CI. This
is my first time running these so if any of the failures look odd poke me here
or via email and I can dig into/share the logs.

Artifacts for this run can be downloaded here:
https://github.com/patrick-rivos/gcc-postcommit-ci/actions/runs/6898356494
Likely artifacts of interest:
gcc-linux-rv64gcv_zvl-lp64d-5cb13173e85537a8a423b7b22b60ca3b6505f91e-multilib-debug-output.log
gcc-linux-rv64gcv_zvl-lp64d-5cb13173e85537a8a423b7b22b60ca3b6505f91e-multilib-report.log 
gcc-linux-rv64gcv_zvl-lp64d-5cb13173e85537a8a423b7b22b60ca3b6505f91e-multilib-sum-files 

This is just a tracking issue, similar to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111311

I've attached the current results for rv64gcv_zvl1024b with glibc v2.37 on QEMU
v8.1.2

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

* [Bug target/112599] RISC-V regression testsuite errors with rv64gcv_zvl1024b
  2023-11-17 21:19 [Bug target/112599] New: RISC-V regression testsuite errors with rv64gcv_zvl1024b patrick at rivosinc dot com
@ 2023-11-17 21:21 ` patrick at rivosinc dot com
  2023-11-21 17:47 ` patrick at rivosinc dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: patrick at rivosinc dot com @ 2023-11-17 21:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Patrick O'Neill <patrick at rivosinc dot com> ---
Related issues:
128: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112583
256: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112597
512: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112598
1024: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112599

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

* [Bug target/112599] RISC-V regression testsuite errors with rv64gcv_zvl1024b
  2023-11-17 21:19 [Bug target/112599] New: RISC-V regression testsuite errors with rv64gcv_zvl1024b patrick at rivosinc dot com
  2023-11-17 21:21 ` [Bug target/112599] " patrick at rivosinc dot com
@ 2023-11-21 17:47 ` patrick at rivosinc dot com
  2023-11-23 12:09 ` cvs-commit at gcc dot gnu.org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: patrick at rivosinc dot com @ 2023-11-21 17:47 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick O'Neill <patrick at rivosinc dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #56626|0                           |1
        is obsolete|                            |

--- Comment #2 from Patrick O'Neill <patrick at rivosinc dot com> ---
Created attachment 56662
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56662&action=edit
rv64gcv_zvl1024b testsuite failures 2023-11-21

Tested with hash 30d8188e6d1b450533ab0055b951ebfc75022219

Comparison with zvl128b (pr112583):

Resolved failures (present on zvl128b but not zvl1024b):
XPASS: g++.dg/tree-ssa/pr83518.C  -std=gnu++14  scan-tree-dump optimized
"return 15;"
XPASS: g++.dg/tree-ssa/pr83518.C  -std=gnu++17  scan-tree-dump optimized
"return 15;"
XPASS: g++.dg/tree-ssa/pr83518.C  -std=gnu++20  scan-tree-dump optimized
"return 15;"
XPASS: g++.dg/tree-ssa/pr83518.C  -std=gnu++98  scan-tree-dump optimized
"return 15;"
XPASS: gcc.dg/tree-ssa/pr84512.c scan-tree-dump optimized "return 285;"
FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/gather_load_run-12.c
execution test
FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/gather_load_run-12.c
execution test
FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/gather_load_run-12.c
execution test
FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/gather_load_run-12.c
execution test
FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/gather_load_run-12.c
execution test
FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/gather_load_run-12.c
execution test

New failures (present on zvl1024b but not zvl128b):
FAIL: gfortran.dg/matmul_1.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/matmul_1.f90   -O3 -g  execution test
FAIL: gfortran.dg/maxval_char_3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/maxval_char_3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/maxval_char_3.f90   -O3 -g  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/maxval_char_3.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/maxval_char_4.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/maxval_char_4.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/maxval_char_4.f90   -O3 -g  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/maxval_char_4.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/minlocval_3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/minlocval_3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/minlocval_3.f90   -O3 -g  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/minlocval_3.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/minval_char_3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/minval_char_3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/minval_char_3.f90   -O3 -g  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/minval_char_3.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/minval_char_4.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/minval_char_4.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/minval_char_4.f90   -O3 -g  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/minval_char_4.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/proc_ptr_comp_12.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/proc_ptr_comp_12.f90   -O3 -g  execution test
FAIL: gcc.c-torture/execute/990128-1.c   -O2  execution test
FAIL: gcc.c-torture/execute/990128-1.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
FAIL: gcc.c-torture/execute/990128-1.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  execution test
FAIL: gcc.c-torture/execute/990128-1.c   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
FAIL: gcc.c-torture/execute/990128-1.c   -O3 -g  execution test
FAIL: gcc.dg/no-strict-overflow-6.c scan-tree-dump optimized "return 0"
FAIL: gcc.dg/pr30957-1.c execution test
FAIL: gcc.dg/pr30957-1.c scan-rtl-dump loop2_unroll "Expanding Accumulator"
FAIL: gcc.dg/pr34263.c execution test
FAIL: gcc.dg/pr53265.c (test for excess errors)
FAIL: gcc.dg/torture/pr58955-2.c   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  execution test
FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c scan-tree-dump-times ivopts "PHI <p_" 1
FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c scan-tree-dump-times ivopts "PHI" 1
FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c scan-tree-dump-times ivopts "p_[0-9]* <" 1
FAIL: gcc.dg/tree-ssa/pr32044.c scan-tree-dump-times optimized " / " 0
FAIL: gcc.dg/tree-ssa/scev-12.c scan-tree-dump-times ivopts " 
Type:\\tREFERENCE ADDRESS\n" 1
FAIL: gcc.dg/vect/pr65518.c -flto -ffat-lto-objects  scan-tree-dump vect "using
gather/scatter for strided/grouped access"
FAIL: gcc.dg/vect/pr65518.c -flto -ffat-lto-objects execution test
FAIL: gcc.dg/vect/pr65518.c scan-tree-dump vect "using gather/scatter for
strided/grouped access"
XPASS: gcc.dg/vect/slp-reduc-7.c -flto -ffat-lto-objects  scan-tree-dump-times
vect "vectorizing stmts using SLP" 1
XPASS: gcc.dg/vect/slp-reduc-7.c scan-tree-dump-times vect "vectorizing stmts
using SLP" 1
FAIL: gcc.dg/vect/slp-reduc-sad-2.c -flto -ffat-lto-objects  scan-tree-dump-not
vect "access with gaps requires scalar epilogue loop"
FAIL: gcc.dg/vect/slp-reduc-sad-2.c scan-tree-dump-not vect "access with gaps
requires scalar epilogue loop"
FAIL: gcc.dg/vect/trapv-vect-reduc-4.c scan-tree-dump-times vect "using an
in-order \\(fold-left\\) reduction" 1
FAIL: gcc.dg/vect/vect-98-big-array.c -flto -ffat-lto-objects execution test
FAIL: gcc.dg/vect/vect-98-big-array.c execution test
XPASS: gcc.dg/vect/vect-live-slp-3.c -flto -ffat-lto-objects 
scan-tree-dump-times vect "vectorizing stmts using SLP" 4
XPASS: gcc.dg/vect/vect-live-slp-3.c scan-tree-dump-times vect "vectorizing
stmts using SLP" 4
FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/strided_store_run-2.c (test
for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/strided_store_run-2.c (test
for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/strided_store_run-2.c (test
for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-1.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-1.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-16.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-16.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-17.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-17.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-3.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-3.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-5.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-5.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-6.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-6.c execution test
FAIL: gcc.target/riscv/rvv/autovec/reduc/reduc_run-9.c execution test
FAIL: gcc.target/riscv/rvv/autovec/reduc/reduc_run-9.c execution test
FAIL: gcc.target/riscv/rvv/autovec/reduc/reduc_run-9.c execution test
FAIL: gcc.target/riscv/rvv/autovec/reduc/reduc_run-9.c execution test

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

* [Bug target/112599] RISC-V regression testsuite errors with rv64gcv_zvl1024b
  2023-11-17 21:19 [Bug target/112599] New: RISC-V regression testsuite errors with rv64gcv_zvl1024b patrick at rivosinc dot com
  2023-11-17 21:21 ` [Bug target/112599] " patrick at rivosinc dot com
  2023-11-21 17:47 ` patrick at rivosinc dot com
@ 2023-11-23 12:09 ` cvs-commit at gcc dot gnu.org
  2023-11-24  6:34 ` cvs-commit at gcc dot gnu.org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-11-23 12:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Robin Dapp <rdapp@gcc.gnu.org>:

https://gcc.gnu.org/g:35a688f434159a923420310860c5bc721e29a741

commit r14-5777-g35a688f434159a923420310860c5bc721e29a741
Author: Juzhe-Zhong <juzhe.zhong@rivai.ai>
Date:   Thu Nov 23 19:59:52 2023 +0800

    RISC-V: Disable AVL propagation of vrgather instruction

    This patch fixes following FAILs in zvl1024b of both RV32/RV64:

    FAIL: gcc.c-torture/execute/990128-1.c   -O2  execution test
    FAIL: gcc.c-torture/execute/990128-1.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
    FAIL: gcc.c-torture/execute/990128-1.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  execution test
    FAIL: gcc.c-torture/execute/990128-1.c   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
    FAIL: gcc.c-torture/execute/990128-1.c   -O3 -g  execution test
    FAIL: gcc.dg/torture/pr58955-2.c   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  execution test

    The root case can be simpliy described in this following small case:

    https://godbolt.org/z/7GaxbEGzG

    typedef int64_t v1024b __attribute__ ((vector_size (128)));

    void foo (void *out, void *in, int64_t a, int64_t b)
    {
      v1024b v = {a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a};
      v1024b v2 = {b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b};
      v1024b index = *(v1024b*)in;
      v1024b v3 = __builtin_shuffle (v, v2, index);
      __riscv_vse64_v_i64m1 (out, (vint64m1_t)v3, 10);
    }

    Incorrect ASM:

    foo:
            li      a5,31
            vsetivli        zero,10,e64,m1,ta,mu
            vmv.v.x v2,a5
            vl1re64.v       v1,0(a1)
            vmv.v.x v4,a2
            vand.vv v1,v1,v2
            vmv.v.x v3,a3
            vmsgeu.vi       v0,v1,16
            vrgather.vv     v2,v4,v1       --> AVL = VLMAX according to codes.
            vadd.vi v1,v1,-16
            vrgather.vv     v2,v3,v1,v0.t  --> AVL = VLMAX according to codes.
            vse64.v v2,0(a0)               --> AVL = 10 according to codes.
            ret

    For vrgather dest, source, index instruction, when index may has the value
> the following store AVL
    that is index value > 10.  In this situation, the codes above will end up
with:

    The source vector of vrgather has undefined value on index >= AVL (which is
10 in this case).

    So disable AVL propagation for vrgather instruction.

            PR target/112599
            PR target/112670

    gcc/ChangeLog:

            * config/riscv/riscv-avlprop.cc (alv_can_be_propagated_p): New
function.
            (vlmax_ta_p): Disable vrgather AVL propagation.

    gcc/testsuite/ChangeLog:

            * gcc.target/riscv/rvv/autovec/pr112599-1.c: New test.

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

* [Bug target/112599] RISC-V regression testsuite errors with rv64gcv_zvl1024b
  2023-11-17 21:19 [Bug target/112599] New: RISC-V regression testsuite errors with rv64gcv_zvl1024b patrick at rivosinc dot com
                   ` (2 preceding siblings ...)
  2023-11-23 12:09 ` cvs-commit at gcc dot gnu.org
@ 2023-11-24  6:34 ` cvs-commit at gcc dot gnu.org
  2023-11-26  9:15 ` cvs-commit at gcc dot gnu.org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-11-24  6:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Pan Li <panli@gcc.gnu.org>:

https://gcc.gnu.org/g:d83013b88b74d1f1f774d94ca950d3b6dba26e5d

commit r14-5812-gd83013b88b74d1f1f774d94ca950d3b6dba26e5d
Author: Juzhe-Zhong <juzhe.zhong@rivai.ai>
Date:   Fri Nov 24 07:18:00 2023 +0800

    RISC-V: Optimize a special case of VLA SLP

    When working on fixing bugs of zvl1024b. I notice a special VLA SLP case
    can be better optimized.

    v = vec_perm (op1, op2, { nunits - 1, nunits, nunits + 1, ... })

    Before this patch, we are using genriec approach (vrgather):

    vid
    vadd.vx
    vrgather
    vmsgeu
    vrgather

    With this patch, we use vec_extract + slide1up:

    scalar = vec_extract (last element of op1)
    v = slide1up (op2, scalar)

    Tested on zvl128b/zvl256b/zvl512b/zvl1024b of both RV32 and RV64 no
regression.

    Ok for trunk ?

            PR target/112599

    gcc/ChangeLog:

            * config/riscv/riscv-v.cc (shuffle_extract_and_slide1up_patterns):
New function.
            (expand_vec_perm_const_1): Add new optimization.

    gcc/testsuite/ChangeLog:

            * gcc.target/riscv/rvv/autovec/pr112599-2.c: New test.

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

* [Bug target/112599] RISC-V regression testsuite errors with rv64gcv_zvl1024b
  2023-11-17 21:19 [Bug target/112599] New: RISC-V regression testsuite errors with rv64gcv_zvl1024b patrick at rivosinc dot com
                   ` (3 preceding siblings ...)
  2023-11-24  6:34 ` cvs-commit at gcc dot gnu.org
@ 2023-11-26  9:15 ` cvs-commit at gcc dot gnu.org
  2023-11-27 17:57 ` patrick at rivosinc dot com
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-11-26  9:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Pan Li <panli@gcc.gnu.org>:

https://gcc.gnu.org/g:ec84a1e7a18f65858a1b129ff80cb32e64cf151b

commit r14-5851-gec84a1e7a18f65858a1b129ff80cb32e64cf151b
Author: Juzhe-Zhong <juzhe.zhong@rivai.ai>
Date:   Sun Nov 26 17:13:55 2023 +0800

    RISC-V: Disable AVL propagation of slidedown instructions

    Re-check again RVV ISA, I find that we can't allow AVL propagation not only
    for vrgather, but also slidedown instructions.

    Committed.

            PR target/112599

    gcc/ChangeLog:

            * config/riscv/riscv-avlprop.cc (avl_can_be_propagated_p): Add
slidedown.
            (vlmax_ta_p): Ditto.
            (pass_avlprop::get_vlmax_ta_preferred_avl): Ditto.

    gcc/testsuite/ChangeLog:

            * gcc.target/riscv/rvv/base/vf_avl-1.c: Adapt test.
            * gcc.target/riscv/rvv/autovec/pr112599-3.c: New test.

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

* [Bug target/112599] RISC-V regression testsuite errors with rv64gcv_zvl1024b
  2023-11-17 21:19 [Bug target/112599] New: RISC-V regression testsuite errors with rv64gcv_zvl1024b patrick at rivosinc dot com
                   ` (4 preceding siblings ...)
  2023-11-26  9:15 ` cvs-commit at gcc dot gnu.org
@ 2023-11-27 17:57 ` patrick at rivosinc dot com
  2023-12-04 21:41 ` patrick at rivosinc dot com
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: patrick at rivosinc dot com @ 2023-11-27 17:57 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick O'Neill <patrick at rivosinc dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #56662|0                           |1
        is obsolete|                            |

--- Comment #6 from Patrick O'Neill <patrick at rivosinc dot com> ---
Created attachment 56701
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56701&action=edit
rv64gcv_zvl1024b testsuite failures 2023-11-25

Tested with hash 9866c98e1015d98b8fc346d7cf73a0070cce5f69
CI run:
https://github.com/patrick-rivos/gcc-postcommit-ci/actions/runs/6988591247

Comparison with zvl128b (pr112583):

Resolved failures (present on zvl128b but not zvl1024b):
XPASS: g++.dg/tree-ssa/pr83518.C  -std=gnu++14  scan-tree-dump optimized
"return 15;"
XPASS: g++.dg/tree-ssa/pr83518.C  -std=gnu++17  scan-tree-dump optimized
"return 15;"
XPASS: g++.dg/tree-ssa/pr83518.C  -std=gnu++20  scan-tree-dump optimized
"return 15;"
XPASS: g++.dg/tree-ssa/pr83518.C  -std=gnu++98  scan-tree-dump optimized
"return 15;"
XPASS: gcc.dg/tree-ssa/pr84512.c scan-tree-dump optimized "return 285;"

New failures (present on zvl1024b but not zvl128b):
FAIL: gfortran.dg/matmul_1.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/matmul_1.f90   -O3 -g  execution test
FAIL: gfortran.dg/maxval_char_3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/maxval_char_3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/maxval_char_3.f90   -O3 -g  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/maxval_char_3.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/maxval_char_4.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/maxval_char_4.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/maxval_char_4.f90   -O3 -g  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/maxval_char_4.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/minlocval_3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/minlocval_3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/minlocval_3.f90   -O3 -g  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/minlocval_3.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/minval_char_3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/minval_char_3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/minval_char_3.f90   -O3 -g  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/minval_char_3.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/minval_char_4.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/minval_char_4.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/minval_char_4.f90   -O3 -g  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/minval_char_4.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/proc_ptr_comp_12.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/proc_ptr_comp_12.f90   -O3 -g  execution test
FAIL: gcc.dg/no-strict-overflow-6.c scan-tree-dump optimized "return 0"
FAIL: gcc.dg/pr30957-1.c execution test
FAIL: gcc.dg/pr30957-1.c scan-rtl-dump loop2_unroll "Expanding Accumulator"
FAIL: gcc.dg/pr53265.c (test for excess errors)
FAIL: gcc.dg/torture/pr58955-2.c   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  execution test
FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c scan-tree-dump-times ivopts "PHI <p_" 1
FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c scan-tree-dump-times ivopts "PHI" 1
FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c scan-tree-dump-times ivopts "p_[0-9]* <" 1
FAIL: gcc.dg/tree-ssa/pr32044.c scan-tree-dump-times optimized " / " 0
FAIL: gcc.dg/tree-ssa/scev-12.c scan-tree-dump-times ivopts " 
Type:\\tREFERENCE ADDRESS\n" 1
FAIL: gcc.dg/vect/pr65518.c -flto -ffat-lto-objects  scan-tree-dump vect "using
gather/scatter for strided/grouped access"
FAIL: gcc.dg/vect/pr65518.c scan-tree-dump vect "using gather/scatter for
strided/grouped access"
XPASS: gcc.dg/vect/slp-reduc-7.c -flto -ffat-lto-objects  scan-tree-dump-times
vect "vectorizing stmts using SLP" 1
XPASS: gcc.dg/vect/slp-reduc-7.c scan-tree-dump-times vect "vectorizing stmts
using SLP" 1
FAIL: gcc.dg/vect/slp-reduc-sad-2.c -flto -ffat-lto-objects  scan-tree-dump-not
vect "access with gaps requires scalar epilogue loop"
FAIL: gcc.dg/vect/slp-reduc-sad-2.c scan-tree-dump-not vect "access with gaps
requires scalar epilogue loop"
FAIL: gcc.dg/vect/trapv-vect-reduc-4.c scan-tree-dump-times vect "using an
in-order \\(fold-left\\) reduction" 1
XPASS: gcc.dg/vect/vect-live-slp-3.c -flto -ffat-lto-objects 
scan-tree-dump-times vect "vectorizing stmts using SLP" 4
XPASS: gcc.dg/vect/vect-live-slp-3.c scan-tree-dump-times vect "vectorizing
stmts using SLP" 4
FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/strided_store_run-2.c (test
for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/strided_store_run-2.c (test
for excess errors)
FAIL: gcc.target/riscv/rvv/base/cpymem-1.c check-function-bodies f3
FAIL: gcc.target/riscv/rvv/base/cpymem-2.c check-function-bodies f1
FAIL: gcc.target/riscv/rvv/base/cpymem-2.c check-function-bodies f2
FAIL: gcc.target/riscv/rvv/base/cpymem-2.c check-function-bodies f3


Comparison with hash 30d8188e6d1b450533ab0055b951ebfc75022219 zvl1024b
(previous report):

Resolved failures (improved from 30d8188e6d1b450533ab0055b951ebfc75022219)
FAIL: gfortran.dg/gomp/pr27573.f90   -O  (internal compiler error:
verify_gimple failed)
FAIL: gfortran.dg/gomp/pr27573.f90   -O  (test for excess errors)
FAIL: gcc.c-torture/execute/990128-1.c   -O2  execution test
FAIL: gcc.c-torture/execute/990128-1.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
FAIL: gcc.c-torture/execute/990128-1.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  execution test
FAIL: gcc.c-torture/execute/990128-1.c   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
FAIL: gcc.c-torture/execute/990128-1.c   -O3 -g  execution test
FAIL: gcc.dg/pr34263.c execution test
FAIL: gcc.dg/gomp/pr27573.c (internal compiler error: verify_gimple failed)
FAIL: gcc.dg/gomp/pr27573.c (test for excess errors)
ERROR: gcc.dg/tree-ssa/return-value-range-1.c: 1: syntax error for " dg-do 1
ling "
ERROR: gcc.dg/tree-ssa/return-value-range-1.c: 1: syntax error for " dg-do 1
ling "
FAIL: gcc.dg/tree-ssa/ssa-lim-11.c scan-tree-dump-times lim2 "Executing store
motion of __gcov0.access_buf\\[[12]\\] from loop 1" 2
FAIL: gcc.dg/vect/pr65518.c -flto -ffat-lto-objects execution test
FAIL: gcc.dg/vect/vect-98-big-array.c -flto -ffat-lto-objects execution test
FAIL: gcc.dg/vect/vect-98-big-array.c execution test
FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/strided_store_run-2.c (test
for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-1.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-1.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-16.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-16.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-17.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-17.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-3.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-3.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-5.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-5.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-6.c execution test
FAIL: gcc.target/riscv/rvv/autovec/partial/slp_run-6.c execution test
FAIL: gcc.target/riscv/rvv/autovec/reduc/reduc_run-9.c execution test
FAIL: gcc.target/riscv/rvv/autovec/reduc/reduc_run-9.c execution test
FAIL: gcc.target/riscv/rvv/autovec/reduc/reduc_run-9.c execution test
FAIL: gcc.target/riscv/rvv/autovec/reduc/reduc_run-9.c execution test

New failures (regression from 30d8188e6d1b450533ab0055b951ebfc75022219)
FAIL: gcc.dg/tree-prof/time-profiler-3.c scan-ipa-dump-times profile "Read
tp_first_run: 0" 1
FAIL: gcc.dg/tree-prof/time-profiler-3.c scan-ipa-dump-times profile "Read
tp_first_run: 2" 1
FAIL: gcc.target/riscv/rvv/base/cpymem-1.c check-function-bodies f3
FAIL: gcc.target/riscv/rvv/base/cpymem-2.c check-function-bodies f1
FAIL: gcc.target/riscv/rvv/base/cpymem-2.c check-function-bodies f2
FAIL: gcc.target/riscv/rvv/base/cpymem-2.c check-function-bodies f3

The time-profiler-3.c issue is generic and recorded here: pr112689

This commit is slightly outdated and does not include the fix for pr112661.

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

* [Bug target/112599] RISC-V regression testsuite errors with rv64gcv_zvl1024b
  2023-11-17 21:19 [Bug target/112599] New: RISC-V regression testsuite errors with rv64gcv_zvl1024b patrick at rivosinc dot com
                   ` (5 preceding siblings ...)
  2023-11-27 17:57 ` patrick at rivosinc dot com
@ 2023-12-04 21:41 ` patrick at rivosinc dot com
  2023-12-11 23:59 ` patrick at rivosinc dot com
  2024-01-24 23:53 ` patrick at rivosinc dot com
  8 siblings, 0 replies; 10+ messages in thread
From: patrick at rivosinc dot com @ 2023-12-04 21:41 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick O'Neill <patrick at rivosinc dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #56701|0                           |1
        is obsolete|                            |

--- Comment #7 from Patrick O'Neill <patrick at rivosinc dot com> ---
Created attachment 56795
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56795&action=edit
rv64gcv_zvl1024b testsuite failures 2023-12-03

Tested with hash 806789e6daa39ab0503d91c71b3faeb5d5cdd317
CI run:
https://github.com/patrick-rivos/gcc-postcommit-ci/actions/runs/7077949347

Comparison with zvl128b (pr112583):

Resolved failures (present on zvl128b but not zvl1024b):
XPASS: g++.dg/tree-ssa/pr83518.C  -std=gnu++14  scan-tree-dump optimized
"return 15;"
XPASS: g++.dg/tree-ssa/pr83518.C  -std=gnu++17  scan-tree-dump optimized
"return 15;"
XPASS: g++.dg/tree-ssa/pr83518.C  -std=gnu++20  scan-tree-dump optimized
"return 15;"
XPASS: g++.dg/tree-ssa/pr83518.C  -std=gnu++98  scan-tree-dump optimized
"return 15;"
XPASS: gcc.dg/tree-ssa/pr84512.c scan-tree-dump optimized "return 285;"

New failures (present on zvl1024b but not zvl128b):
FAIL: gfortran.dg/matmul_1.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/matmul_1.f90   -O3 -g  execution test
FAIL: gfortran.dg/proc_ptr_comp_12.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/proc_ptr_comp_12.f90   -O3 -g  execution test
FAIL: gcc.dg/no-strict-overflow-6.c scan-tree-dump optimized "return 0"
FAIL: gcc.dg/pr30957-1.c execution test
FAIL: gcc.dg/pr30957-1.c scan-rtl-dump loop2_unroll "Expanding Accumulator"
FAIL: gcc.dg/pr53265.c (test for excess errors)
FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c scan-tree-dump-times ivopts "PHI <p_" 1
FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c scan-tree-dump-times ivopts "PHI" 1
FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c scan-tree-dump-times ivopts "p_[0-9]* <" 1
FAIL: gcc.dg/tree-ssa/pr32044.c scan-tree-dump-times optimized " / " 0
FAIL: gcc.dg/tree-ssa/scev-12.c scan-tree-dump-times ivopts " 
Type:\\tREFERENCE ADDRESS\n" 1
FAIL: gcc.dg/vect/pr65518.c -flto -ffat-lto-objects  scan-tree-dump vect "using
gather/scatter for strided/grouped access"
FAIL: gcc.dg/vect/pr65518.c scan-tree-dump vect "using gather/scatter for
strided/grouped access"
XPASS: gcc.dg/vect/slp-reduc-7.c -flto -ffat-lto-objects  scan-tree-dump-times
vect "vectorizing stmts using SLP" 1
XPASS: gcc.dg/vect/slp-reduc-7.c scan-tree-dump-times vect "vectorizing stmts
using SLP" 1
FAIL: gcc.dg/vect/slp-reduc-sad-2.c -flto -ffat-lto-objects  scan-tree-dump-not
vect "access with gaps requires scalar epilogue loop"
FAIL: gcc.dg/vect/slp-reduc-sad-2.c scan-tree-dump-not vect "access with gaps
requires scalar epilogue loop"
FAIL: gcc.dg/vect/trapv-vect-reduc-4.c scan-tree-dump-times vect "using an
in-order \\(fold-left\\) reduction" 1
XPASS: gcc.dg/vect/vect-live-slp-3.c -flto -ffat-lto-objects 
scan-tree-dump-times vect "vectorizing stmts using SLP" 4
XPASS: gcc.dg/vect/vect-live-slp-3.c scan-tree-dump-times vect "vectorizing
stmts using SLP" 4
FAIL: gcc.target/riscv/rvv/base/cpymem-1.c check-function-bodies f3
FAIL: gcc.target/riscv/rvv/base/cpymem-2.c check-function-bodies f1
FAIL: gcc.target/riscv/rvv/base/cpymem-2.c check-function-bodies f2
FAIL: gcc.target/riscv/rvv/base/cpymem-2.c check-function-bodies f3


Comparison with hash 9866c98e1015d98b8fc346d7cf73a0070cce5f69 zvl1024b
(previous report):

Resolved:
FAIL: g++.dg/contracts/contracts-tmpl-spec2.C   output pattern test
FAIL: gfortran.dg/maxval_char_3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/maxval_char_3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/maxval_char_3.f90   -O3 -g  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/maxval_char_3.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/maxval_char_4.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/maxval_char_4.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/maxval_char_4.f90   -O3 -g  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/maxval_char_4.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/minlocval_3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/minlocval_3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/minlocval_3.f90   -O3 -g  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/minlocval_3.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/minval_char_3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/minval_char_3.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/minval_char_3.f90   -O3 -g  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/minval_char_3.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/minval_char_4.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/minval_char_4.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/minval_char_4.f90   -O3 -g  (internal compiler error: in
duplicate_and_interleave, at tree-vect-slp.cc:8025)
FAIL: gfortran.dg/minval_char_4.f90   -O3 -g  (test for excess errors)
XPASS: gcc.dg/uninit-pred-9_b.c bogus warning (test for bogus messages, line
20)
FAIL: gcc.dg/vla-1.c scan-tree-dump-times optimized " s=> i" 2
FAIL: gcc.dg/torture/pr58955-2.c   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  execution test
FAIL: gcc.dg/tree-prof/time-profiler-3.c scan-ipa-dump-times profile "Read
tp_first_run: 0" 1
FAIL: gcc.dg/tree-prof/time-profiler-3.c scan-ipa-dump-times profile "Read
tp_first_run: 2" 1
FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/strided_store_run-2.c (test
for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/strided_store_run-2.c (test
for excess errors)

New failures:
FAIL: gcc.target/riscv/rvv/autovec/pr112552.c -O3 -ftree-vectorize (test for
excess errors)


This new failure is also seen on pr112583 - looks like a simple issue.

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

* [Bug target/112599] RISC-V regression testsuite errors with rv64gcv_zvl1024b
  2023-11-17 21:19 [Bug target/112599] New: RISC-V regression testsuite errors with rv64gcv_zvl1024b patrick at rivosinc dot com
                   ` (6 preceding siblings ...)
  2023-12-04 21:41 ` patrick at rivosinc dot com
@ 2023-12-11 23:59 ` patrick at rivosinc dot com
  2024-01-24 23:53 ` patrick at rivosinc dot com
  8 siblings, 0 replies; 10+ messages in thread
From: patrick at rivosinc dot com @ 2023-12-11 23:59 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick O'Neill <patrick at rivosinc dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #56795|0                           |1
        is obsolete|                            |

--- Comment #8 from Patrick O'Neill <patrick at rivosinc dot com> ---
Created attachment 56856
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56856&action=edit
rv64gcv_zvl1024b testsuite failures 2023-12-10

Tested with hash fbfe43daec6443978df65530dc5f7f3f8a4e6f9e
CI run:
https://github.com/patrick-rivos/gcc-postcommit-ci/actions/runs/7158896306

! New issue found with strided_store_run-2.c testcase - seems to timeout when
compiling.

Comparison with zvl128b (pr112583):

Resolved failures (present on zvl128b but not zvl1024b):
XPASS: g++.dg/tree-ssa/pr83518.C  -std=gnu++14  scan-tree-dump optimized
"return 15;"
XPASS: g++.dg/tree-ssa/pr83518.C  -std=gnu++17  scan-tree-dump optimized
"return 15;"
XPASS: g++.dg/tree-ssa/pr83518.C  -std=gnu++20  scan-tree-dump optimized
"return 15;"
XPASS: g++.dg/tree-ssa/pr83518.C  -std=gnu++98  scan-tree-dump optimized
"return 15;"
FAIL: gcc.dg/Wstringop-overflow-47.c pr97027 (test for warnings, line 72)
FAIL: gcc.dg/Wstringop-overflow-47.c pr97027 (test for warnings, line 77)
FAIL: gcc.dg/Wstringop-overflow-47.c pr97027 note (test for warnings, line 68)
XPASS: gcc.dg/tree-ssa/pr84512.c scan-tree-dump optimized "return 285;"
XPASS: gcc.dg/vect/bb-slp-68.c -flto -ffat-lto-objects  scan-tree-dump-not slp2
"from scalars"
XPASS: gcc.dg/vect/bb-slp-68.c scan-tree-dump-not slp2 "from scalars"
FAIL: gcc.dg/vect/bb-slp-cond-1.c -flto -ffat-lto-objects  scan-tree-dump-times
vect "loop vectorized" 2
FAIL: gcc.dg/vect/bb-slp-cond-1.c scan-tree-dump-times vect "loop vectorized" 2
FAIL: gcc.dg/vect/bb-slp-pr65935.c -flto -ffat-lto-objects 
scan-tree-dump-times slp1 "optimized: basic block" 11
FAIL: gcc.dg/vect/bb-slp-pr65935.c scan-tree-dump-times slp1 "optimized: basic
block" 11
FAIL: gcc.dg/vect/bb-slp-subgroups-2.c -flto -ffat-lto-objects 
scan-tree-dump-times slp2 "optimized: basic block" 1
FAIL: gcc.dg/vect/bb-slp-subgroups-2.c scan-tree-dump-times slp2 "optimized:
basic block" 1
XPASS: gcc.dg/vect/bb-slp-subgroups-3.c -flto -ffat-lto-objects 
scan-tree-dump-times slp2 "optimized: basic block" 2
XPASS: gcc.dg/vect/bb-slp-subgroups-3.c scan-tree-dump-times slp2 "optimized:
basic block" 2
FAIL: gcc.dg/vect/pr66251.c -flto -ffat-lto-objects  scan-tree-dump-times vect
"vectorized 1 loops" 2
FAIL: gcc.dg/vect/pr66251.c scan-tree-dump-times vect "vectorized 1 loops" 2

New failures (present on zvl1024b but not zvl128b):
FAIL: gfortran.dg/matmul_1.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/matmul_1.f90   -O3 -g  execution test
FAIL: gfortran.dg/proc_ptr_comp_12.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/proc_ptr_comp_12.f90   -O3 -g  execution test
FAIL: gfortran.dg/vect/pr83232.f90   -O   scan-tree-dump-times slp1
"vectorizing stmts using SLP" 3
FAIL: gcc.c-torture/unsorted/dump-noaddr.c.*r.avlprop,  -O3
-fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions 
comparison
FAIL: gcc.c-torture/unsorted/dump-noaddr.c.*r.reload,  -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  comparison
FAIL: gcc.dg/no-strict-overflow-6.c scan-tree-dump optimized "return 0"
FAIL: gcc.dg/pr30957-1.c execution test
FAIL: gcc.dg/pr30957-1.c scan-rtl-dump loop2_unroll "Expanding Accumulator"
FAIL: gcc.dg/pr53265.c (test for excess errors)
FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c scan-tree-dump-times ivopts "PHI <p_" 1
FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c scan-tree-dump-times ivopts "PHI" 1
FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c scan-tree-dump-times ivopts "p_[0-9]* <" 1
FAIL: gcc.dg/tree-ssa/pr32044.c scan-tree-dump-times optimized " / " 0
FAIL: gcc.dg/tree-ssa/scev-12.c scan-tree-dump-times ivopts " 
Type:\\tREFERENCE ADDRESS\n" 1
FAIL: gcc.dg/vect/pr65518.c -flto -ffat-lto-objects  scan-tree-dump vect "using
gather/scatter for strided/grouped access"
FAIL: gcc.dg/vect/pr65518.c scan-tree-dump vect "using gather/scatter for
strided/grouped access"
XPASS: gcc.dg/vect/slp-reduc-7.c -flto -ffat-lto-objects  scan-tree-dump-times
vect "vectorizing stmts using SLP" 1
XPASS: gcc.dg/vect/slp-reduc-7.c scan-tree-dump-times vect "vectorizing stmts
using SLP" 1
FAIL: gcc.dg/vect/trapv-vect-reduc-4.c scan-tree-dump-times vect "using an
in-order \\(fold-left\\) reduction" 1
XPASS: gcc.dg/vect/vect-live-slp-3.c -flto -ffat-lto-objects 
scan-tree-dump-times vect "vectorizing stmts using SLP" 4
XPASS: gcc.dg/vect/vect-live-slp-3.c scan-tree-dump-times vect "vectorizing
stmts using SLP" 4
FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/strided_store_run-2.c (test
for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/strided_store_run-2.c (test
for excess errors)
FAIL: gcc.target/riscv/rvv/base/cpymem-2.c check-function-bodies f1


Comparison with hash 806789e6daa39ab0503d91c71b3faeb5d5cdd317 zvl1024b
(previous report):

Resolved:
XPASS: gcc.dg/tree-ssa/ssa-fre-3.c scan-tree-dump fre1 "Replaced \\(int\\)
aa_.*with a_"
FAIL: gcc.target/riscv/rvv/autovec/pr112552.c -O3 -ftree-vectorize (test for
excess errors)

New failures:
FAIL: gcc.c-torture/unsorted/dump-noaddr.c.*r.avlprop,  -O3
-fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions 
comparison
FAIL: gcc.c-torture/unsorted/dump-noaddr.c.*r.reload,  -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  comparison
FAIL: gcc.dg/debug/btf/btf-datasec-3.c scan-assembler-times bts_type 3
FAIL: gcc.dg/debug/btf/btf-datasec-3.c scan-assembler-times bts_type:
\\(BTF_KIND_VAR 'test_bss2'\\) 1
FAIL: gcc.dg/debug/btf/btf-datasec-3.c scan-assembler-times bts_type:
\\(BTF_KIND_VAR 'test_data2'\\) 1
FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/strided_store_run-2.c (test
for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/strided_store_run-2.c (test
for excess errors)
FAIL: gcc.target/riscv/rvv/autovec/pr111751.c -O3 -ftree-vectorize 
scan-assembler-not vset
FAIL: gcc.target/riscv/rvv/autovec/pr111751.c -O3 -ftree-vectorize 
scan-assembler-times li\\s+[a-x0-9]+,0\\s+ret 2

The strided_store_run-2.c testcase seems to have timed out when compiling?

Debug log:
Executing on host:
/github/patrick-postcommit-runner-1/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/build/build-gcc-linux-stage2/gcc/xgcc
-B/github/patrick-postcommit-runner-1/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/build/build-gcc-linux-stage2/gcc/

/github/patrick-postcommit-runner-1/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/gcc.target/riscv/rvv/autovec/gather-scatter/strided_store_run-2.c
 -march=rv64gcv_zvl1024b -mabi=lp64d -mcmodel=medlow  
-fdiagnostics-plain-output   -ftree-vectorize -O3 --param
riscv-autovec-preference=fixed-vlmax --param riscv-autovec-lmul=m8
-fno-vect-cost-model -ffast-math      -lm  -o ./strided_store_run-2.exe   
(timeout = 600)
spawn -ignore SIGHUP
/github/patrick-postcommit-runner-1/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/build/build-gcc-linux-stage2/gcc/xgcc
-B/github/patrick-postcommit-runner-1/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/build/build-gcc-linux-stage2/gcc/
/github/patrick-postcommit-runner-1/_work/gcc-postcommit-ci/gcc-postcommit-ci/riscv-gnu-toolchain/gcc/gcc/testsuite/gcc.target/riscv/rvv/autovec/gather-scatter/strided_store_run-2.c
-march=rv64gcv_zvl1024b -mabi=lp64d -mcmodel=medlow -fdiagnostics-plain-output
-ftree-vectorize -O3 --param riscv-autovec-preference=fixed-vlmax --param
riscv-autovec-lmul=m8 -fno-vect-cost-model -ffast-math -lm -o
./strided_store_run-2.exe
WARNING: program timed out
compiler exited with status 1
FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/strided_store_run-2.c (test
for excess errors)
Excess errors:
exit status is 1
UNRESOLVED: gcc.target/riscv/rvv/autovec/gather-scatter/strided_store_run-2.c
compilation failed to produce executable

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

* [Bug target/112599] RISC-V regression testsuite errors with rv64gcv_zvl1024b
  2023-11-17 21:19 [Bug target/112599] New: RISC-V regression testsuite errors with rv64gcv_zvl1024b patrick at rivosinc dot com
                   ` (7 preceding siblings ...)
  2023-12-11 23:59 ` patrick at rivosinc dot com
@ 2024-01-24 23:53 ` patrick at rivosinc dot com
  8 siblings, 0 replies; 10+ messages in thread
From: patrick at rivosinc dot com @ 2024-01-24 23:53 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick O'Neill <patrick at rivosinc dot com> changed:

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

--- Comment #9 from Patrick O'Neill <patrick at rivosinc dot com> ---
Closing my old tracking issues.

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

end of thread, other threads:[~2024-01-24 23:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-17 21:19 [Bug target/112599] New: RISC-V regression testsuite errors with rv64gcv_zvl1024b patrick at rivosinc dot com
2023-11-17 21:21 ` [Bug target/112599] " patrick at rivosinc dot com
2023-11-21 17:47 ` patrick at rivosinc dot com
2023-11-23 12:09 ` cvs-commit at gcc dot gnu.org
2023-11-24  6:34 ` cvs-commit at gcc dot gnu.org
2023-11-26  9:15 ` cvs-commit at gcc dot gnu.org
2023-11-27 17:57 ` patrick at rivosinc dot com
2023-12-04 21:41 ` patrick at rivosinc dot com
2023-12-11 23:59 ` patrick at rivosinc dot com
2024-01-24 23:53 ` patrick at rivosinc dot com

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