[Bug target/111828] New: rs6000: Parse inline asm string to figure out it requires HTM feature or not.

2023-10-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
: enhancement Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: linkw at gcc dot gnu.org CC: jan.wassenberg at gmail dot com, john_platts at hotmail dot com, linkw at gcc dot gnu.org, malat at

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

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

[Bug target/111380] Inconsistent behaviors between non-LTO and LTO

2023-10-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111380 Kewen Lin changed: What|Removed |Added Keywords||wrong-code Status|ASSIGNED

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-10-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #18 from Kewen Lin --- (In reply to Richard Biener from comment #17) > it stores to a different object - but seeing the CLOBBERs, does > -fstack-reuse=none fix the issue? Is r1 the stack pointer? Just tried with -fstack-reuse=none,

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-10-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #16 from Kewen Lin --- Tracing down it with template specialization, the aborting happens on auto vn_b = Load(dn, in_b.get()); HWY_ASSERT_VEC_EQ( dw, vw_signed_max, SatWidenMulPairwiseAdd( dw, InterleaveLow

[Bug target/111784] [14 Regression] aarch64: ldp_stp_{15, 16, 17, 18}.c test failures since r14-4579

2023-10-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
: |ldp_stp_{15,16,17,18}.c |ldp_stp_{15,16,17,18}.c |test failures |test failures since ||r14-4579 Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org Ever confirmed|0

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

2023-10-11 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108396 --- Comment #10 from Kewen Lin --- (In reply to Carl Love from comment #9) > I made a copy of rs6000-overload.def and then with a series of emacs macros > converted the list of builtins to a script to grep for the builtins in the > test director

[Bug testsuite/111427] [14 regression] gfortran.dg/vect/pr60510.f fails after r14-3999-g3c834d85f2ec42

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

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

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

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

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

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-09-26 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #8 from Kewen Lin --- (In reply to Richard Biener from comment #7) > I suppose it works with -fno-tree-vectorize ontop of the flags? Appending -fno-tree-vectorize at the end of the given flags in #c1 (-mstrict-align version), it sti

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-09-25 Thread linkw at gcc dot gnu.org via Gcc-bugs
, ||linkw at gcc dot gnu.org, ||segher at gcc dot gnu.org Last reconfirmed||2023-09-26 Status|UNCONFIRMED |NEW Ever confirmed|0 |1

[Bug middle-end/111427] [14 regression] gfortran.dg/vect/pr60510.f fails after r14-3999-g3c834d85f2ec42

2023-09-25 Thread linkw at gcc dot gnu.org via Gcc-bugs
-code |testsuite-fail Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org CC||linkw at gcc dot gnu.org Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-09-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 --- Comment #13 from Kewen Lin --- (In reply to Michael Meissner from comment #12) > Basically I did not consider the case. IIRC, you only need the stack > protect DI mode case if the stack is large enough (more than 32K). I don't > think 32-b

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-09-18 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 --- Comment #10 from Kewen Lin --- Thanks for both of your comments! (In reply to Peter Bergner from comment #8) > Mike will know better than I, but I like the idea of the patch! Looking forward to Mike's reply. :) (In reply to Segher Boessen

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-09-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 Kewen Lin changed: What|Removed |Added Keywords||wrong-code CC|

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-09-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 --- Comment #6 from Kewen Lin --- Created attachment 55919 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55919&action=edit tested patch

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-09-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 Kewen Lin changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #5 from Kewen Lin ---

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-09-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 --- Comment #17 from Kewen Lin --- (In reply to Mathieu Malaterre from comment #16) > Interesting, the following works for me: > > % /usr/bin/c++ -O1 -mcpu=power8 -mno-htm -flto=auto -c skeleton_test.cc Yeah, the suggestion on an extra option

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-09-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
gnu.org |linkw at gcc dot gnu.org CC||linkw at gcc dot gnu.org Status|UNCONFIRMED |NEW Last reconfirmed||2023-09-12 --- Comment #4 from Kewen Lin --- Confirmed, I'll have a look first.

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

