[Bug target/108348] ICE in gen_movoo, at config/rs6000/mma.md:292

2023-01-10 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108348 --- Comment #6 from Kewen Lin --- (In reply to Peter Bergner from comment #5) > (In reply to Kewen Lin from comment #1) > > diff --git a/gcc/config/rs6000/rs6000-call.cc > > b/gcc/config/rs6000/rs6000-call.cc > > index 59c51fa3579..6767a1f541c 1

[Bug target/108240] [13 Regression] ICE in emit_library_call_value_1 at gcc/calls.cc:4181 since r13-4894-gacc727cf02a144

2023-01-11 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108240 --- Comment #8 from Kewen Lin --- (In reply to Segher Boessenkool from comment #7) > -m64 requires 64-bit instructions. We will ICE if we try to generate code > for -m64 without support for 64-bit insns enabled in the compiler. For > example,

[Bug target/108415] New: ICE in emit_library_call_value_1 at gcc/calls.cc:4181

2023-01-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: linkw at gcc dot gnu.org CC: bergner at gcc dot gnu.org, linkw at gcc dot gnu.org, marxin at gcc dot gnu.org, segher at gcc dot gnu.org

[Bug target/108415] ICE in emit_library_call_value_1 at gcc/calls.cc:4181

2023-01-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org

[Bug target/108240] [13 Regression] ICE in emit_library_call_value_1 at gcc/calls.cc:4181 since r13-4894-gacc727cf02a144

2023-01-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108240 --- Comment #9 from Kewen Lin --- I filed one new bug PR108415 for the ICE itself to avoid the confusion here. This ICE is not a regression, it's a latent bug, because: 1) Without the culprit commit r13-4894 (like using r13-4893 or reverting i

[Bug target/108240] [13 Regression] Error message missing since r13-4894-gacc727cf02a144 (then make concealed ICE exposed)

2023-01-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108240 Kewen Lin changed: What|Removed |Added Summary|[13 Regression] ICE in |[13 Regression] Error |em

[Bug target/108396] [12/13 Regression] PPCLE: vec_vsubcuq missing since r12-5752-gd08236359eb229

2023-01-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
Regression] PPCLE: |[12/13 Regression] PPCLE: |vec_vsubcuq missing |vec_vsubcuq missing since ||r12-5752-gd08236359eb229 Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org CC

[Bug target/108396] [12/13 Regression] PPCLE: vec_vsubcuq missing since r12-5752-gd08236359eb229

2023-01-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108396 --- Comment #4 from Kewen Lin --- (In reply to Segher Boessenkool from comment #3) > (In reply to Kewen Lin from comment #2) > > Unfortunately we don't have the testing coverage in testsuite for the > > expected name vec_vsubcuq (in rs6000-vecde

[Bug target/108240] [13 Regression] Error message missing since r13-4894-gacc727cf02a144 (then make concealed ICE exposed)

2023-01-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108240 --- Comment #13 from Kewen Lin --- (In reply to Martin Liška from comment #11) > One more test-case that started to ICE with the same revision: > > ./xgcc -B. > /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/atomic/c11-atomic-exec-2.c > -mcp

[Bug target/108415] ICE in emit_library_call_value_1 at gcc/calls.cc:4181

2023-01-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108415 --- Comment #2 from Kewen Lin --- (In reply to Segher Boessenkool from comment #1) > Soft float does not conflict with anything (anything that does not need > FP registers that is). But yes, we really should neuter -mmodulo. The contradictory

[Bug target/108415] ICE in emit_library_call_value_1 at gcc/calls.cc:4181

2023-01-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108415 --- Comment #4 from Kewen Lin --- (In reply to Peter Bergner from comment #3) > (In reply to Kewen Lin from comment #2) > > The contradictory thing is that we can have TARGET_VSX and TARGET_SOFT_FLOAT > > (!TARGET_HARD_FLOAT) together with the p

[Bug target/108396] [12/13 Regression] PPCLE: vec_vsubcuq missing since r12-5752-gd08236359eb229

2023-02-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108396 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/108348] ICE in gen_movoo, at config/rs6000/mma.md:292

2023-02-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108348 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/108272] [13 Regression] ICE in gen_movxo, at config/rs6000/mma.md:339

2023-02-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108272 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug analyzer/107396] [13 regression] new test case gcc.dg/analyzer/pipe-glibc.c in r13-3466-g792f039fc37faa fails with excess errors

