(mips_expand_prologue): Add check for SImode in code splitting
authorJim Wilson <wilson@gcc.gnu.org>
Sat, 21 Jun 1997 02:33:34 +0000 (19:33 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Sat, 21 Jun 1997 02:33:34 +0000 (19:33 -0700)
tsize_rtx when it is large_int.

From-SVN: r14268

gcc/config/mips/mips.c

index 5b65ca1fc58ccfc76a69f69698c907f2aa5d1099..c7dc67f81dbd1abd01e6c44290e1a61bb353ac0c 100644 (file)
@@ -5451,7 +5451,9 @@ mips_expand_prologue ()
              /* Instruction splitting doesn't preserve the RTX_FRAME_RELATED_P
                 bit, so make sure that we don't emit anything that can be
                 split.  */
-             if (large_int (tsize_rtx))
+             /* ??? There is no DImode ori immediate pattern, so we can only
+                do this for 32 bit code.  */
+             if (large_int (tsize_rtx) && GET_MODE (tmp_rtx) == SImode)
                {
                  insn = emit_move_insn (tmp_rtx,
                                         GEN_INT (tsize & 0xffff0000));