diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-07-28 20:31:17 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-07-28 20:31:17 +0000 |
commit | d145b68bfe2a14742cde08b4ced743d93b62bfc0 (patch) | |
tree | d215dd29e4cf213704a2c9a5dbe053e8d2c8665d /gcc/config/spu | |
parent | 8a93a82f2c713e39a5555e2b5aa553c67637b5c2 (diff) | |
download | gcc-d145b68bfe2a14742cde08b4ced743d93b62bfc0.tar.gz |
gcc/
2015-07-28 David Sherwood <david.sherwood@arm.com>
* config/arm/arm.c (neon_element_bits, neon_valid_immediate): Call
GET_MODE_INNER unconditionally.
* config/spu/spu.c (arith_immediate_p): Likewise.
* config/i386/i386.c (ix86_build_signbit_mask): Likewise.
* expmed.c (synth_mult): Remove check for VOIDmode result from
GET_MODE_INNER.
(expand_mult_const): Likewise.
* fold-const.c (fold_binary_loc): Replace call to element_precision
with call to GET_MODE_PRECISION.
* genmodes.c (emit_mode_inner_inline): Replace void_mode->name with
m->name.
(emit_mode_inner): Likewise.
* lto-streamer-out.c (lto_write_mode_table): Update GET_MODE_INNER
result check.
* machmode.h (GET_MODE_UNIT_SIZE): Simplify.
(GET_MODE_UNIT_PRECISION): Likewise.
* rtlanal.c (subreg_get_info): Call GET_MODE_INNER unconditionally.
* simplify-rtx.c (simplify_immed_subreg): Likewise.
* stor-layout.c (bitwise_type_for_mode): Update assert.
(element_precision): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226328 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/spu')
-rw-r--r-- | gcc/config/spu/spu.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c index 99efb67344b..68840f51dc3 100644 --- a/gcc/config/spu/spu.c +++ b/gcc/config/spu/spu.c @@ -3391,9 +3391,7 @@ arith_immediate_p (rtx op, machine_mode mode, constant_to_array (mode, op, arr); - if (VECTOR_MODE_P (mode)) - mode = GET_MODE_INNER (mode); - + mode = GET_MODE_INNER (mode); bytes = GET_MODE_SIZE (mode); mode = mode_for_size (GET_MODE_BITSIZE (mode), MODE_INT, 0); |