2023-02-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107396 --- Comment #2 from Kewen Lin --- *** Bug 108726 has been marked as a duplicate of this bug. ***

[Bug target/108726] gcc.dg/analyzer/pipe-glibc.c fails on power 9 BE

2023-02-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
|--- |DUPLICATE CC||linkw at gcc dot gnu.org --- Comment #1 from Kewen Lin --- As the comments in PR107396 (same symptom), this one is duplicated of that one, and it's Power9 specific (but not BE only?). *** This bug has been marked

[Bug target/108728] gcc.dg/torture/float128-cmp-invalid.c fails on power 9 BE

2023-02-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
||2023-02-14 CC||linkw at gcc dot gnu.org, ||meissner at gcc dot gnu.org, ||segher at gcc dot gnu.org Ever confirmed|0 |1

[Bug target/108729] gcc.target/powerpc/bfp/scalar-test-data-class-12.c fails on power 9 BE

2023-02-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
|NEW CC||linkw at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Kewen Lin --- Confirmed. Error message is: gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-12.c:31:3: error

[Bug target/108731] gcc.target/powerpc/bfp/vec-test-data-class-9.c fails on power 9 BE

2023-02-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
||2023-02-14 Ever confirmed|0 |1 CC||linkw at gcc dot gnu.org --- Comment #1 from Kewen Lin --- Confirmed, it's similar to PR108729, need the has_arch_ppc64 checking for used bif scalar_insert_exp.

[Bug testsuite/108731] gcc.target/powerpc/bfp/vec-test-data-class-9.c fails on power 9 BE

2023-02-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108731 Kewen Lin changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug target/108729] gcc.target/powerpc/bfp/scalar-test-data-class-12.c fails on power 9 BE

2023-02-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108729 --- Comment #2 from Kewen Lin --- *** Bug 108731 has been marked as a duplicate of this bug. ***

[Bug target/108729] gcc.target/powerpc/bfp/scalar-test-data-class-12.c fails on power 9 BE

2023-02-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108729 --- Comment #3 from Kewen Lin --- PR108731 has another test case gcc.target/powerpc/bfp/vec-test-data-class-9.c which needs to be updated too.

[Bug target/108699] gcc.c-torture/execute/builtin-bitops-1.c fails on power 9 BE

2023-02-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
||linkw at gcc dot gnu.org, ||meissner at gcc dot gnu.org, ||segher at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org Ever confirmed|0

[Bug target/108699] gcc.c-torture/execute/builtin-bitops-1.c fails on power 9 BE

2023-02-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108699 --- Comment #3 from Kewen Lin --- One more test case fail with abort on both LE & BE (with -Ofast -mcpu=power9): #define N 16 unsigned long long vals[N]; unsigned int res[N]; unsigned int expects[N] = {0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0,

[Bug target/108807] [11 regression] gcc.target/powerpc/vsx-builtin-10d.c fails after b29225597584b697762585e0b707b7cb4b427650 on power 9 BE

2023-02-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
|ASSIGNED Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org CC||linkw at gcc dot gnu.org Last reconfirmed||2023-02-16 --- Comment #1 from Kewen Lin --- Confirmed. It's like

[Bug target/108807] [11/12/13 regression] gcc.target/powerpc/vsx-builtin-10d.c fails after r11-6857-gb29225597584b6 on power 9 BE

2023-02-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108807 --- Comment #2 from Kewen Lin --- Created attachment 54478 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54478&action=edit untested patch The lvsr and lvsl for generating permutation control vectors only works for LE as the element order

[Bug target/108814] gcc.target/powerpc/pr79251-run.p9.c fails on power 9 BE

2023-02-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
|RESOLVED CC||linkw at gcc dot gnu.org --- Comment #1 from Kewen Lin --- Dup. *** This bug has been marked as a duplicate of bug 108807 ***

[Bug target/108807] [11/12/13 regression] gcc.target/powerpc/vsx-builtin-10d.c fails after r11-6857-gb29225597584b6 on power 9 BE

2023-02-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108807 --- Comment #3 from Kewen Lin --- *** Bug 108814 has been marked as a duplicate of this bug. ***

[Bug testsuite/108810] gcc.target/powerpc/fold-vec-extract-double.p9.c fails on power 9 BE

