diff options
author | David Sherwood <david.sherwood@arm.com> | 2015-08-17 11:06:34 +0000 |
---|---|---|
committer | David Sherwood <davids@gcc.gnu.org> | 2015-08-17 11:06:34 +0000 |
commit | 6c825cd46bac36333c1970c549a8630f8c850794 (patch) | |
tree | 01d8e566332f90877b953ff5d48b9ef7feb546ab /gcc/optabs.c | |
parent | 48efbbe8a0b37d7da6a8bae0e28fccdeeaa82c63 (diff) | |
download | gcc-6c825cd46bac36333c1970c549a8630f8c850794.zip gcc-6c825cd46bac36333c1970c549a8630f8c850794.tar.gz gcc-6c825cd46bac36333c1970c549a8630f8c850794.tar.bz2 |
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<mode>): Likewise.
(neon_vget_laneu<mode>, neon_vset_lane<mode>): Likewise
(neon_vdup_lane<mode>): 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
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r-- | gcc/optabs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c index a6ca706..97c1d38 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -6588,7 +6588,7 @@ static rtx shift_amt_for_vec_perm_mask (rtx sel) { unsigned int i, first, nelt = GET_MODE_NUNITS (GET_MODE (sel)); - unsigned int bitsize = GET_MODE_BITSIZE (GET_MODE_INNER (GET_MODE (sel))); + unsigned int bitsize = GET_MODE_UNIT_BITSIZE (GET_MODE (sel)); if (GET_CODE (sel) != CONST_VECTOR) return NULL_RTX; |