aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-02-21 06:51:34 +0000
committerRichard Stallman <rms@gnu.org>1993-02-21 06:51:34 +0000
commit261c4230db075ad59116a75be8961fbee10d60e9 (patch)
treed2ebc49cdf4330c718c849058f95083e336210a3 /gcc
parent3f908f128ee525ef63242c9d93d96967dc1a085e (diff)
downloadgcc-261c4230db075ad59116a75be8961fbee10d60e9.zip
gcc-261c4230db075ad59116a75be8961fbee10d60e9.tar.gz
gcc-261c4230db075ad59116a75be8961fbee10d60e9.tar.bz2
(emit_move_insn_1): New subroutine cut from emit_move_insn.
(emit_move_insn): Use that. From-SVN: r3505
Diffstat (limited to 'gcc')
-rw-r--r--gcc/expr.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 12fbe76..4768929 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -1581,6 +1581,22 @@ emit_move_insn (x, y)
if (mode == BLKmode)
abort ();
+ return emit_move_insn_1 (x, y);
+}
+
+/* Low level part of emit_move_insn.
+ Called just like emit_move_insn, but assumes X and Y
+ are basically valid. */
+
+rtx
+emit_move_insn_1 (x, y)
+ rtx x, y;
+{
+ enum machine_mode mode = GET_MODE (x);
+ enum machine_mode submode;
+ enum mode_class class = GET_MODE_CLASS (mode);
+ int i;
+
if (class == MODE_COMPLEX_FLOAT || class == MODE_COMPLEX_INT)
submode = mode_for_size (GET_MODE_UNIT_SIZE (mode) * BITS_PER_UNIT,
(class == MODE_COMPLEX_INT