2023-02-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
|NEW Component|target |testsuite CC||linkw at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Kewen Lin --- This is an test case issue: double testd_cst (vector

[Bug testsuite/108813] gcc.target/powerpc/pr101384-2.c fails on power 9 BE

2023-02-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
||linkw at gcc dot gnu.org Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Component|target |testsuite --- Comment #1 from Kewen Lin --- This is a test issue, GCC generates xxspltib rather than

[Bug rtl-optimization/108273] Inconsistent dfa state between debug and non-debug

2023-02-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |linkw at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1

[Bug rtl-optimization/108273] Inconsistent dfa state between debug and non-debug

2023-02-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108273 --- Comment #2 from Kewen Lin --- Created attachment 54512 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54512&action=edit Consider debug insn in no_real_insns_p

[Bug rtl-optimization/108273] Inconsistent dfa state between debug and non-debug

2023-02-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108273 --- Comment #3 from Kewen Lin --- The attached patch can be bootstrapped and regress-tested and solve the reported issue right after r13-5107-g6224db0e4d6d3b, but I can not reproduce the failure with the latest trunk, interesting... I suspected

[Bug rtl-optimization/108273] Inconsistent dfa state between debug and non-debug

2023-02-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108273 --- Comment #4 from Kewen Lin --- Starting from r13-5154-g733a1b777f16cd, this failure is gone on Power10 LE (or with explicit -mcpu=power10), but it shows up on Power8 LE. By checking r13-5154, this behavior change is expected, the priorities o

[Bug rtl-optimization/108273] Inconsistent dfa state between debug and non-debug

2023-02-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108273 Kewen Lin changed: What|Removed |Added CC||seurer at gcc dot gnu.org --- Comment #5 fr

[Bug rtl-optimization/108519] [13 regression] gcc.target/powerpc/pr105586.c fails after r13-5154-g733a1b777f16cd

2023-02-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
||linkw at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #4 from Kewen Lin --- This one is dup of PR108273, the culprit commit just exposes this latent issue on Power8 LE (and also cover the failure on Power10 LE). *** This bug has been marked

[Bug rtl-optimization/108519] [13 regression] gcc.target/powerpc/pr105586.c fails after r13-5154-g733a1b777f16cd

2023-02-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108519 --- Comment #5 from Kewen Lin --- (In reply to Alexander Monakov from comment #1) > We diverge in sched1 due to extra calls to advance_one_cycle when scheduling > a BB that is empty apart from one debug insn. The following patch adds a > hexdump

[Bug testsuite/108730] gcc.target/powerpc/bfp/scalar-test-neg-8.c fails on power 9 BE

2023-02-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
||linkw at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org Last reconfirmed||2023-02-24 Component|target |testsuite Status|UNCONFIRMED |ASSIGNED

[Bug target/108315] -mcpu=power10 changes ABI

2023-02-27 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108315 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #2

[Bug target/108977] [11 regression] gcc.target/powerpc/pr96373.c fails after r11-10549-gcf3d95cce379f3 on power 10

2023-02-28 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108977 Kewen Lin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org

[Bug target/108977] [11 regression] gcc.target/powerpc/pr96373.c fails after r11-10549-gcf3d95cce379f3 on power 10

2023-02-28 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108977 --- Comment #2 from Kewen Lin --- (In reply to Kewen Lin from comment #1) > The newly added test case requires Richard's commit r13-5979 to pass. This > should be fixed once that commit gets fixed.

[Bug target/108981] New: Raise errors for cpu type without powerpc64 support.

2023-02-28 Thread linkw at gcc dot gnu.org via Gcc-bugs
/609492.html Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: linkw at gcc dot gnu.org CC: bergner at gcc dot gnu.org

[Bug target/108981] Raise errors for cpu type without powerpc64 support.

2023-02-28 Thread linkw at gcc dot gnu.org via Gcc-bugs
| Blocks|108415 | Severity|normal |enhancement Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org URL|https://gcc.gnu.org/piperma | |il/gcc-patches/2023

[Bug target/108415] ICE in emit_library_call_value_1 at gcc/calls.cc:4181

2023-02-28 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108415 Bug 108415 depends on bug 108240, which changed state. Bug 108240 Summary: [13 Regression] Error message missing since r13-4894-gacc727cf02a144 (then make concealed ICE exposed) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108240 Wha

[Bug target/108240] [13 Regression] Error message missing since r13-4894-gacc727cf02a144 (then make concealed ICE exposed)

2023-02-28 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108240 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug testsuite/108727] gcc.dg/split-5.c fails on power 9 BE

2023-02-28 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108727 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org

[Bug testsuite/108729] gcc.target/powerpc/bfp/scalar-test-data-class-12.c fails on power 9 BE

