Commit 067f5960 by Richard Henderson Committed by Richard Henderson

Fix lower_vec_shuffle.

1: It can never fail.
2: It should mask the input indicies.

From-SVN: r179563
parent 9fff751c
2011-10-05 Richard Henderson <rth@redhat.com>
* tree-vect-generic.c (vector_element): Never fail. Use
build_zero_cst. Tidy up type references.
(lower_vec_shuffle): Never fail. Mask shuffle indicies. Reduce
code duplication. Do update_stmt here ...
(expand_vector_operations_1): ... not here.
2011-10-05 Uros Bizjak <ubizjak@gmail.com> 2011-10-05 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.c (distance_non_agu_define): Simplify calculation * config/i386/i386.c (distance_non_agu_define): Simplify calculation
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment