[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2022-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 Andrew Pinski changed: What|Removed |Added Target Milestone|5.5 |---

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2016-06-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 Richard Biener changed: What|Removed |Added Target Milestone|5.4 |5.5 --- Comment #37 from Richard

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 Richard Biener changed: What|Removed |Added Target Milestone|5.3 |5.4 --- Comment #36 from Richard

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|5.2 |5.3 ---

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Target Milestone|5.0 |5.2 --- Comment

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-09 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #33 from amker at gcc dot gnu.org --- (In reply to Eric Botcazou from comment #31) The test also fails on PowerPC, the 2 IVs are kept by ivopts. On targets like ARM, the biv(i) is eliminated with biv(p). PowerPC is different, it

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-08 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #29 from amker at gcc dot gnu.org --- (In reply to amker from comment #28) On hppa 32, the two iv uses are: use 0 address in statement *p_1 = 0; at position *p_1 type int * base p_7 step 4 base object (void *)

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-08 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #28 from amker at gcc dot gnu.org --- On hppa 32, the two iv uses are: use 0 address in statement *p_1 = 0; at position *p_1 type int * base p_7 step 4 base object (void *) p_7 related candidates use 1 compare in

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-08 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #30 from dave.anglin at bell dot net --- On 2015-02-08, at 9:09 AM, amker at gcc dot gnu.org wrote: Ah, candidate 5 is considered cheaper according to the cost table. Is this a problem with insn costs, or a problem in the

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-08 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #31 from Eric Botcazou ebotcazou at gcc dot gnu.org --- The test also fails on PowerPC, the 2 IVs are kept by ivopts.

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-08 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #32 from amker at gcc dot gnu.org --- (In reply to dave.anglin from comment #30) On 2015-02-08, at 9:09 AM, amker at gcc dot gnu.org wrote: Ah, candidate 5 is considered cheaper according to the cost table. Is this a problem

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-07 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #25 from dave.anglin at bell dot net --- On 2015-02-06, at 6:33 AM, ebotcazou at gcc dot gnu.org wrote: Correction: we have only one IV on the PA, but it's 'i' and not 'p'. Dave, is the generated code optimimal on the PA or

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-07 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #27 from dave.anglin at bell dot net --- On 2015-02-07, at 5:24 PM, ebotcazou at gcc dot gnu.org wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #26 from Eric Botcazou ebotcazou at gcc dot gnu.org --- The

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-07 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #26 from Eric Botcazou ebotcazou at gcc dot gnu.org --- The generated code on PA looks optimal to me: zdep %r25,29,30,%r28 b .L2 ldi 99,%r19 .L6: zdep %r25,29,30,%r28 .L2: addl

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-06 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #21 from Eric Botcazou ebotcazou at gcc dot gnu.org --- Author: ebotcazou Date: Fri Feb 6 11:17:46 2015 New Revision: 220473 URL: https://gcc.gnu.org/viewcvs?rev=220473root=gccview=rev Log: PR target/62631 *

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-06 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #22 from Eric Botcazou ebotcazou at gcc dot gnu.org --- OK, this is fixed on the SPARC, but not on the PA where we still have 2 IVs.

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-06 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #23 from Eric Botcazou ebotcazou at gcc dot gnu.org --- OK, this is fixed on the SPARC, but not on the PA where we still have 2 IVs. Correction: we have only one IV on the PA, but it's 'i' and not 'p'. Dave, is the generated code

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-06 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #24 from dave.anglin at bell dot net --- On 2015-02-06 6:33 AM, ebotcazou at gcc dot gnu.org wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #23 from Eric Botcazou ebotcazou at gcc dot gnu.org --- OK, this is

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-05 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #18 from amker at gcc dot gnu.org --- (In reply to Eric Botcazou from comment #16) The cost of expression p + ((sizetype)(99 - i_6(D)) + 1) * 4 computed using normal +/-/* operators on sparc64 is 18, but the cost is 32 if it is

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-05 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #20 from amker at gcc dot gnu.org --- (In reply to Eric Botcazou from comment #19) The assembly is as below on sparc64: f1: .register %g2, #scratch sllx%o1, 2, %g1 mov 99, %g2 add %o0,

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #19 from Eric Botcazou ebotcazou at gcc dot gnu.org --- The assembly is as below on sparc64: f1: .register %g2, #scratch sllx%o1, 2, %g1 mov 99, %g2 add %o0, %g1, %o0 sub %g2,

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-04 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #16 from Eric Botcazou ebotcazou at gcc dot gnu.org --- The cost of expression p + ((sizetype)(99 - i_6(D)) + 1) * 4 computed using normal +/-/* operators on sparc64 is 18, but the cost is 32 if it is computed as p +

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-04 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #17 from Eric Botcazou ebotcazou at gcc dot gnu.org --- This looks a generic problem in get_shiftadd_cost to me, it ought to mimic the algorithms in expmed.c, something like: @@ -3597,22 +3597,26 @@ get_shiftadd_cost (tree expr,

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-03 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #15 from amker at gcc dot gnu.org --- (In reply to amker from comment #14) (In reply to Eric Botcazou from comment #12) I'm about to install a patch that changes the costs on SPARC 64-bit to: Use 1: cand costcompl.

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-03 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #14 from amker at gcc dot gnu.org --- (In reply to Eric Botcazou from comment #12) I'm about to install a patch that changes the costs on SPARC 64-bit to: Use 1: cand costcompl. depends on 0 4 0

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-03 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #13 from Eric Botcazou ebotcazou at gcc dot gnu.org --- Author: ebotcazou Date: Tue Feb 3 09:56:45 2015 New Revision: 220369 URL: https://gcc.gnu.org/viewcvs?rev=220369root=gccview=rev Log: PR target/62631 *

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2015-02-02 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|NEW

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2014-12-21 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 --- Comment #11 from John David Anglin danglin at gcc dot gnu.org --- Created attachment 34308 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34308action=edit hppa ivopts dump

[Bug target/62631] gcc.dg/tree-ssa/ivopts-lt-2.c FAILs

2014-09-12 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62631 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED