* mips.igen (MSUB): Fix to work like MADD.
* gencode.c (MSUB): Similarly.
This commit is contained in:
parent
70a46de24e
commit
23850e9219
@ -1,3 +1,8 @@
|
||||
Wed Dec 10 17:10:45 1997 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* mips.igen (MSUB): Fix to work like MADD.
|
||||
* gencode.c (MSUB): Similarly.
|
||||
|
||||
start-sanitize-vr5400
|
||||
Tue Dec 9 12:02:12 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
|
@ -3585,7 +3585,12 @@ build_instruction (doisa, features, mips16, insn)
|
||||
fprintf(stderr,"Error: Invalid data size %d for FPSUB operation\n",GETDATASIZEINSN(insn));
|
||||
exit(1);
|
||||
}
|
||||
printf(" StoreFPR(destreg,%s,%s(Sub(Multiply(ValueFPR(fs,%s),ValueFPR(ft,%s),%s),ValueFPR(fr,%s),%s),%s));\n",type,((insn->flags & NOT) ? "Negate" : ""),type,type,type,type,type,type);
|
||||
if (insn->flags & NOT)
|
||||
printf (" StoreFPR(destreg,%s,Negate(Sub(Multiply(ValueFPR(fs,%s),ValueFPR(ft,%s),%s),ValueFPR(fr,%s),%s),%s));\n",
|
||||
type, type, type, type, type, type, type);
|
||||
else
|
||||
printf (" StoreFPR(destreg,%s,Sub(Multiply(ValueFPR(fs,%s),ValueFPR(ft,%s),%s),ValueFPR(fr,%s),%s));\n",
|
||||
type, type, type, type, type, type);
|
||||
} else {
|
||||
printf(" if ((format != fmt_single) && (format != fmt_double))\n");
|
||||
printf(" SignalException(ReservedInstruction,instruction);\n");
|
||||
|
1032
sim/mips/mips.igen
1032
sim/mips/mips.igen
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user