Re: Lower unsupported VEC_COND_EXPR

2012-11-01 Thread Richard Henderson
On 2012-11-02 02:44, Marc Glisse wrote: > 2012-11-01 Marc Glisse > > PR middle-end/55001 > > gcc/ > tree-vect-generic.c (expand_vector_condition): New function. > (expand_vector_operations_1): Call it. > > testsuite/ > g++.dg/ext/vector19.C: Remove target restrictions. > g

Lower unsupported VEC_COND_EXPR

2012-11-01 Thread Marc Glisse
Hello, this patch adds support for VEC_COND_EXPR to tree-vect-generic.c. It doesn't try to use vectors of smaller size and jumps straight to elementwise operations, so there is margin for improvements, but it seemed better to have something asap that at least compiles. For the testsuite: the