[Bug target/63177] Powerpc no-vfa-vect-depend-2.c and no-vfa-vect-depend-3.c failures

2018-06-07 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63177 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/85755] PowerPC Gcc's -mupdate produces inefficient code on power8/power9 machines

2018-06-07 Thread bergner at gcc dot gnu.org
at gcc dot gnu.org |bergner at gcc dot gnu.org --- Comment #5 from Peter Bergner --- Hmmm, it must be the extra use of rs6000_offsettable_memref_p() that disables the update forms. I'll have a look.

[Bug target/85755] PowerPC Gcc's -mupdate produces inefficient code on power8/power9 machines

2018-06-08 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85755 Peter Bergner changed: What|Removed |Added URL|https://gcc.gnu.org/ml/gcc- |https://gcc.gnu.org/ml/gcc-

[Bug target/85755] PowerPC Gcc's -mupdate produces inefficient code on power8/power9 machines

2018-06-08 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85755 --- Comment #7 from Peter Bergner --- Author: bergner Date: Fri Jun 8 17:17:45 2018 New Revision: 261340 URL: https://gcc.gnu.org/viewcvs?rev=261340&root=gcc&view=rev Log: gcc/ PR target/85755 * config/rs6000/rs6000.c (mem_opera

[Bug target/85755] PowerPC Gcc's -mupdate produces inefficient code on power8/power9 machines

2018-06-11 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85755 --- Comment #10 from Peter Bergner --- Author: bergner Date: Mon Jun 11 18:23:28 2018 New Revision: 261441 URL: https://gcc.gnu.org/viewcvs?rev=261441&root=gcc&view=rev Log: gcc/ Backport from mainline 2018-06-08 Peter Bergner

[Bug target/85755] PowerPC Gcc's -mupdate produces inefficient code on power8/power9 machines

2018-06-11 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85755 --- Comment #11 from Peter Bergner --- Author: bergner Date: Mon Jun 11 18:25:37 2018 New Revision: 261442 URL: https://gcc.gnu.org/viewcvs?rev=261442&root=gcc&view=rev Log: gcc/ Backport from mainline 2018-06-08 Peter Bergner

[Bug target/85755] PowerPC Gcc's -mupdate produces inefficient code on power8/power9 machines

2018-06-11 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85755 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/86222] ICE in final_scan_insn_1 calling strncmp() with a bound of PTRDIFF_MAX + 1

2018-06-19 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86222 Peter Bergner changed: What|Removed |Added CC||acsawdey at gcc dot gnu.org --- Comment

[Bug target/86285] New: We don't mangle __ieee128 correctly using -mlong-double-64 -mabi=ieeelongdouble

2018-06-22 Thread bergner at gcc dot gnu.org
erity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: bergner at gcc dot gnu.org Target Milestone: --- We don't mangle __ieee128 correctly when compiling with -mlong-double-64 -mabi=ieeelongdouble. We should alw

[Bug target/86285] We don't mangle __ieee128 correctly using -mlong-double-64 -mabi=ieeelongdouble

2018-06-22 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86285 --- Comment #1 from Peter Bergner --- Setting a breakpoint at rs6000_mangle_type(tree type), I'm seeing: (gdb) p type $23 = (const_tree) 0x758413b0 (gdb) ptree type constant 64> unit-size constant 8> align:64 warn_if_not_align:0 s

[Bug target/86285] We don't mangle __ieee128 correctly using -mlong-double-64 -mabi=ieeelongdouble

2018-06-22 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86285 --- Comment #2 from Peter Bergner --- When we compile using -mlong-double-64 -mabi=ibmlongdouble, we get what I'd expect: (gdb) ptree type constant 128> unit-size constant 16> align:128 warn_if_not_align:0 symtab:0 alias-set -1 canoni

[Bug target/86324] New: testsuite test divkc3-1.c ICEs when compiling with -mabi=ieeelongdouble