2023-02-28 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108729 Kewen Lin changed: What|Removed |Added Status|NEW |ASSIGNED Component|target

[Bug libgcc/108727] gcc.dg/split-5.c fails on power 9 BE

2023-03-03 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108727 Kewen Lin changed: What|Removed |Added CC||amodra at gcc dot gnu.org,

[Bug libgcc/108727] gcc.dg/split-5.c fails on power 9 BE

2023-03-06 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108727 Kewen Lin changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug testsuite/108729] gcc.target/powerpc/bfp/scalar-test-data-class-12.c fails on power 9 BE

2023-03-07 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108729 Kewen Lin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org Target

[Bug testsuite/108810] gcc.target/powerpc/fold-vec-extract-double.p9.c fails on power 9 BE

2023-03-07 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108810 Kewen Lin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug testsuite/108810] gcc.target/powerpc/fold-vec-extract-double.p9.c fails on power 9 BE

2023-03-07 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108810 Kewen Lin changed: What|Removed |Added Target Milestone|--- |13.0

[Bug testsuite/108729] gcc.target/powerpc/bfp/scalar-test-data-class-12.c fails on power 9 BE

2023-03-07 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108729 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug testsuite/108813] gcc.target/powerpc/pr101384-2.c fails on power 9 BE

2023-03-07 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108813 Kewen Lin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug testsuite/108730] gcc.target/powerpc/bfp/scalar-test-neg-8.c fails on power 9 BE

2023-03-08 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108730 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libgcc/108727] gcc.dg/split-5.c fails on power 9 BE

2023-03-08 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108727 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/108809] gcc.target/powerpc/builtins-5-p9-runnable.c fails on power 9 BE

2023-03-08 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108809 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org Last

[Bug target/108815] gcc.target/powerpc/pr83677.c fails on power 9 BE

2023-03-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
|1 Last reconfirmed||2023-03-09 Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org CC||linkw at gcc dot gnu.org --- Comment #1 from Kewen Lin --- Confirmed, the test case have

[Bug target/109069] Vector truncation test program produces incorrect result on big-endian powerpc64-linux-gnu with -mcpu=power10 -O2

2023-03-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109069 --- Comment #2 from Kewen Lin --- Thanks for reporting, I don't have a handy Power10 ppc64 (BE) env for reproducing this, do you mind to reduce it a bit first? (hint: https://gcc.gnu.org/wiki/A_guide_to_testcase_reduction) btw, I tried to check

[Bug target/109069] Vector truncation test program produces incorrect result on big-endian powerpc64-linux-gnu with -mcpu=power10 -O2

2023-03-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
||bergner at gcc dot gnu.org, ||linkw at gcc dot gnu.org, ||segher at gcc dot gnu.org Last reconfirmed||2023-03-10 Assignee|unassigned at gcc dot gnu.org

[Bug target/109069] [12/13 Regression] Vector truncation test program produces incorrect result since r12-6537-g080a06fcb076b3

2023-03-10 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109069 Kewen Lin changed: What|Removed |Added Summary|Vector truncation test |[12/13 Regression] Vector

[Bug other/109149] new test case gcc.dg/vect/pr108950.c from r12-9262-gf4e4108dd00508 fails

2023-03-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109149 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org

[Bug target/109082] emmintrin.h:1624:16: error: argument 3 must be a literal between 0 and 15, inclusive

2023-03-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109082 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org

[Bug target/109167] New: rs6000: _mm_slli_si128 and _mm_bslli_si128 are inconsistent in wrapper header

2023-03-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: linkw at gcc dot gnu.org Target Milestone: --- When I was investigating PR109082, I happened to find that in gcc/config/rs6000/emmintrin.h, we have different definitions

[Bug target/109167] rs6000: _mm_slli_si128 and _mm_bslli_si128 are inconsistent in wrapper header

2023-03-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
||powerpc*-linux-gnu Last reconfirmed||2023-03-17 Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED --- Comment #1 from Kewen Lin --- The pair _mm_srli_si128 and

[Bug testsuite/110230] new test case gcc.target/powerpc/pr109932-1.c in r14-1705-g2764335bd336f2 fails for 32 bits

2023-06-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110230 Kewen Lin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org Last

[Bug testsuite/110230] new test case gcc.target/powerpc/pr109932-1.c in r14-1705-g2764335bd336f2 fails for 32 bits

2023-06-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110230 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/110248] New: ivopts could under-cost for some addressing modes on len_{load,store}

