aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-02-25 08:42:37 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1995-02-25 08:42:37 -0500
commitb2a68403f8fcd2d66848eae8f512ca7d8985c72b (patch)
tree95c59fff5ea72e4230eb755a74cbb700a33f6bfe
parente0fb902946a60d01793e95398cbef91ad8e0645b (diff)
downloadgcc-b2a68403f8fcd2d66848eae8f512ca7d8985c72b.zip
gcc-b2a68403f8fcd2d66848eae8f512ca7d8985c72b.tar.gz
gcc-b2a68403f8fcd2d66848eae8f512ca7d8985c72b.tar.bz2
(mips_fill_delay_slot): Fix typo in call to FP_REG_P.
From-SVN: r9084
-rw-r--r--gcc/config/mips/mips.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index bd58e91..5881fa2 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -1,9 +1,9 @@
/* Subroutines for insn-output.c for MIPS
+ Copyright (C) 1989, 90, 91, 93, 94, 1995 Free Software Foundation, Inc.
Contributed by A. Lichnewsky, lich@inria.inria.fr.
- Changes by Michael Meissner, meissner@osf.org.
+ Changes by Michael Meissner, meissner@osf.org.
64 bit r4000 support by Ian Lance Taylor, ian@cygnus.com, and
Brendan Eich, brendan@microunity.com.
- Copyright (C) 1989, 90, 91, 93, 94, 1995 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -724,7 +724,7 @@ mips_fill_delay_slot (ret, type, operands, cur_insn)
dslots_number_nops = num_nops;
mips_load_reg = set_reg;
if (GET_MODE_SIZE (mode)
- > (FP_REG_P (set_reg) ? UNITS_PER_FPREG : UNITS_PER_WORD))
+ > (FP_REG_P (REGNO (set_reg)) ? UNITS_PER_FPREG : UNITS_PER_WORD))
mips_load_reg2 = gen_rtx (REG, SImode, REGNO (set_reg) + 1);
else
mips_load_reg2 = 0;