diff options
author | Jeffrey A Law <law@cygnus.com> | 1999-03-01 15:44:24 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-03-01 08:44:24 -0700 |
commit | 487f99d2ab1d0db37eb0c68290d81b77539155ed (patch) | |
tree | 298923046cb7eb20a403d1fde46bf50a4702b5f6 | |
parent | 03db53b18c9575ad103381ae5e13ccbb48c3b139 (diff) | |
download | gcc-487f99d2ab1d0db37eb0c68290d81b77539155ed.zip gcc-487f99d2ab1d0db37eb0c68290d81b77539155ed.tar.gz gcc-487f99d2ab1d0db37eb0c68290d81b77539155ed.tar.bz2 |
mips.md (div_trap_normal, [...]): Require the dependent insn to be an INSN before looking at its pattern.
* mips.md (div_trap_normal, div_trap_mips16): Require the dependent
insn to be an INSN before looking at its pattern.
From-SVN: r25517
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/mips.md | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c82c8f2..e6dd0f7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon Mar 1 16:36:18 1999 Jeffrey A Law (law@cygnus.com) + + * mips.md (div_trap_normal, div_trap_mips16): Require the dependent + insn to be an INSN before looking at its pattern. + Mon Mar 1 15:03:51 1999 Jim Wilson <wilson@cygnus.com> * config/m68k/lb1sf68.asm (udivsi3): Change jmi to jcs. Fix comments. diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 71bd9a6..f66cb89 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -2441,6 +2441,7 @@ for (link = LOG_LINKS (insn); link; link = XEXP (link, 1)) if ((int) REG_DEP_ANTI == (int) REG_NOTE_KIND (link) + && GET_CODE (XEXP (link, 0)) == INSN && GET_CODE (PATTERN (XEXP (link, 0))) == TRAP_IF && REGNO (operands[1]) == 0) have_dep_anti = 1; @@ -2485,6 +2486,7 @@ for (link = LOG_LINKS (insn); link; link = XEXP (link, 1)) if ((int) REG_DEP_ANTI == (int) REG_NOTE_KIND (link) + && GET_CODE (XEXP (link, 0)) == INSN && GET_CODE (PATTERN (XEXP (link, 0))) == TRAP_IF && REGNO (operands[1]) == 0) have_dep_anti = 1; |