2023-06-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: linkw at gcc dot gnu.org Target Milestone: ---

[Bug tree-optimization/110248] ivopts could under-cost for some addressing modes on len_{load,store}

2023-06-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110248 Kewen Lin changed: What|Removed |Added Keywords||missed-optimization CC|

[Bug tree-optimization/110248] ivopts could under-cost for some addressing modes on len_{load,store}

2023-06-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110248 --- Comment #2 from Kewen Lin --- Can you extend the current hook legitimate_address_p with one default value nullptr gimple* argument? When middle-end passes like ivopts want to query with the constructed address reference, it can pass the gimp

[Bug tree-optimization/110248] ivopts could under-cost for some addressing modes on len_{load,store}

2023-06-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110248 --- Comment #7 from Kewen Lin --- (In reply to Richard Biener from comment #6) > (In reply to rsand...@gcc.gnu.org from comment #5) > > ivopts does have code to treat ifn pointer arguments specially, > > see get_mem_type_for_internal_fn &co. Bu

[Bug target/104024] ICE in curr_insn_transform with -O1 -mpower10-fusion -mpower10-fusion-2logical with __int128_t and __builtin_add_overflow

2023-06-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104024 --- Comment #6 from Kewen Lin --- (In reply to Martin Jambor from comment #5) > I have just seen a similar ICE with a ppc64le cross-compiler. Running > > ~/cross/bin/ppc64le-linux-gnu-gcc > /home/worker/buildworker/tiber-option-juggler/build/g

[Bug target/109932] ICE in in extract_insn, at recog.cc:2791 on ppc64le with -mno-vsx

2023-06-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109932 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2023-06-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 109858, which changed state. Bug 109858 Summary: [14 Regression] r14-172 caused some SPEC2017 bmk to degrade on Power https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109858 What|Removed |A

[Bug rtl-optimization/109858] [14 Regression] r14-172 caused some SPEC2017 bmk to degrade on Power

2023-06-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109858 Kewen Lin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/110531] Vect: slp_done_for_suggested_uf is not initialized in tree-vect-loop.cc

2023-07-03 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110531 Kewen Lin changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment #1 f

[Bug tree-optimization/110531] Vect: slp_done_for_suggested_uf is not initialized in tree-vect-loop.cc

2023-07-03 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110531 --- Comment #3 from Kewen Lin --- (In reply to Hao Liu from comment #2) > > Is the warning from some static analyzer? > > No. I just find it maybe a bug while looking at the code. > > > slp should be true always (always do analyze slp), it doe

[Bug tree-optimization/110531] Vect: slp_done_for_suggested_uf is not initialized in tree-vect-loop.cc

2023-07-03 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110531 --- Comment #6 from Kewen Lin --- It's an arguable topic, I can't find the thread that previously some reviewers told me it's not always good to initialize the local variable. IIRC, the case is that I initialized one variable at the top, but the

[Bug tree-optimization/110531] Vect: slp_done_for_suggested_uf is not initialized in tree-vect-loop.cc

2023-07-04 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110531 --- Comment #8 from Kewen Lin --- (In reply to Hao Liu from comment #7) > > int foo() { > > bool a = true; > > bool b; > > if (a || b) > > return 1; > > b = true; > > return 0; > > } > > > > still has the warning, it looks somethi

[Bug tree-optimization/110531] Vect: slp_done_for_suggested_uf is not initialized in tree-vect-loop.cc

2023-07-04 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110531 --- Comment #11 from Kewen Lin --- (In reply to Hao Liu from comment #10) > > foo is just an example for not getting inlined, the point here is extra > > cost paid. > > My point is that the case is different from the original case in > tree-ve

[Bug tree-optimization/82255] Vectorizer cost model overcounts cost of some vectorized loads

2023-07-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82255 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2023-07-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 82255, which changed state. Bug 82255 Summary: Vectorizer cost model overcounts cost of some vectorized loads https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82255 What|Removed |Added

[Bug tree-optimization/110652] [14 Regression] bootstrap failure on tree-vect-stmts.cc with --enable-checking=release: error: 'new_temp' may be used uninitialized

2023-07-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110652 Kewen Lin changed: What|Removed |Added Last reconfirmed||2023-07-14 Ever confirmed|0

[Bug tree-optimization/110652] [14 Regression] bootstrap failure on tree-vect-stmts.cc with --enable-checking=release: error: 'new_temp' may be used uninitialized

