[Bug tree-optimization/68714] [6 Regression] less folding of vector comparison

2016-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68714 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Wed Mar 16 13:34:36 2016 New Revision: 234258 URL: https://gcc.gnu.org/viewcvs?rev=234258=gcc=rev Log: PR tree-optimization/68714 * gcc.dg/tree-ssa/pr68714.c: Add -w

[Bug tree-optimization/68714] [6 Regression] less folding of vector comparison

2016-03-19 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68714 --- Comment #11 from Richard Henderson --- Author: rth Date: Wed Mar 16 23:53:01 2016 New Revision: 234271 URL: https://gcc.gnu.org/viewcvs?rev=234271=gcc=rev Log: Gimplify vec_cond_expr with condition inside PR middle-end/70240 PR

[Bug tree-optimization/68714] [6 Regression] less folding of vector comparison

2016-03-14 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68714 Richard Henderson changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/68714] [6 Regression] less folding of vector comparison

2016-03-14 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68714 --- Comment #8 from Richard Henderson --- Author: rth Date: Mon Mar 14 20:48:15 2016 New Revision: 234196 URL: https://gcc.gnu.org/viewcvs?rev=234196=gcc=rev Log: PR tree-opt/68714 * tree-ssa-reassoc.c (ovce_extract_ops,

[Bug tree-optimization/68714] [6 Regression] less folding of vector comparison

2016-03-02 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68714 --- Comment #7 from Marc Glisse --- I find it strange that we do all operations on masks and not on "booleans" for vectors. typedef int T; T f(T a,T b,T c,T d){ return (a

[Bug tree-optimization/68714] [6 Regression] less folding of vector comparison

2016-02-26 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68714 Richard Henderson changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug tree-optimization/68714] [6 Regression] less folding of vector comparison

2016-01-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68714 --- Comment #6 from Richard Biener --- (In reply to Andrew Pinski from comment #5) > (In reply to Jakub Jelinek from comment #4) > > I'd add this regressed with r229128, and indeed before that change reassoc > > has been able to optimize the

[Bug tree-optimization/68714] [6 Regression] less folding of vector comparison

2016-01-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68714 --- Comment #5 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #4) > I'd add this regressed with r229128, and indeed before that change reassoc > has been able to optimize the comparisons, but now it is not. So, either we > defer

[Bug tree-optimization/68714] [6 Regression] less folding of vector comparison

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

[Bug tree-optimization/68714] [6 Regression] less folding of vector comparison

2015-12-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68714 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/68714] [6 Regression] less folding of vector comparison

2015-12-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68714 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/68714] [6 Regression] less folding of vector comparison

2015-12-07 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68714 --- Comment #3 from Ilya Enkovich --- (In reply to Marc Glisse from comment #1) > Helps, but then we have: > > _8 = x_1(D) <= y_2(D); > _6 = VEC_COND_EXPR <_8, { -1, -1, -1, -1 }, { 0, 0, 0, 0 }>; > > vector lowering calls

[Bug tree-optimization/68714] [6 Regression] less folding of vector comparison

2015-12-05 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68714 --- Comment #1 from Marc Glisse --- +/* Sink logical operations below the transformation from a bool vector to a + mask. */ +(if (!(cfun->curr_properties & PROP_gimple_lvec)) + (for bitop (bit_and bit_ior bit_xor) + (simplify + (bitop