Browse Source

* gencode.c (build_instruction): The high order may be set in the

comparison flags at any ISA level, not just ISA 4.
gdb-4_18-branch
Ian Lance Taylor 30 years ago
parent
commit
6389d8561c
  1. 5
      sim/mips/ChangeLog
  2. 2
      sim/mips/gencode.c

5
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

2
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");
}

Loading…
Cancel
Save