diff options
author | Richard Henderson <rth@redhat.com> | 2011-10-25 14:29:56 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2011-10-25 14:29:56 -0700 |
commit | a6b3dfde4c29fda63839bcac6cc9377d42704507 (patch) | |
tree | 45f2e4d1399a268bc62cbc1f51000ceee9bcc2b1 /gcc/cfg.c | |
parent | 22e4dee74f73108b7dda295f6999276be12b7568 (diff) | |
download | gcc-a6b3dfde4c29fda63839bcac6cc9377d42704507.zip gcc-a6b3dfde4c29fda63839bcac6cc9377d42704507.tar.gz gcc-a6b3dfde4c29fda63839bcac6cc9377d42704507.tar.bz2 |
Implement interleave via permutation.
* expr.c (expand_expr_real_2) [VEC_EXTRACT_EVEN_EXPR]: Use binop.
[VEC_EXTRACT_ODD_EXPR, VEC_INTERLEAVE_HIGH_EXPR]: Likewise.
[VEC_INTERLEAVE_LOW_EXPR]: Likewise.
* optabs.c (expand_binop): Implement vec_interleave_high_optab,
vec_interleave_low_optab, vec_extract_even_optab,
vec_extract_odd_optab with expand_vec_perm.
(can_vec_perm_for_code_p): New.
* optabs.h: Update.
* tree-vect-data-refs.c (vect_strided_store_supported): Allow for
fallback via can_vec_perm_for_code_p.
(vect_strided_load_supported): Likewise.
* tree-vect-generic.c (expand_vector_operations_1): Never lower
VEC_INTERLEAVE_HIGH_EXPR, VEC_INTERLEAVE_LOW_EXPR,
VEC_EXTRACT_EVEN_EXPR, VEC_EXTRACT_ODD_EXPR.
From-SVN: r180450
Diffstat (limited to 'gcc/cfg.c')
0 files changed, 0 insertions, 0 deletions