From 6389d8561c962dfb781bb59083ce68a5e76b7843 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 4 Feb 1997 21:48:54 +0000 Subject: [PATCH] * gencode.c (build_instruction): The high order may be set in the comparison flags at any ISA level, not just ISA 4. --- sim/mips/ChangeLog | 5 +++++ sim/mips/gencode.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 257cc23005a..f1291a5d000 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,8 @@ +Tue Feb 4 16:48:25 1997 Ian Lance Taylor + + * gencode.c (build_instruction): The high order may be set in the + comparison flags at any ISA level, not just ISA 4. + Tue Feb 4 13:33:30 1997 Doug Evans * Makefile.in (@COMMON_MAKEFILE_FRAG): Use diff --git a/sim/mips/gencode.c b/sim/mips/gencode.c index 23a52404359..6f0393ef7ef 100644 --- a/sim/mips/gencode.c +++ b/sim/mips/gencode.c @@ -2608,7 +2608,7 @@ build_instruction (doisa, features, mips16, insn) printf(" SignalException(ReservedInstruction,instruction);\n") ; printf(" else {\n"); if (doisa < 4) { - printf(" if ((cmpflags & (1 << 3)) || (condition_code != 0))\n"); + printf(" if (condition_code != 0)\n"); printf(" SignalException(ReservedInstruction,instruction);\n") ; printf(" else\n"); } -- 2.30.2