2018-06-26 Thread bergner at gcc dot gnu.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: bergner at gcc dot gnu.org Target Milestone: --- bergner@pike:~/gcc/BUGS/IEEE128$ cat divkc.i typedef __complex float __cfloat128 __attribute__((mode(KC))); __cfloat128 divide

[Bug target/86324] testsuite test divkc3-1.c FAILs when compiling with -mabi=ieeelongdouble

2018-06-26 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86324 --- Comment #1 from Peter Bergner --- I thought I had Segher's PR82625 patch applied but didn't. I'm rebuilding with that fix to see if this still FAILs with that fix or not.

[Bug target/86324] testsuite test divkc3-1.c FAILs when compiling with -mabi=ieeelongdouble

2018-06-26 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86324 --- Comment #2 from Peter Bergner --- Ok, it still fails even with Segher's patch. I'll try and track things down.

[Bug target/86324] testsuite test divkc3-1.c FAILs when compiling with -mabi=ieeelongdouble

2018-06-26 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86324 --- Comment #3 from Peter Bergner --- And a complementary bug for a __ibm128 complex type when using -mabi=ibmlongdouble: bergner@pike:~/gcc/BUGS/PR86324$ cat divic.i typedef __complex float __cfloat128 __attribute__((mode(IC))); __cfloat128 di

[Bug target/86324] testsuite test divkc3-1.c FAILs when compiling with -mabi=ieeelongdouble

2018-06-26 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86324 --- Comment #4 from Peter Bergner --- So talking with Joseph on IRC, he said if K[FC]mode or I[FC}mode are the same as long double, then we should translate the mode attribute in c-attribs.c:handle_mode_attribute() to return the T[FC]mode instead

[Bug target/86324] testsuite test divkc3-1.c FAILs when compiling with -mabi=ieeelongdouble

2018-06-28 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86324 Peter Bergner changed: What|Removed |Added Target Milestone|--- |8.2 --- Comment #5 from Peter Bergner -

[Bug target/86324] testsuite test divkc3-1.c FAILs when compiling with -mabi=ieeelongdouble

2018-06-28 Thread bergner at gcc dot gnu.org
||2018-06-28 Assignee|unassigned at gcc dot gnu.org |bergner at gcc dot gnu.org Ever confirmed|0 |1

[Bug target/91050] -mdejagnu-cpu= does not affect the -m assembler option

2019-07-31 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91050 --- Comment #15 from Peter Bergner --- Author: bergner Date: Wed Jul 31 17:18:40 2019 New Revision: 273941 URL: https://gcc.gnu.org/viewcvs?rev=273941&root=gcc&view=rev Log: PR target/91050 * config/rs6000/rs6000.opt (mdejagnu-cp

[Bug target/91050] -mdejagnu-cpu= does not affect the -m assembler option

2019-07-31 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91050 Peter Bergner changed: What|Removed |Added Status|NEW |RESOLVED URL|

[Bug target/70010] powerpc: -flto forgets 'no-vsx' function attributes

2019-10-14 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70010 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |NEW URL|

[Bug target/70010] powerpc: -flto forgets 'no-vsx' function attributes

2019-10-16 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70010 Peter Bergner changed: What|Removed |Added Status|NEW |RESOLVED URL|https://gcc.

[Bug target/83387] PowerPC64 + Ada + RTEMS: Infinite loops in do_reload()

2017-12-12 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org --- Comment

[Bug target/83387] PowerPC64 + Ada + RTEMS: Infinite loops in do_reload()

2017-12-12 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 --- Comment #3 from Peter Bergner --- (In reply to Sebastian Huber from comment #2) > Is -msoft-float supported on 64-bit PowerPC? It is not important for us. I > just copied the 32-bit multilibs without much thought. It is used by the linux ker

[Bug target/83387] PowerPC64 + Ada + RTEMS: Infinite loops in do_reload()

