From 6c825cd46bac36333c1970c549a8630f8c850794 Mon Sep 17 00:00:00 2001 From: David Sherwood Date: Mon, 17 Aug 2015 11:06:34 +0000 Subject: arm.c (neon_element_bits): Replace call to GET_MODE_BITSIZE (GET_MODE_INNER (m)) with... * config/arm/arm.c (neon_element_bits): Replace call to GET_MODE_BITSIZE (GET_MODE_INNER (m)) with GET_MODE_UNIT_BITSIZE (m). * config/arm/neon.md (neon_vget_lane): Likewise. (neon_vget_laneu, neon_vset_lane): Likewise (neon_vdup_lane): Likewise. * config/i386/i386.c (ix86_expand_int_vcond): Likewise. (ix86_expand_multi_arg_builtin, ix86_expand_reduc): Likewise. (expand_vec_perm_palignr, ix86_expand_sse2_abs): Likewise. * config/rs6000/rs6000.c (rs6000_do_expand_vec_perm): Likewise. * config/spu/spu.c (arith_immediate_p): Likewise. * expmed.c (store_bit_field_1, extract_bit_field_1): Likewise. * expr.c (expand_expr_real_2): Likewise. * optabs.c (shift_amt_for_vec_perm_mask): Likewise. * simplify-rtx.c (simplify_immed_subreg): Likewise. * tree-cfg.c (verify_gimple_assign_ternary): Likewise. * tree-vect-patterns.c (vect_recog_mixed_size_cond_pattern): Likewise. New variable. * fold-const.c (fold_binary_loc): Replace call to GET_MODE_PRECISION (GET_MODE_INNER (m)) with GET_MODE_UNIT_PRECISION (m). From-SVN: r226936 --- gcc/tree-cfg.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gcc/tree-cfg.c') diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index 588ab69..416c816 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -4052,10 +4052,8 @@ verify_gimple_assign_ternary (gassign *stmt) case SAD_EXPR: if (!useless_type_conversion_p (rhs1_type, rhs2_type) || !useless_type_conversion_p (lhs_type, rhs3_type) - || 2 * GET_MODE_BITSIZE (GET_MODE_INNER - (TYPE_MODE (TREE_TYPE (rhs1_type)))) - > GET_MODE_BITSIZE (GET_MODE_INNER - (TYPE_MODE (TREE_TYPE (lhs_type))))) + || 2 * GET_MODE_UNIT_BITSIZE (TYPE_MODE (TREE_TYPE (rhs1_type))) + > GET_MODE_UNIT_BITSIZE (TYPE_MODE (TREE_TYPE (lhs_type)))) { error ("type mismatch in sad expression"); debug_generic_expr (lhs_type); -- cgit v1.1