diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-10-16 03:29:47 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-10-16 03:29:47 +0000 |
commit | 339fb149042e5522f5180a4e1bd6221e58f23b4a (patch) | |
tree | 0fcf4b3212d6ab39110d21720e7543b8bb6fe6cd | |
parent | 8b70f837905aff4c9aba5d7cbb423bb7f09c5db2 (diff) | |
download | gdb-339fb149042e5522f5180a4e1bd6221e58f23b4a.zip gdb-339fb149042e5522f5180a4e1bd6221e58f23b4a.tar.gz gdb-339fb149042e5522f5180a4e1bd6221e58f23b4a.tar.bz2 |
* gencode.c (build_instruction): Use FPR_STATE not fpr_state.
-rw-r--r-- | sim/mips/ChangeLog | 4 | ||||
-rw-r--r-- | sim/mips/gencode.c | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 0ad4fab..1acaa73 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -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 diff --git a/sim/mips/gencode.c b/sim/mips/gencode.c index f45685d..5c84dc1 100644 --- a/sim/mips/gencode.c +++ b/sim/mips/gencode.c @@ -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: |