2017-12-12 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 --- Comment #5 from Peter Bergner --- (In reply to Sebastian Huber from comment #4) > If I remove the -msoft-float, the two example source files compile > (-mno-altivec seems to cause no harm). Well the first question, is do you really need to u

[Bug target/80210] ICE in in extract_insn, at recog.c:2311 on ppc64 for with __builtin_pow

2017-12-14 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80210 --- Comment #20 from Peter Bergner --- Author: bergner Date: Thu Dec 14 17:43:32 2017 New Revision: 255655 URL: https://gcc.gnu.org/viewcvs?rev=255655&root=gcc&view=rev Log: gcc/ Backport from mainline 2017-10-02 Peter Bergner

[Bug target/80210] ICE in in extract_insn, at recog.c:2311 on ppc64 for with __builtin_pow

2017-12-14 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80210 --- Comment #21 from Peter Bergner --- Author: bergner Date: Fri Dec 15 03:41:16 2017 New Revision: 255671 URL: https://gcc.gnu.org/viewcvs?rev=255671&root=gcc&view=rev Log: gcc/ Backport from mainline 2017-10-02 Peter Bergner

[Bug target/80210] ICE in in extract_insn, at recog.c:2311 on ppc64 for with __builtin_pow

2017-12-15 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80210 Peter Bergner changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #22 from Peter Bergne

[Bug target/83387] PowerPC64: Infinite loops in do_reload() with -msoft-float

2017-12-18 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/83387] PowerPC64: Infinite loops in do_reload() with -msoft-float

2017-12-18 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 --- Comment #9 from Peter Bergner --- ...and the parallel with the FP reg use (33 and 34) come from: expand_call(): valreg = hard_function_value (build_pointer_type (rettype), fndecl, NULL, (pass == 0)); har

[Bug target/83387] PowerPC64: Infinite loops in do_reload() with -msoft-float

2017-12-19 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 --- Comment #13 from Peter Bergner --- (In reply to Sebastian Huber from comment #12) > (In reply to Peter Bergner from comment #9) > [...] > > Here, you can see that on ELFv2, we always assume HW FP regs are avialable, > > because we're forcing

[Bug target/83387] PowerPC64: Infinite loops in do_reload() with -msoft-float

2018-01-03 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 Peter Bergner changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |bergner at gcc dot gnu.org

[Bug tree-optimization/51513] Only partially optimizes away __builtin_unreachable switch default case

2018-01-03 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51513 Peter Bergner changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #11 from Peter Bergne

[Bug target/83387] PowerPC64: Infinite loops in do_reload() with -msoft-float

2018-01-04 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 --- Comment #18 from Peter Bergner --- Author: bergner Date: Thu Jan 4 14:36:35 2018 New Revision: 256250 URL: https://gcc.gnu.org/viewcvs?rev=256250&root=gcc&view=rev Log: PR target/83387 * config/rs6000/rs6000.c (rs6000_discov

[Bug target/83387] PowerPC64: Infinite loops in do_reload() with -msoft-float

2018-01-04 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 Peter Bergner changed: What|Removed |Added Status|NEW |ASSIGNED URL|

[Bug target/83387] PowerPC64: Infinite loops in do_reload() with -msoft-float

2018-01-04 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/83387] PowerPC64: Infinite loops in do_reload() with -msoft-float

2018-01-04 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 Peter Bergner changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #20 from Peter Bergne

[Bug target/83399] Power8 ICE During LRA with 2-op rtl pattern for lvx instruction

2018-01-08 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83399 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org --- Comment

[Bug target/83399] Power8 ICE During LRA with 2-op rtl pattern for lvx instruction

2018-01-08 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83399 --- Comment #6 from Peter Bergner --- A better test case which "looks" valid to me and still ICEs with -O1 -mabi=elfv2 -S (on LE): typedef __attribute__((altivec(vector__))) int v4si_t; int foo (void) { v4si_t a, u, v, y; u = __builtin_altiv

