r180047 - in /trunk/gcc: ChangeLog Makefile.in ...

rth@gcc.gnu.org rth@gcc.gnu.org
Sat Oct 15 19:36:00 GMT 2011


Author: rth
Date: Sat Oct 15 19:36:50 2011
New Revision: 180047

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180047
Log:
Use VEC_PERM_EXPR in the vectorizer.

        * tree-vect-slp.c: Include langhooks.h.
        (vect_create_mask_and_perm): Emit VEC_PERM_EXPR, not a builtin.
        (vect_transform_slp_perm_load): Use can_vec_perm_expr_p.  Simplify
        mask creation for VEC_PERM_EXPR.
        * tree-vect-stmts.c (perm_mask_for_reverse): Return the mask,
        not the builtin.
        (reverse_vec_elements): Emit VEC_PERM_EXPR not a builtin.
        * Makefile.in (tree-vect-slp.o): Update dependency.
        * optabs.c (can_vec_perm_expr_p): Allow NULL as unknown constant.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/Makefile.in
    trunk/gcc/optabs.c
    trunk/gcc/tree-vect-slp.c
    trunk/gcc/tree-vect-stmts.c



More information about the Gcc-cvs mailing list