* gencode.c (build_instruction): For "FPSQRT", output correct number
of arguments to Recip.
This commit is contained in:
parent
eaa202ddd4
commit
8b70f83790
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Oct 16 10:31:39 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
|
||||||
|
* gencode.c (build_instruction): For "FPSQRT", output correct
|
||||||
|
number of arguments to Recip.
|
||||||
|
|
||||||
Tue Oct 14 17:38:18 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
Tue Oct 14 17:38:18 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
|
||||||
* Makefile.in (interp.o): Depends on sim-main.h
|
* Makefile.in (interp.o): Depends on sim-main.h
|
||||||
|
|
|
@ -3456,7 +3456,9 @@ build_instruction (doisa, features, mips16, insn)
|
||||||
printf(" if ((format != fmt_single) && (format != fmt_double))\n");
|
printf(" if ((format != fmt_single) && (format != fmt_double))\n");
|
||||||
printf(" SignalException(ReservedInstruction,instruction);\n");
|
printf(" SignalException(ReservedInstruction,instruction);\n");
|
||||||
printf(" else\n");
|
printf(" else\n");
|
||||||
printf(" StoreFPR(destreg,format,%s(SquareRoot(ValueFPR(fs,format),format)));\n",((insn->flags & RECIP) ? "Recip" : ""));
|
printf(" StoreFPR(destreg,format,%s(SquareRoot(ValueFPR(fs,format),format)%s));\n",
|
||||||
|
((insn->flags & RECIP) ? "Recip" : ""),
|
||||||
|
((insn->flags & RECIP) ? ",format" : ""));
|
||||||
break ;
|
break ;
|
||||||
|
|
||||||
case FPCEIL:
|
case FPCEIL:
|
||||||
|
|
Loading…
Reference in a new issue