[Bug target/83399] Power8 ICE During LRA with 2-op rtl pattern for lvx instruction

2018-01-08 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83399 --- Comment #8 from Peter Bergner --- Created attachment 43064 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43064&action=edit Proposed fix I'm testing the attached patch.

[Bug target/83743] New: -mcpu=native causes gcc to exit in error if cpu is not recognized

2018-01-08 Thread bergner at gcc dot gnu.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: bergner at gcc dot gnu.org Target Milestone: --- Running an "old" gcc with "-mcpu=native" that's doesn't have basic support for the processor it is

[Bug target/83399] Power8 ICE During LRA with 2-op rtl pattern for lvx instruction

2018-01-09 Thread bergner at gcc dot gnu.org
|bergner at gcc dot gnu.org --- Comment #10 from Peter Bergner --- Patch submitted. I'm also changing the keyword to ice-on-valid-code, since I think the minimal test case in Comment 6 is valid, unlike the original test case.

[Bug target/83399] Power8 ICE During LRA with 2-op rtl pattern for lvx instruction

2018-01-09 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83399 --- Comment #12 from Peter Bergner --- (In reply to Segher Boessenkool from comment #11) > It is not valid: (void *)&a - 32 does not point inside a (or just behind > it). > > Perhaps you can make it valid using uintptr_t. Either way: should n

[Bug target/83743] -mcpu=native causes gcc to exit in error if cpu is not recognized

2018-01-09 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83743 --- Comment #3 from Peter Bergner --- (In reply to Segher Boessenkool from comment #2) > The driver asks the kernel, and the kernel knows. It's just a string. Correct, the kernel passes a string to the driver and the driver blindly uses it as i

[Bug target/83399] Power8 ICE During LRA with 2-op rtl pattern for lvx instruction

2018-01-10 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83399 --- Comment #13 from Peter Bergner --- Author: bergner Date: Wed Jan 10 20:49:36 2018 New Revision: 256453 URL: https://gcc.gnu.org/viewcvs?rev=256453&root=gcc&view=rev Log: gcc/ PR target/83399 * config/rs6000/rs6000.c (print_op

[Bug target/56010] Powerpc, -mcpu=native and -mtune=native use the wrong name for target 7450

2018-01-10 Thread bergner at gcc dot gnu.org
||2018-01-10 Assignee|unassigned at gcc dot gnu.org |bergner at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #5 from Peter Bergner --- Going through the kernel cputable.c file and comparing it to rs6000-cpus.def, I think the name

[Bug target/83399] Power8 ICE During LRA with 2-op rtl pattern for lvx instruction

2018-01-23 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83399 --- Comment #14 from Peter Bergner --- Author: bergner Date: Tue Jan 23 18:18:25 2018 New Revision: 256993 URL: https://gcc.gnu.org/viewcvs?rev=256993&root=gcc&view=rev Log: gcc/ Back port from mainline 2018-01-10 Peter Bergner

[Bug target/56010] Powerpc, -mcpu=native and -mtune=native use the wrong name for target 7450

2018-01-23 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56010 --- Comment #6 from Peter Bergner --- Created attachment 43227 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43227&action=edit Proposed patch I'm testing the attached patch, which should also fix PR83743. Can those of you that have hit t

[Bug target/56010] Powerpc, -mcpu=native and -mtune=native use the wrong name for target 7450

2018-01-23 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56010 Peter Bergner changed: What|Removed |Added Attachment #43227|0 |1 is obsolete|

[Bug bootstrap/84021] [8 Regression] bootstrap fails in libgo on powerpc64le-linux-gnu

2018-01-24 Thread bergner at gcc dot gnu.org
||bergner at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #1 from Peter Bergner --- This is being tracked in PR83758. *** This bug has been marked as a duplicate of bug 83758 ***

[Bug debug/83758] ICE building gccgo on powerpc64le --with-cpu=power8

