[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-10-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-10-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #31 from Richard Biener --- Author: rguenth Date: Wed Oct 30 09:21:09 2019 New Revision: 277603 URL: https://gcc.gnu.org/viewcvs?rev=277603&root=gcc&view=rev Log: 2019-10-30 Richard Biener PR tree-optimization/65930

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-10-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #30 from Richard Biener --- Author: rguenth Date: Tue Oct 29 09:33:49 2019 New Revision: 277566 URL: https://gcc.gnu.org/viewcvs?rev=277566&root=gcc&view=rev Log: 2019-10-29 Richard Biener PR tree-optimization/65930

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-10-25 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #29 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #23 from Richard Biener --- [...] > I'm going to install a patch. The SPARC failues are fixed indeed. Thanks. Rainer

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-10-24 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 rsandifo at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-10-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #27 from Richard Biener --- Author: rguenth Date: Thu Oct 24 10:23:52 2019 New Revision: 277373 URL: https://gcc.gnu.org/viewcvs?rev=277373&root=gcc&view=rev Log: 2019-10-24 Richard Biener PR tree-optimization/65930

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-10-24 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #26 from Tamar Christina --- > At least for this one there's the comment > /* ??? At present we don't treat the int8_t and int16_t loops as > reductions. */ > > but I guess it's the same for the rest. You have to fixup the testc

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-10-24 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #25 from rguenther at suse dot de --- On Thu, 24 Oct 2019, tnfchris at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 > > --- Comment #22 from Tamar Christina --- > It also causes failures on AArch64. >

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-10-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #24 from Richard Biener --- Author: rguenth Date: Thu Oct 24 09:59:24 2019 New Revision: 277372 URL: https://gcc.gnu.org/viewcvs?rev=277372&root=gcc&view=rev Log: 2019-10-24 Richard Biener PR tree-optimization/65930

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-10-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #23 from Richard Biener --- (In reply to Rainer Orth from comment #21) > (In reply to Richard Biener from comment #19) > > Author: rguenth > > Date: Wed Oct 23 12:41:49 2019 > > New Revision: 277322 > > > > URL: https://gcc.gnu.org/v

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-10-24 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #22 from Tamar Christina --- It also causes failures on AArch64. FAIL: gcc.target/aarch64/sve/reduc_2.c FAIL: gcc.target/aarch64/sve/slp_7.c FAIL: gcc.target/aarch64/sve/slp_5.c FAIL: gcc.target/aarch64/sve/reduc_1.c I've also noti

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-10-24 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #21 from Rainer Orth --- (In reply to Richard Biener from comment #19) > Author: rguenth > Date: Wed Oct 23 12:41:49 2019 > New Revision: 277322 > > URL: https://gcc.gnu.org/viewcvs?rev=277322&root=gcc&view=rev > Log: > 2019-10-23 R

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-10-24 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #20 from

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-10-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #19 from Richard Biener --- Author: rguenth Date: Wed Oct 23 12:41:49 2019 New Revision: 277322 URL: https://gcc.gnu.org/viewcvs?rev=277322&root=gcc&view=rev Log: 2019-10-23 Richard Biener PR tree-optimization/65930

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-10-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #18 from Richard Biener --- Another case unsigned bar (unsigned int *x) { int sum = 0; for (int i = 0; i < 16; ++i) sum += x[i]; return sum; } where an intermeditate result of the reduction chain is live.

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-09-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 Richard Biener changed: What|Removed |Added Attachment #42730|0 |1 is obsolete|

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-09-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #16 from Richard Biener --- So to outline the desired approach again the idea is to make the SCC finding (the DFS walk) in check_reduction_path the first-class operation of vect_is_simple_reduction, not passing in the reduction code b

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-06-12 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #15 from rguenther at suse dot de --- On Wed, 12 Jun 2019, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 > > Jakub Jelinek changed: > >What|Removed |Added

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-06-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #14

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-05-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 Richard Biener changed: What|Removed |Added CC||david.bolvansky at gmail dot com --- C

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-04-10 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #12 from Tamar Christina --- > If you have some clever ideas make sure to outline a patch > before finalizing it so you won't be disappointed by negative feedback ;) I'll be sure to do that with this and the other changes I intend to

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-04-10 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #11 from rguenther at suse dot de --- On Tue, 9 Apr 2019, tnfchris at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 > > Tamar Christina changed: > >What|Removed |Ad

[Bug tree-optimization/65930] Reduction with sign-change not handled

2019-04-09 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 Tamar Christina changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org --- Commen

[Bug tree-optimization/65930] Reduction with sign-change not handled

2018-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #9 from Richard Biener --- (In reply to Richard Biener from comment #8) > Note the tricky part is not so much the loop vectorization (teaching > reduction path support about the conversion is not difficult with the twist > that we > n

[Bug tree-optimization/65930] Reduction with sign-change not handled

2018-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #8 from Richard Biener --- Note the tricky part is not so much the loop vectorization (teaching reduction path support about the conversion is not difficult with the twist that we need to handle conversions as reduction code...) but t

[Bug tree-optimization/65930] Reduction with sign-change not handled

2018-12-12 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 ktkachov at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed|2015-04-29 00:00:00 |2018-12-12

[Bug tree-optimization/65930] Reduction with sign-change not handled

2018-12-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 Richard Biener changed: What|Removed |Added CC||jiangning.liu@amperecomputi

[Bug tree-optimization/65930] Reduction with sign-change not handled

2017-12-05 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #5 from rguenther at suse dot de --- On December 5, 2017 4:23:17 PM GMT+01:00, "sergey.shalnov at intel dot com" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 > >sergey.shalnov at intel dot com changed: > > Wha

[Bug tree-optimization/65930] Reduction with sign-change not handled

2017-12-05 Thread sergey.shalnov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 sergey.shalnov at intel dot com changed: What|Removed |Added CC||sergey.shalnov at intel

[Bug tree-optimization/65930] Reduction with sign-change not handled

2017-11-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #3 from Richard Biener --- Created attachment 42730 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42730&action=edit WIP patch What I have sitting in my tree. Steps to make this clean is 1) refactor things to record the orig

[Bug tree-optimization/65930] Reduction with sign-change not handled

2015-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 --- Comment #2 from Richard Biener --- More "correct" would be to replace the reduction in sum with one using an unsigned int type. Not sure where this kind of transform would fit best, but as it's an enablement for vectorization I suppose the v

[Bug tree-optimization/65930] Reduction with sign-change not handled

2015-04-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65930 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|