2023-07-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110652 --- Comment #4 from Kewen Lin --- I can't reproduce this on ppc64le with both the default bootstrapping checking option --enable-checking=yes,extra and the reported --enable-checking=release. I'm going to test it on cfarm x86 machine. If the er

[Bug tree-optimization/110652] [14 Regression] bootstrap failure on tree-vect-stmts.cc with --enable-checking=release: error: 'new_temp' may be used uninitialized

2023-07-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110652 Kewen Lin changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment #5 f

[Bug target/109971] [14 regression] Several powerpc64 vector test cases fail after r14-1242-gf574e2dfae7905

2023-07-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109971 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug testsuite/109880] [14 regression] gcc.target/powerpc/fold-vec-extract-int.p8.c fails after r14-916-g9417b30499ce09

2023-07-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109880 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org

[Bug tree-optimization/110652] [14 Regression] bootstrap failure on tree-vect-stmts.cc with --enable-checking=release: error: 'new_temp' may be used uninitialized

2023-07-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110652 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug other/110744] [14 regression] cc.dg/tree-ssa/pr84512.c fails after r14-2267-gb8806f6ffbe72

2023-07-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110744 Kewen Lin changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug other/110744] [14 regression] gcc.dg/tree-ssa/pr84512.c fails after r14-2267-gb8806f6ffbe72

2023-07-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110744 --- Comment #5 from Kewen Lin --- (In reply to Li Pan from comment #2) > Hi there, > > Just try to reproduce this bug with powerPC cross compiler (sorry we don't > have a real powerPC) with the below options. Unfortunately, I failed to > reprod

[Bug other/110744] [14 regression] gcc.dg/tree-ssa/pr84512.c fails after r14-2267-gb8806f6ffbe72

2023-07-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110744 --- Comment #6 from Kewen Lin --- The root cause is that the length and bias handling about LEN_STORE in sccvn was missed to be updated, the below diff can fix the failure. diff --git a/gcc/tree-ssa-sccvn.cc b/gcc/tree-ssa-sccvn.cc index 11061a

[Bug target/110740] [14 regression] gcc.target/powerpc/p9-vec-length-epil-1.c

2023-07-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
||linkw at gcc dot gnu.org Last reconfirmed||2023-07-20 Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Kewen Lin --- I'll have a look first,

[Bug target/110740] [14 regression] gcc.target/powerpc/p9-vec-length-epil-1.c

2023-07-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110740 Kewen Lin changed: What|Removed |Added CC||rguenth at gcc dot gnu.org,

[Bug target/110740] [14 regression] gcc.target/powerpc/p9-vec-length-epil-1.c

2023-07-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110740 --- Comment #3 from Kewen Lin --- Created attachment 55587 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55587&action=edit trial-patch This patch can fix the exposed failures on gcc.target/powerpc/p9-vec-length-epil-{1,8}.c, fully testin

[Bug target/110740] [14 regression] gcc.target/powerpc/p9-vec-length-epil-1.c

2023-07-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110740 Kewen Lin changed: What|Removed |Added Attachment #55587|0 |1 is obsolete|

[Bug tree-optimization/110744] [14 regression] gcc.dg/tree-ssa/pr84512.c fails after r14-2267-gb8806f6ffbe72

2023-07-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110744 Kewen Lin changed: What|Removed |Added Component|other |tree-optimization Resolution|---

[Bug middle-end/110729] -fpatchable-function-entries: __patchable_function_entries has wrong sh_link

2023-07-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110729 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org

[Bug target/99889] Add powerpc ELFv1 support for -fpatchable-function-entry* with "o" sections

2023-07-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99889 Kewen Lin changed: What|Removed |Added CC||i at maskray dot me --- Comment #5 from Kewe

[Bug target/110741] vec_ternarylogic intrinsic generates incorrect code on POWER10 target when compiled with GCC

2023-07-21 Thread linkw at gcc dot gnu.org via Gcc-bugs
gcc dot gnu.org |linkw at gcc dot gnu.org CC||linkw at gcc dot gnu.org Ever confirmed|0 |1 Last reconfirmed||2023-07-21 --- Comment #1 from Kewen Lin --- Confirmed.

[Bug target/110741] vec_ternarylogic intrinsic generates incorrect code on POWER10 target when compiled with GCC

2023-07-21 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110741 Kewen Lin changed: What|Removed |Added CC||bergner at gcc dot gnu.org,

<    3   4   5   6   7   8   9   10   >