2018-01-24 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83758 Peter Bergner changed: What|Removed |Added CC||doko at gcc dot gnu.org --- Comment #20

[Bug target/83743] -mcpu=native causes gcc to exit in error if cpu is not recognized

2018-01-24 Thread bergner at gcc dot gnu.org
at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #5 from Peter Bergner --- Patch submitted to fix this and PR56010.

[Bug target/83399] Power8 ICE During LRA with 2-op rtl pattern for lvx instruction

2018-01-25 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83399 --- Comment #15 from Peter Bergner --- Author: bergner Date: Thu Jan 25 16:50:08 2018 New Revision: 257058 URL: https://gcc.gnu.org/viewcvs?rev=257058&root=gcc&view=rev Log: gcc/ Back port from mainline 2018-01-10 Peter Bergner

[Bug target/83399] Power8 ICE During LRA with 2-op rtl pattern for lvx instruction

2018-01-25 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83399 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/83399] Power8 ICE During LRA with 2-op rtl pattern for lvx instruction

2018-01-25 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83399 Peter Bergner changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #17 from Peter Bergne

[Bug target/56010] Powerpc, -mcpu=native and -mtune=native use the wrong name for target 7450

2018-01-25 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56010 --- Comment #9 from Peter Bergner --- (In reply to Segher Boessenkool from comment #8) >> This kernel AT_PLATFORM name should strip the '+' off: >> .platform = "power7+", -> "power7" > > We probably should have a -mcpu=power7+, we have power5+

[Bug target/83926] ICE during RTL pass: ira, in elimination_costs_in_insn, at reload1.c:3633

2018-01-30 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83926 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/83926] ICE during RTL pass: ira, in elimination_costs_in_insn, at reload1.c:3633

2018-01-31 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83926 --- Comment #9 from Peter Bergner --- So the problem is that the splitter for vsx_div_v2di unconditionally calls gen_divdi3() , which assumes we have a 64-bit integer HW div insn. If you do a scalar 64-bit div, we notice we don't have that HW in

[Bug target/83926] ICE during RTL pass: ira, in elimination_costs_in_insn, at reload1.c:3633

2018-02-01 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83926 --- Comment #10 from Peter Bergner --- A similar error happens with the __builtin_vsx_udiv_2di() that happens with __builtin_vsx_div_2di(), which shows the splitter for vsx_udiv_v2di calling gen_udivdi3() directly: [bergner@makalu-lp1 PR83926]$

[Bug target/83926] ICE during RTL pass: ira, in elimination_costs_in_insn, at reload1.c:3633

2018-02-01 Thread bergner at gcc dot gnu.org
at gcc dot gnu.org |bergner at gcc dot gnu.org --- Comment #11 from Peter Bergner --- I have two patches 1) modify gen_[u]divdi3() to handle calling the lib func __[u]divdi3 when needed and 2) Call expand_divmod() in the vsx_[u]div_v2di splitters. I'm evaluating which generates better code.

[Bug target/56010] Powerpc, -mcpu=native and -mtune=native use the wrong name for target 7450

2018-02-01 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56010 --- Comment #11 from Peter Bergner --- Author: bergner Date: Thu Feb 1 18:26:51 2018 New Revision: 257305 URL: https://gcc.gnu.org/viewcvs?rev=257305&root=gcc&view=rev Log: PR target/56010 PR target/83743 * config/rs6000

[Bug target/83743] -mcpu=native causes gcc to exit in error if cpu is not recognized

2018-02-01 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83743 --- Comment #6 from Peter Bergner --- Author: bergner Date: Thu Feb 1 18:26:51 2018 New Revision: 257305 URL: https://gcc.gnu.org/viewcvs?rev=257305&root=gcc&view=rev Log: PR target/56010 PR target/83743 * config/rs6000/

[Bug target/56010] Powerpc, -mcpu=native and -mtune=native use the wrong name for target 7450

