* gencode.c (build_instruction): Use FPR_STATE not fpr_state.
authorAndrew Cagney <cagney@redhat.com>
Thu, 16 Oct 1997 03:29:47 +0000 (03:29 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 16 Oct 1997 03:29:47 +0000 (03:29 +0000)
sim/mips/ChangeLog
sim/mips/gencode.c

index 0ad4fab2f4f6368d6aa766d16a4b1099b91cd36f..1acaa730eb3a6ef47ce71db11785433449ace05a 100644 (file)
@@ -1,3 +1,7 @@
+Thu Oct 16 10:31:40 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gencode.c (build_instruction): Use FPR_STATE not fpr_state.
+       
 Thu Oct 16 10:31:39 1997  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * gencode.c (build_instruction): For "FPSQRT", output correct
index f45685de327d69468e3f0e6a9e12983723da45a8..5c84dc1e4698ee1afb7611ed63485c8050e7d15c 100644 (file)
@@ -3323,7 +3323,7 @@ build_instruction (doisa, features, mips16, insn)
           printf("      FGR[fs] = (SET64HI(0xDEADC0DE) | WORD64LO(GPR[ft]));\n");
           printf("     else\n");
           printf("      FGR[fs] = WORD64LO(GPR[ft]);\n");
-          printf("     fpr_state[fs] = fmt_uninterpreted;\n");
+          printf("     FPR_STATE[fs] = fmt_uninterpreted;\n");
         }
        } else if (GETDATASIZEINSN(insn) == DOUBLEWORD) {
         if (doisa < 4) {
@@ -3342,14 +3342,14 @@ build_instruction (doisa, features, mips16, insn)
         } else {
           printf("     if (SizeFGR() == 64) {\n");
           printf("      FGR[fs] = GPR[ft];\n");
-          printf("      fpr_state[fs] = fmt_uninterpreted;\n");
+          printf("      FPR_STATE[fs] = fmt_uninterpreted;\n");
           printf("     } else\n");
           printf("      if ((fs & 0x1) == 0)\n");
           printf("       {\n");
           printf("        FGR[fs + 1] = WORD64HI(GPR[ft]);\n");
           printf("        FGR[fs] = WORD64LO(GPR[ft]);\n");
-          printf("        fpr_state[fs + 1] = fmt_uninterpreted;\n");
-          printf("        fpr_state[fs] = fmt_uninterpreted;\n");
+          printf("        FPR_STATE[fs + 1] = fmt_uninterpreted;\n");
+          printf("        FPR_STATE[fs] = fmt_uninterpreted;\n");
           printf("       }\n");
           if (features & FEATURE_WARN_RESULT) {
             printf("      else\n");
@@ -3457,8 +3457,8 @@ build_instruction (doisa, features, mips16, insn)
      printf("   SignalException(ReservedInstruction,instruction);\n");
      printf("  else\n");
      printf("   StoreFPR(destreg,format,%s(SquareRoot(ValueFPR(fs,format),format)%s));\n",
-          ((insn->flags & RECIP) ? "Recip" : ""),
-          ((insn->flags & RECIP) ? ",format" : ""));
+           ((insn->flags & RECIP) ? "Recip" : ""),
+           ((insn->flags & RECIP) ? ",format" : ""));
      break ;
 
     case FPCEIL:
This page took 0.031562 seconds and 4 git commands to generate.