From 9d1cf1d98c0d9d56ccc317f21ad66aee0b2585e3 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Fri, 20 Jun 1997 19:33:34 -0700 Subject: [PATCH] (mips_expand_prologue): Add check for SImode in code splitting tsize_rtx when it is large_int. From-SVN: r14268 --- gcc/config/mips/mips.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)); -- 2.30.2