On 10/02/2015 08:11 AM, Ilya Enkovich wrote:
Hi,

This patch supports boolean vectors in vector lowering.  Main change is to 
lower vector comparison into comparisons, not cond_exprs.

Thanks,
Ilya
--
2015-10-02  Ilya Enkovich  <enkovich....@gmail.com>

        * tree-vect-generic.c (elem_op_func): Add new operand to hold
        vector type.
        (do_unop): Adjust to modified function type.
        (do_binop): Likewise.
        (do_plus_minus): Likewise.
        (do_negate); Likewise.
        (expand_vector_piecewise): Likewise.
        (do_cond): Likewise.
        (do_compare): Use comparison instead of condition.
        (expand_vector_divmod): Use boolean vector type for comparison.
        (expand_vector_operations_1): Skip scalar mask operations.
This is fine too.

So my question for the series as a whole is whether or not we need to do something for the other languages, particularly Fortran. I was a bit surprised to see this stuff bleed into the C/C++ front-ends and obviously wonder if it's bled into Fortran, Ada, Java, etc.


jeff

Reply via email to