diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/expr.c | 11 |
2 files changed, 4 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e650f90..9aa6e8e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2012-09-23 Marc Glisse <marc.glisse@inria.fr> + + * expr.c (do_store_flag): Remove duplicated code. + 2012-09-22 Segher Boessenkool <segher@kernel.crashing.org> * config/rs6000/predicates.md (altivec_register_operand, @@ -10687,17 +10687,6 @@ do_store_flag (sepops ops, rtx target, enum machine_mode mode) return expand_vec_cond_expr (ops->type, ifexp, if_true, if_false, target); } - /* For vector typed comparisons emit code to generate the desired - all-ones or all-zeros mask. Conveniently use the VEC_COND_EXPR - expander for this. */ - if (TREE_CODE (ops->type) == VECTOR_TYPE) - { - tree ifexp = build2 (ops->code, ops->type, arg0, arg1); - tree if_true = constant_boolean_node (true, ops->type); - tree if_false = constant_boolean_node (false, ops->type); - return expand_vec_cond_expr (ops->type, ifexp, if_true, if_false, target); - } - /* Get the rtx comparison code to use. We know that EXP is a comparison operation of some type. Some comparisons against 1 and -1 can be converted to comparisons with zero. Do so here so that the tests |