2018-02-01 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56010 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED URL|https://gcc.

[Bug target/83743] -mcpu=native causes gcc to exit in error if cpu is not recognized

2018-02-01 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83743 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED URL|https://gcc.

[Bug target/83743] -mcpu=native causes gcc to exit in error if cpu is not recognized

2018-02-05 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83743 --- Comment #8 from Peter Bergner --- Author: bergner Date: Mon Feb 5 19:17:37 2018 New Revision: 257392 URL: https://gcc.gnu.org/viewcvs?rev=257392&root=gcc&view=rev Log: Back port from mainline 2018-02-01 Peter Bergner

[Bug target/56010] Powerpc, -mcpu=native and -mtune=native use the wrong name for target 7450

2018-02-05 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56010 --- Comment #13 from Peter Bergner --- Author: bergner Date: Mon Feb 5 19:17:37 2018 New Revision: 257392 URL: https://gcc.gnu.org/viewcvs?rev=257392&root=gcc&view=rev Log: Back port from mainline 2018-02-01 Peter Bergner

[Bug target/83743] -mcpu=native causes gcc to exit in error if cpu is not recognized

2018-02-05 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83743 Peter Bergner changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #9 from Peter Bergner

[Bug target/84220] New: rs6000 builtin __builtin_vec_sld() ICEs on invalid 3rd argument

2018-02-05 Thread bergner at gcc dot gnu.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: bergner at gcc dot gnu.org Target Milestone: --- Calling the __builtin_vec_sld() builtin with an invalid 3rd argument (should be an int), we end up generating invalid gimple and we

[Bug target/84220] rs6000 builtin __builtin_vec_sld() ICEs on invalid 3rd argument

2018-02-07 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84220 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED URL|

[Bug target/83926] ICE during RTL pass: ira, in elimination_costs_in_insn, at reload1.c:3633

2018-02-08 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83926 Peter Bergner changed: What|Removed |Added Keywords|ra | URL|

[Bug target/84227] [8 Regression] ICE in lra_set_insn_recog_data, at lra.c:998

2018-02-08 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84227 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org --- Comment

[Bug target/84279] [8 Regression] powerpc64le ICE on cvc4

2018-02-08 Thread bergner at gcc dot gnu.org
||bergner at gcc dot gnu.org --- Comment #2 from Peter Bergner --- Confirmed.

[Bug target/81143] New test case gcc.target/powerpc/pr79799-2.c fails on powerpc BE

2018-02-08 Thread bergner at gcc dot gnu.org
||2018-02-08 CC||bergner at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |bergner at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Peter Bergner --- This is a test case

[Bug target/81143] New test case gcc.target/powerpc/pr79799-2.c fails on powerpc BE

2018-02-08 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81143 --- Comment #2 from Peter Bergner --- Author: bergner Date: Thu Feb 8 20:40:32 2018 New Revision: 257504 URL: https://gcc.gnu.org/viewcvs?rev=257504&root=gcc&view=rev Log: PR target/81143 * gcc.target/powerpc/pr79799-2.c: Use __

[Bug target/81143] New test case gcc.target/powerpc/pr79799-2.c fails on powerpc BE

2018-02-08 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81143 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED URL|

[Bug target/81143] New test case gcc.target/powerpc/pr79799-2.c fails on powerpc BE

2018-02-08 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81143 Peter Bergner changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #4 from Peter Bergner

[Bug rtl-optimization/89310] New: Poor code generation returning float field from a struct

2019-02-12 Thread bergner at gcc dot gnu.org
Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: bergner at gcc dot gnu.org Target Milestone: --- The following test case shows poor code generation on powerpc64le-linux: bergner@pike:~/gcc/BUGS/PR88845$ cat struct.i struct s

[Bug rtl-optimization/89310] Poor code generation returning float field from a struct