2023-09-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104024 --- Comment #7 from Kewen Lin --- *** Bug 111371 has been marked as a duplicate of this bug. ***

[Bug target/111371] ICE in curr_insn_transform, at lra-constraints.cc:4290 on pp64le with -mcpu=power5+ -mpower10-fusion -Os

2023-09-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
|RESOLVED CC||linkw at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org --- Comment #1 from Kewen Lin --- It's a dup of PR104024. *** This bug has been marked as a duplicate of bug 104024 ***

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

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

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-09-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 Kewen Lin changed: What|Removed |Added Status|REOPENED|NEW --- Comment #13 from Kewen Lin --- I'd

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-09-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 Kewen Lin changed: What|Removed |Added Ever confirmed|0 |1 Resolution|INVALID

[Bug target/111380] Inconsistent behaviors between non-LTO and LTO

2023-09-11 Thread linkw at gcc dot gnu.org via Gcc-bugs
gcc dot gnu.org |linkw at gcc dot gnu.org Ever confirmed|0 |1 Last reconfirmed||2023-09-12 Target||powerpc*-linux-gnu

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-09-11 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 --- Comment #10 from Kewen Lin --- (In reply to Jan Wassenberg from comment #5) > Thanks for reporting this. One might think this is caused by -mcpu=power9 > clashing with our #pragma target altivec,vsx,power8-vector. > > However, what makes th

[Bug target/111380] New: Inconsistent behaviors between non-LTO and LTO

2023-09-11 Thread linkw at gcc dot gnu.org via Gcc-bugs
: target Assignee: unassigned at gcc dot gnu.org Reporter: linkw at gcc dot gnu.org Target Milestone: --- We have the different behaviors for the case https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366#c8 with and without -flto, it's unexpected. Previously there are

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-09-11 Thread linkw at gcc dot gnu.org via Gcc-bugs
|RESOLVED CC||linkw at gcc dot gnu.org --- Comment #9 from Kewen Lin --- It looks to me that the error message is expected, because the source code forces the function as always_inline, users would like it to be inlined always, it&#

[Bug target/108812] gcc.target/powerpc/p9-sign_extend-runnable.c fails on power 9 BE

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

[Bug testsuite/111228] [14 regression] gcc.target/powerpc/vsx-extract-6.c fails after r14-3381-g27de9aa152141e

2023-08-29 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111228 --- Comment #2 from Kewen Lin --- (In reply to Peter Bergner from comment #1) > Confirmed. The testsuite log shows for vsx-extract-6.c and vsx-extract-7.c: > > gcc.target/powerpc/vsx-extract-6.c: \\mxxpermdi\\M found 2 times > FAIL: gcc.target

[Bug target/111212] [13/14 Regression] internal compiler error: in extract_insn, at recog.cc:2791

2023-08-29 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111212 --- Comment #4 from Kewen Lin --- btw, I think the field "known to work" isn't quite exact, at least I verified it failed with powerpc64 gcc 12.3.0 with -m32, as which release PR96762 was filed for, I'd expect it also fail for gcc 11.4.0.

[Bug target/111212] [13/14 Regression] internal compiler error: in extract_insn, at recog.cc:2791

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

[Bug target/96762] ICE in extract_insn, at recog.c:2294 (error: unrecognizable insn)

2023-08-29 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96762 Kewen Lin changed: What|Removed |Added CC||malat at debian dot org --- Comment #5 from

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

2023-08-23 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 Resolution|--- |FIXED Status|ASSIGNED

[Bug bootstrap/111021] [14 Regression] Serial build broken for CRIS, ARM, and others since r14-3092

2023-08-18 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111021 Kewen Lin changed: What|Removed |Added Summary|[14 Regression] Serial |[14 Regression] Serial |b

