mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-30 09:09:16 +08:00
* gencode.c (build_instruction): Use FPR_STATE not fpr_state.
This commit is contained in:
@ -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>
|
Thu Oct 16 10:31:39 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
|
||||||
* gencode.c (build_instruction): For "FPSQRT", output correct
|
* gencode.c (build_instruction): For "FPSQRT", output correct
|
||||||
|
@ -3323,7 +3323,7 @@ build_instruction (doisa, features, mips16, insn)
|
|||||||
printf(" FGR[fs] = (SET64HI(0xDEADC0DE) | WORD64LO(GPR[ft]));\n");
|
printf(" FGR[fs] = (SET64HI(0xDEADC0DE) | WORD64LO(GPR[ft]));\n");
|
||||||
printf(" else\n");
|
printf(" else\n");
|
||||||
printf(" FGR[fs] = WORD64LO(GPR[ft]);\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) {
|
} else if (GETDATASIZEINSN(insn) == DOUBLEWORD) {
|
||||||
if (doisa < 4) {
|
if (doisa < 4) {
|
||||||
@ -3342,14 +3342,14 @@ build_instruction (doisa, features, mips16, insn)
|
|||||||
} else {
|
} else {
|
||||||
printf(" if (SizeFGR() == 64) {\n");
|
printf(" if (SizeFGR() == 64) {\n");
|
||||||
printf(" FGR[fs] = GPR[ft];\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(" } else\n");
|
||||||
printf(" if ((fs & 0x1) == 0)\n");
|
printf(" if ((fs & 0x1) == 0)\n");
|
||||||
printf(" {\n");
|
printf(" {\n");
|
||||||
printf(" FGR[fs + 1] = WORD64HI(GPR[ft]);\n");
|
printf(" FGR[fs + 1] = WORD64HI(GPR[ft]);\n");
|
||||||
printf(" FGR[fs] = WORD64LO(GPR[ft]);\n");
|
printf(" FGR[fs] = WORD64LO(GPR[ft]);\n");
|
||||||
printf(" fpr_state[fs + 1] = fmt_uninterpreted;\n");
|
printf(" FPR_STATE[fs + 1] = fmt_uninterpreted;\n");
|
||||||
printf(" fpr_state[fs] = fmt_uninterpreted;\n");
|
printf(" FPR_STATE[fs] = fmt_uninterpreted;\n");
|
||||||
printf(" }\n");
|
printf(" }\n");
|
||||||
if (features & FEATURE_WARN_RESULT) {
|
if (features & FEATURE_WARN_RESULT) {
|
||||||
printf(" else\n");
|
printf(" else\n");
|
||||||
|
Reference in New Issue
Block a user