2019-02-12 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89310 --- Comment #1 from Peter Bergner --- Before combine, we have the following rtl: (insn # # # 2 (set (reg/v:DI 122 [ argD.2825 ]) (reg:DI 3 3 [ argD.2825 ])) "struct.i":8:1# {*movdi_internal64} (expr_list:REG_DEAD (reg:DI 3 3 [ argD.

[Bug rtl-optimization/89313] [9 Regression] ICE in process_alt_operands, at lra-constraints.c:2962

2019-02-12 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89313 --- Comment #2 from Peter Bergner --- I'll have a look.

[Bug rtl-optimization/89313] [9 Regression] ICE in process_alt_operands, at lra-constraints.c:2962

2019-02-12 Thread bergner at gcc dot gnu.org
at gcc dot gnu.org |bergner at gcc dot gnu.org --- Comment #3 from Peter Bergner --- This is not a bug in my code, it's just that before my commit, we did not catch the illegal asm constraint usage and LRA "fixed" up the code without complaining, but given it generated code

[Bug rtl-optimization/89313] [9 Regression] ICE in process_alt_operands, at lra-constraints.c:2962

2019-02-12 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89313 --- Comment #4 from Peter Bergner --- Actually, the error message: z1.c:7:1: error: unable to generate reloads for impossible constraints: is a new LRA test that I added as part of one of my other commits that is catching the illegal regist

[Bug rtl-optimization/89313] [9 Regression] ICE in process_alt_operands, at lra-constraints.c:2962

2019-02-14 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89313 --- Comment #5 from Peter Bergner --- I'm testing a patch that gives a better error message and eliminates the ICE: [bergner@dagger1 PR89313]$ cat pr89313.i long f; long g (void) { register long z asm ("rax"); asm ("foo %0, %1, %2" : "=&r"

[Bug rtl-optimization/89313] [9 Regression] ICE in process_alt_operands, at lra-constraints.c:2962

2019-02-20 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89313 Peter Bergner changed: What|Removed |Added Keywords|ice-on-invalid-code |ice-on-valid-code Target|x86

[Bug rtl-optimization/88845] ICE in lra_set_insn_recog_data, at lra.c:1010

2019-03-06 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88845 --- Comment #4 from Peter Bergner --- Author: bergner Date: Wed Mar 6 15:36:43 2019 New Revision: 269428 URL: https://gcc.gnu.org/viewcvs?rev=269428&root=gcc&view=rev Log: gcc/ PR rtl-optimization/88845 * config/rs6000/rs6000.c

[Bug rtl-optimization/88845] ICE in lra_set_insn_recog_data, at lra.c:1010

2019-03-06 Thread bergner at gcc dot gnu.org
||https://gcc.gnu.org/ml/gcc- ||patches/2019-03/msg00148.ht ||ml Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |bergner at gcc

[Bug rtl-optimization/89313] [9 Regression] ICE in process_alt_operands, at lra-constraints.c:2962

2019-03-27 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89313 --- Comment #7 from Peter Bergner --- Author: bergner Date: Wed Mar 27 16:59:15 2019 New Revision: 269969 URL: https://gcc.gnu.org/viewcvs?rev=269969&root=gcc&view=rev Log: gcc/ PR rtl-optimization/89313 * function.c (matching_co

[Bug rtl-optimization/89313] [9 Regression] ICE in process_alt_operands, at lra-constraints.c:2962

2019-03-27 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89313 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/89853] Regression of 525.x264_r at -O2 (and generic tuning) on AMD EPYC

2019-03-27 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89853 --- Comment #1 from Peter Bergner --- Cut and paste error? The two data sets look the same to me...or am I missing something?

[Bug rtl-optimization/89853] Regression of 525.x264_r at -O2 (and generic tuning) on AMD EPYC

2019-03-27 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89853 --- Comment #3 from Peter Bergner --- I don't have access to that type of machine and honestly don't know the ISA well enough to know the differences between what runs well and what doesn't just by looking at the code. Can you point out some cod

