aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorJ"orn Rennecke <joern.rennecke@superh.com>2002-07-16 10:59:15 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2002-07-16 11:59:15 +0100
commitcffa218913174469e453f61c76e85b7c6f9ed74f (patch)
tree0b00a805101ffc0866f51c0f8db081dde5a27ea9 /gcc/expr.c
parent052c96b1b05f5b170c38a927cf92c38e07d29791 (diff)
downloadgcc-cffa218913174469e453f61c76e85b7c6f9ed74f.zip
gcc-cffa218913174469e453f61c76e85b7c6f9ed74f.tar.gz
gcc-cffa218913174469e453f61c76e85b7c6f9ed74f.tar.bz2
expr.c (emit_move_insn_1): Handle arbitrary moves that are the same size as a word.
* expr.c (emit_move_insn_1): Handle arbitrary moves that are the same size as a word. * regrename.c (find_oldest_value_reg): Take WORDS_BIG_ENDIAN / BYTES_BIG_ENDIAN into account. From-SVN: r55482
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 870a4c5..7b5810c 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -3058,10 +3058,10 @@ emit_move_insn_1 (x, y)
return get_last_insn ();
}
- /* This will handle any multi-word mode that lacks a move_insn pattern.
- However, you will get better code if you define such patterns,
+ /* This will handle any multi-word or full-word mode that lacks a move_insn
+ pattern. However, you will get better code if you define such patterns,
even if they must turn into multiple assembler instructions. */
- else if (GET_MODE_SIZE (mode) > UNITS_PER_WORD)
+ else if (GET_MODE_SIZE (mode) >= UNITS_PER_WORD)
{
rtx last_insn = 0;
rtx seq, inner;