* gencode.c (build_instruction): The high order may be set in the
authorIan Lance Taylor <ian@airs.com>
Tue, 4 Feb 1997 21:48:54 +0000 (21:48 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 4 Feb 1997 21:48:54 +0000 (21:48 +0000)
comparison flags at any ISA level, not just ISA 4.

sim/mips/ChangeLog
sim/mips/gencode.c

index 257cc23005a7d777bf0723fa93711ff9028d5f7d..f1291a5d000f9b58cb1066af8abd3b9d6dd6770d 100644 (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
index 23a52404359404cb16c5158fd4268078236160d5..6f0393ef7ef165c93dd985ad7690975a2a95f409 100644 (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");
      }
This page took 0.029392 seconds and 4 git commands to generate.