[Bug rtl-optimization/89853] Regression of 525.x264_r at -O2 (and generic tuning) on AMD EPYC

2019-03-28 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89853 --- Comment #5 from Peter Bergner --- (In reply to Martin Liška from comment #4) > Just for the record, my Ryzen machine periodic tester probably improved due > to the revision: > https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=158.377.0

[Bug rtl-optimization/89853] Regression of 525.x264_r at -O2 (and generic tuning) on AMD EPYC

2019-03-28 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89853 --- Comment #7 from Peter Bergner --- (In reply to Martin Jambor from comment #6) > Hi, the assembly of the most affected function does not change at all, just > its offset (is 0x10 bytes bigger). Aligning the loops in the function a bit > more

[Bug target/89865] [9 Regression] FAIL: gcc.target/i386/pr49095.c scan-assembler-times \\\\), % 45

2019-03-28 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89865 Peter Bergner changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comment #1

[Bug rtl-optimization/87871] [9 Regression] testcases fail after r265398 on arm

2019-04-11 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87871 --- Comment #14 from Peter Bergner --- (In reply to Segher Boessenkool from comment #12) > Disposition: > 0:r111 l0 03:r112 l0 41:r113 l0 22:r114 l0 3 > 5:r116 l0 44:r117 l0 0 > > If r116 had been

[Bug rtl-optimization/87871] [9 Regression] testcases fail after r265398 on arm

2019-04-12 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87871 --- Comment #18 from Peter Bergner --- (In reply to Segher Boessenkool from comment #15) > Popping a5(r116,l0) -- assign reg 3 > Popping a3(r112,l0) -- assign reg 4 > Popping a2(r114,l0) -- assign reg 3 > Popping a0(r11

[Bug rtl-optimization/87871] [9 Regression] testcases fail after r265398 on arm

2019-04-12 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87871 --- Comment #22 from Peter Bergner --- (In reply to Wilco from comment #21) > (In reply to Vladimir Makarov from comment #20) >> The question is why p116 conflicts with hr0. Before RA we have > > That's a bug since register copies should not cr

[Bug rtl-optimization/87871] [9 Regression] testcases fail after r265398 on arm

2019-04-12 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87871 --- Comment #24 from Peter Bergner --- So improve_allocation() initially looks at using r0, but disregards it because check_hard_reg_p() returns false for r0, and that is because we fail this test: /* Checking only profitable hard regs. */

[Bug rtl-optimization/87871] [9 Regression] testcases fail after r265398 on arm

2019-04-16 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87871 --- Comment #26 from Peter Bergner --- (In reply to Vladimir Makarov from comment #25) > (In reply to Peter Bergner from comment #24) >> I don't know why r0 isn't in profitable_regs for pseudo 116. > > Profitable regs there contain also conflic

[Bug rtl-optimization/87871] [9 Regression] testcases fail after r265398 on arm

2019-04-16 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87871 --- Comment #28 from Peter Bergner --- Vlad, in looking at add_insn_allocno_copies(), it looks like it relies on seeing REG_DEAD notes on whether to record a copy/shuffle that should be handled. Shouldn't we instead be looking at whether the sou

[Bug rtl-optimization/87871] [9 Regression] testcases fail after r265398 on arm

2019-04-16 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87871 --- Comment #29 from Peter Bergner --- (In reply to Segher Boessenkool from comment #27) > > Note: I'm assuming we're missing a \n after p116's empty conflicts above? > > The code is Right. I already whipped up a patch that gives me: ;; a5(r1

[Bug rtl-optimization/87871] [9 Regression] testcases fail after r265398 on arm

2019-04-17 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87871 --- Comment #32 from Peter Bergner --- (In reply to Peter Bergner from comment #26) > (In reply to Vladimir Makarov from comment #25) > > (In reply to Peter Bergner from comment #24) > >> I don't know why r0 isn't in profitable_regs for pseudo 11

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