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

comparison flags at any ISA level, not just ISA 4.
This commit is contained in:
Ian Lance Taylor 1997-02-04 21:48:54 +00:00
parent 19c5af72af
commit 6389d8561c
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

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