ewlu / gcc-precommit-ci

2 stars 0 forks source link

Patch Status 26106-V2_RISCV_Add_AVL_propagation_PASS_for_RVV_autovectorization-1 #468

Closed github-actions[bot] closed 11 months ago

github-actions[bot] commented 12 months ago

Precommit CI Run information

Logs can be found in the associated Github Actions run: https://github.com/ewlu/gcc-precommit-ci/actions/runs/6647121571

Patch information

Applied patches: 1 -> 1 Associated series: https://patchwork.sourceware.org/project/gcc/list/?series=26106 Last patch applied: https://patchwork.sourceware.org/project/gcc/patch/20231025120518.1319929-1-juzhe.zhong@rivai.ai/

Notes

Testsuite checks are in beta testing stages. Results are unstable and may be inaccurate.

github-actions[bot] commented 12 months ago

Lint Status

The following issues have been found with 26106-V2_RISCV_Add_AVL_propagation_PASS_for_RVV_autovectorization-1 using gcc's ./contrib/check_GNU_style.py. Please use your best judgement when resolving these issues. These are only warnings and do not need to be resolved in order to merge your patch. If any of these warnings seem like false-positives that could be guarded against please contact me: patchworks-ci@rivosinc.com.

=== ERROR type #1: braces should be on a separate line (1 error(s)) ===
gcc/config/riscv/riscv-avlprop.cc:127:77:  pass_avlprop (gcc::context *ctxt) : rtl_opt_pass (pass_data_avlprop, ctxt) {}

=== ERROR type #2: dot, space, space, end of comment (11 error(s)) ===
gcc/config/riscv/riscv-avlprop.cc:92:24:/* dump helper functions */
gcc/config/riscv/riscv-avlprop.cc:113:20:  RTL_PASS,     /* type */
gcc/config/riscv/riscv-avlprop.cc:114:21:  "avlprop",    /* name */
gcc/config/riscv/riscv-avlprop.cc:115:33:  OPTGROUP_NONE, /* optinfo_flags */
gcc/config/riscv/riscv-avlprop.cc:116:20:  TV_NONE,  /* tv_id */
gcc/config/riscv/riscv-avlprop.cc:117:29:  0,        /* properties_required */
gcc/config/riscv/riscv-avlprop.cc:118:29:  0,        /* properties_provided */
gcc/config/riscv/riscv-avlprop.cc:119:30:  0,        /* properties_destroyed */
gcc/config/riscv/riscv-avlprop.cc:120:26:  0,        /* todo_flags_start */
gcc/config/riscv/riscv-avlprop.cc:121:27:  0,        /* todo_flags_finish */
gcc/config/riscv/riscv-avlprop.cc:354:75:  /* Go through all the candidates looking for AVL that we could propagate.█*/

=== ERROR type #3: dot, space, space, new sentence (4 error(s)) ===
gcc/config/riscv/riscv-avlprop.cc:26:49:       there will become even harder to maintain.█A straight forward
gcc/config/riscv/riscv-avlprop.cc:207:34:       arithmetic operations (e.d.█DIV), then do the whole vector register
gcc/config/riscv/riscv-avlprop.cc:213:65:   generates the VLMAX instruction due to missed LEN information.█The later
gcc/config/riscv/riscv-avlprop.cc:232:14:    instruction.█It should be totally enough for vectorized codes since

=== ERROR type #4: lines should not exceed 80 characters (1 error(s)) ===
gcc/config.gcc:547:80:        extra_objs="${extra_objs} riscv-v.o riscv-vsetvl.o riscv-vector-costs.o riscv-avlprop.o"

=== ERROR type #5: there should be exactly one space between function name and parenthesis (1 error(s)) ===
gcc/config/riscv/riscv-avlprop.cc:9:50:the Free Software Foundation; either version 3, or(at your option)

=== ERROR type #6: trailing whitespace (1 error(s)) ===
gcc/config/riscv/t-riscv:83:65:  $(TARGET_H) tree-pass.h df.h rtl-ssa.h cfgcleanup.h insn-attr.h█

Additional information

github-actions[bot] commented 12 months ago

Apply Status

Target Status
Baseline hash: https://github.com/gcc-mirror/gcc/commit/f32c1e1e96ffef6512ce025942b51f3967a3e7f2 Applied
Tip of tree hash: https://github.com/gcc-mirror/gcc/commit/da9e72f80f3358bd9586e11aaf03341c1f867318 Applied

Notes

Patch applied successfully

Additional information

github-actions[bot] commented 12 months ago

Build GCC Status

Target Status
linux-rv64gcv-lp64d-multilib Success
linux-rv64gc_zba_zbb_zbc_zbs-lp64d-non-multilib Success
newlib-rv64gc-lp64d-multilib Success
linux-rv32gc_zba_zbb_zbc_zbs-ilp32d-non-multilib Success

Notes