[Bug bootstrap/111021] [14 Regression] Serial build broken for CRIS, ARM, and others

2023-08-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111021 --- Comment #14 from Kewen Lin --- (In reply to Kewen Lin from comment #13) > (In reply to Richard Biener from comment #12) > > I think a "too broad" dependence isn't bad. The cris specific solution also > > looks manageable, though I wonder wh

[Bug bootstrap/111021] [14 Regression] Serial build broken for CRIS, ARM, and others

2023-08-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111021 --- Comment #13 from Kewen Lin --- (In reply to Richard Biener from comment #12) > I think a "too broad" dependence isn't bad. The cris specific solution also > looks manageable, though I wonder what's special about x-protos.h, knowing > very l

[Bug bootstrap/111021] [14 Regression] Serial build broken for CRIS, ARM, and others

2023-08-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111021 --- Comment #10 from Kewen Lin --- (In reply to Hans-Peter Nilsson from comment #7) > Exactly; I'm happy that we seem to be on the same page here. > > I'm testing a patch for CRIS (making the hook function just a wrapper, > reverting the cris-p

[Bug bootstrap/111021] [14 Regression] Serial build broken for CRIS, ARM, and others

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

[Bug bootstrap/111021] [14 Regression] Serial build broken for CRIS, ARM, and others

2023-08-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org --- Comment #2 from Kewen Lin --- Thanks for reporting, I think the culprit is r14-3093 instead of r14-3092? I think the other build/gen*.cc building don't have this issue, since none of them includes recog.h thems

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

2023-08-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
dot gnu.org |linkw at gcc dot gnu.org Status|UNCONFIRMED |RESOLVED --- Comment #11 from Kewen Lin --- Should be fixed on trunk, thanks all!

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

2023-07-31 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 Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/110795] Bad code gen for vector compare booleans

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

[Bug target/110795] Bad code gen for vector compare booleans

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

[Bug target/110776] [14 Regression] powerpc-darwin bootstrap broken after r14-2490 with ICE rs6000.cc:5069 building libgfortran

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

[Bug target/110776] [14 Regression] powerpc-darwin bootstrap broken after r14-2490 with ICE rs6000.cc:5069 building libgfortran

2023-07-25 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110776 --- Comment #9 from Kewen Lin --- (In reply to Iain Sandoe from comment #8) > (In reply to rguent...@suse.de from comment #7) > > On Tue, 25 Jul 2023, linkw at gcc dot gnu.org wrote: > > > > > https://gcc.gnu.org/

[Bug target/110776] [14 Regression] powerpc-darwin bootstrap broken after r14-2490 with ICE rs6000.cc:5069 building libgfortran

2023-07-24 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110776 --- Comment #6 from Kewen Lin --- (In reply to rguent...@suse.de from comment #5) > On Tue, 25 Jul 2023, linkw at gcc dot gnu.org wrote: > > I think apart from the consideration what a single element vector > is compared to a scala

[Bug target/110776] [14 Regression] powerpc-darwin bootstrap broken after r14-2490 with ICE rs6000.cc:5069 building libgfortran

2023-07-24 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110776 Kewen Lin changed: What|Removed |Added Target|powerpc-darwin |powerpc-darwin, |

[Bug target/110776] [14 Regression] powerpc-darwin bootstrap broken after r14-2490 with ICE rs6000.cc:5069 building libgfortran

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

[Bug target/110776] [14 Regression] powerpc-darwin bootstrap broken after r14-2490 with ICE rs6000.cc:5069 building libgfortran

2023-07-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
gcc dot gnu.org |linkw at gcc dot gnu.org Ever confirmed|0 |1 Last reconfirmed||2023-07-24 --- Comment #2 from Kewen Lin --- Thanks for reporting and sorry for the breakage. I'll have a look first. (In reply to Iain Sandoe

