From: Jim Wilson Date: Sat, 21 Jun 1997 02:33:34 +0000 (-0700) Subject: (mips_expand_prologue): Add check for SImode in code splitting X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d1cf1d98c0d9d56ccc317f21ad66aee0b2585e3;p=gcc.git (mips_expand_prologue): Add check for SImode in code splitting tsize_rtx when it is large_int. From-SVN: r14268 --- diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 5b65ca1fc58..c7dc67f81db 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -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));