Patch(es) were applied to the hash https://github.com/gcc-mirror/gcc/commit/f32c1e1e96ffef6512ce025942b51f3967a3e7f2. If this patch commit depends on or conflicts with a recently committed patch, then these results may be outdated.

Additional information

github-actions[bot] commented 12 months ago

Testsuite Status (Beta - Ignore Results)

Summary

New Failures gcc g++ gfortran Previous Hash
linux: rv32 Bitmanip ilp32d medlow 2/2 0/0 0/0 https://github.com/gcc-mirror/gcc/commit/f32c1e1e96ffef6512ce025942b51f3967a3e7f2
linux: rv32gcv ilp32d medlow multilib 5/4 0/0 0/0 https://github.com/gcc-mirror/gcc/commit/f32c1e1e96ffef6512ce025942b51f3967a3e7f2
linux: rv64 Bitmanip lp64d medlow 2/2 0/0 0/0 https://github.com/gcc-mirror/gcc/commit/f32c1e1e96ffef6512ce025942b51f3967a3e7f2
linux: rv64gcv lp64d medlow multilib 3/3 0/0 0/0 https://github.com/gcc-mirror/gcc/commit/f32c1e1e96ffef6512ce025942b51f3967a3e7f2
newlib: rv32gc ilp32d medlow multilib 2/2 0/0 0/0 https://github.com/gcc-mirror/gcc/commit/f32c1e1e96ffef6512ce025942b51f3967a3e7f2
newlib: rv64gc lp64d medlow multilib 2/2 0/0 0/0 https://github.com/gcc-mirror/gcc/commit/f32c1e1e96ffef6512ce025942b51f3967a3e7f2
Resolved Failures gcc g++ gfortran Previous Hash
linux: rv32gcv ilp32d medlow multilib 0/0 0/0 7/3 https://github.com/gcc-mirror/gcc/commit/f32c1e1e96ffef6512ce025942b51f3967a3e7f2
linux: rv64gcv lp64d medlow multilib 0/0 0/0 1/1 https://github.com/gcc-mirror/gcc/commit/f32c1e1e96ffef6512ce025942b51f3967a3e7f2
Unresolved Failures gcc g++ gfortran Previous Hash
linux: rv32 Bitmanip ilp32d medlow 32/15 17/7 30/5 https://github.com/gcc-mirror/gcc/commit/f32c1e1e96ffef6512ce025942b51f3967a3e7f2
linux: rv32gcv ilp32d medlow multilib 234/80 29/17 62/22 https://github.com/gcc-mirror/gcc/commit/f32c1e1e96ffef6512ce025942b51f3967a3e7f2
linux: rv64 Bitmanip lp64d medlow 34/17 13/4 30/5 https://github.com/gcc-mirror/gcc/commit/f32c1e1e96ffef6512ce025942b51f3967a3e7f2
linux: rv64gcv lp64d medlow multilib 106/55 13/4 30/11 https://github.com/gcc-mirror/gcc/commit/f32c1e1e96ffef6512ce025942b51f3967a3e7f2
newlib: rv32gc ilp32d medlow multilib 81/22 107/15 0/0 https://github.com/gcc-mirror/gcc/commit/f32c1e1e96ffef6512ce025942b51f3967a3e7f2
newlib: rv64gc lp64d medlow multilib 74/21 79/10 0/0 https://github.com/gcc-mirror/gcc/commit/f32c1e1e96ffef6512ce025942b51f3967a3e7f2

New Failures Across All Affected Targets (6 targets / 6 total targets)

FAIL: gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-5.c -O3 -ftree-vectorize --param riscv-autovec-lmul=dynamic  scan-assembler e32,m4
FAIL: gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-2.c -O3 -ftree-vectorize --param riscv-autovec-lmul=dynamic  scan-assembler e32,m8

Architecture Specific New Failures

linux rv32gcv ilp32d medlow multilib:

FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/mask_gather_load_run-11.c execution test
FAIL: gcc.target/riscv/rvv/autovec/unop/popcount-run-1.c execution test

linux rv64gcv lp64d medlow multilib:

FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/mask_gather_load_run-11.c execution test

Architecture Specific Resolved Failures

linux rv32gcv ilp32d medlow multilib:

FAIL: gfortran.dg/intrinsic_pack_6.f90   -O2  execution test
FAIL: gfortran.dg/intrinsic_pack_6.f90   -O3 -g  execution test
FAIL: gfortran.dg/matmul_3.f90   -O2  execution test
FAIL: gfortran.fortran-torture/execute/intrinsic_matmul.f90 execution,  -O2
FAIL: gfortran.fortran-torture/execute/intrinsic_matmul.f90 execution,  -O2 -fbounds-check
FAIL: gfortran.fortran-torture/execute/intrinsic_matmul.f90 execution,  -O2 -fomit-frame-pointer -finline-functions
FAIL: gfortran.fortran-torture/execute/intrinsic_matmul.f90 execution,  -O3 -g

linux rv64gcv lp64d medlow multilib:

FAIL: gfortran.dg/matmul_6.f90   -O2  execution test

Additional information