[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,

[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/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 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 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 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 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 CC||rguenth at gcc dot gnu.org,

[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 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 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] 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 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 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 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 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 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 Last reconfirmed||2023-07-14 Ever confirmed|0

[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/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/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/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-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-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 Kewen Lin changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment #1 f

[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 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 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 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 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 Kewen Lin changed: What|Removed |Added Keywords||missed-optimization CC|

[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 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 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 middle-end/110089] sub-optimal code for attempting to produce JNA (jump on CF or ZF)

2023-06-04 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110089 Kewen Lin changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comment #7 fr

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

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

[Bug rtl-optimization/101169] [10 regression] test case gcc.target/powerpc/fold-vec-extract-char.p7.c fails after r10-9880

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

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

2023-05-30 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109971 --- Comment #10 from Kewen Lin --- (In reply to JuzheZhong from comment #9) > (In reply to Kewen Lin from comment #8) > > I did SPEC2017 int/fp evaluation on Power10 at Ofast and an extra explicit > > --param=vect-partial-vector-usage=2 (the def

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

2023-05-30 Thread linkw at gcc dot gnu.org via Gcc-bugs
|linkw at gcc dot gnu.org |juzhe.zhong at rivai dot ai --- Comment #8 from Kewen Lin --- I did SPEC2017 int/fp evaluation on Power10 at Ofast and an extra explicit --param=vect-partial-vector-usage=2 (the default is 1 on Power), baseline r14-1241 vs. new r14-1242, the results showed that it

[Bug target/110011] -mfull-toc (-mfp-in-toc) yields incorrect _Float128 constants on power9

2023-05-30 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110011 --- Comment #6 from Kewen Lin --- btw, one simple fix is under testing: diff --git a/gcc/config/rs6000/rs6000.cc b/gcc/config/rs6000/rs6000.cc index 3f129ea37d2..330c6a6fa5f 100644 --- a/gcc/config/rs6000/rs6000.cc +++ b/gcc/config/rs6000/rs600

[Bug target/110011] -mfull-toc (-mfp-in-toc) yields incorrect _Float128 constants on power9

2023-05-30 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110011 --- Comment #5 from Kewen Lin --- (In reply to Vincent Lefèvre from comment #4) > (In reply to Kewen Lin from comment #3) > > Thanks for reporting, this exposes one issue that: when encoding KFmode > > constant into toc, it uses the format for t

[Bug target/110011] -mfull-toc (-mfp-in-toc) yields incorrect _Float128 constants on power9

2023-05-29 Thread linkw at gcc dot gnu.org via Gcc-bugs
, ||g...@the-meissners.org, ||linkw at gcc dot gnu.org, ||segher at gcc dot gnu.org Status|NEW |ASSIGNED Assignee|unassigned at

[Bug target/109987] ICE in in rs6000_emit_le_vsx_store on ppc64le with -Ofast -mno-power8-vector

2023-05-28 Thread linkw at gcc dot gnu.org via Gcc-bugs
|1 Keywords||ice-on-valid-code CC||bergner at gcc dot gnu.org, ||linkw at gcc dot gnu.org, ||segher at gcc dot

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

2023-05-25 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 Ever confirmed|0 |1 Status|UNCONFIRMED

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

2023-05-25 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 Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org

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

2023-05-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
|ASSIGNED Ever confirmed|0 |1 CC||linkw at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org Keywords||ice-on-invalid-code

[Bug target/109610] [14 regression] gcc.target/powerpc/dform-3.c fails after r14-172-g0368d169492017

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

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

2023-05-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109858 --- Comment #9 from Kewen Lin --- (In reply to Kewen Lin from comment #6) > (In reply to Hongtao.liu from comment #5) > > (In reply to Kewen Lin from comment #3) > > > (In reply to Hongtao.liu from comment #2) > > > > Does https://gcc.gnu.org/pi

<    1   2   3   4   5   6   7   8   9   10   >