mirror of git://gcc.gnu.org/git/gcc.git
expr.c (convert_move): Use simplify_gen_subreg to make SUBREG so we avoid SUBREGing memory.
* expr.c (convert_move): Use simplify_gen_subreg to make SUBREG so we avoid SUBREGing memory. From-SVN: r46722
This commit is contained in:
parent
bb33f166a5
commit
bafe341a4f
|
@ -3,6 +3,8 @@
|
||||||
* expmed.c (store_bit_field): Use simplify_gen_subreg to make
|
* expmed.c (store_bit_field): Use simplify_gen_subreg to make
|
||||||
SUBREG so we avoid SUBREGing memory.
|
SUBREG so we avoid SUBREGing memory.
|
||||||
|
|
||||||
|
* expmed.c (store_bit_field): Same.
|
||||||
|
|
||||||
2001-11-02 DJ Delorie <dj@redhat.com>
|
2001-11-02 DJ Delorie <dj@redhat.com>
|
||||||
|
|
||||||
* config/rs6000/rs6000.c (rs6000_emit_move): Make sure that
|
* config/rs6000/rs6000.c (rs6000_emit_move): Make sure that
|
||||||
|
|
|
@ -544,9 +544,9 @@ convert_move (to, from, unsignedp)
|
||||||
abort ();
|
abort ();
|
||||||
|
|
||||||
if (VECTOR_MODE_P (to_mode))
|
if (VECTOR_MODE_P (to_mode))
|
||||||
from = gen_rtx_SUBREG (to_mode, from, 0);
|
from = simplify_gen_subreg (to_mode, from, GET_MODE (from), 0);
|
||||||
else
|
else
|
||||||
to = gen_rtx_SUBREG (from_mode, to, 0);
|
to = simplify_gen_subreg (from_mode, to, GET_MODE (to), 0);
|
||||||
|
|
||||||
emit_move_insn (to, from);
|
emit_move_insn (to, from);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue