diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-02-04 21:48:54 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-02-04 21:48:54 +0000 |
commit | 6389d8561c962dfb781bb59083ce68a5e76b7843 (patch) | |
tree | 77475c69829ca003a562980e698d751a71e368df /sim | |
parent | 19c5af72af453ea3e65148392b19cf435505386f (diff) | |
download | gdb-6389d8561c962dfb781bb59083ce68a5e76b7843.zip gdb-6389d8561c962dfb781bb59083ce68a5e76b7843.tar.gz gdb-6389d8561c962dfb781bb59083ce68a5e76b7843.tar.bz2 |
* gencode.c (build_instruction): The high order may be set in the
comparison flags at any ISA level, not just ISA 4.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/mips/ChangeLog | 5 | ||||
-rw-r--r-- | sim/mips/gencode.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 257cc23..f1291a5d 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,8 @@ +Tue Feb 4 16:48:25 1997 Ian Lance Taylor <ian@cygnus.com> + + * 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 <dje@canuck.cygnus.com> * Makefile.in (@COMMON_MAKEFILE_FRAG): Use diff --git a/sim/mips/gencode.c b/sim/mips/gencode.c index 23a5240..6f0393e 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"); } |