mips: fix an mips instruction definition bug
Review Request #754 - Created June 21, 2011 and submitted - Latest diff uploaded
| Information | |
|---|---|
| Deyuan Guo | |
| gem5 | |
| Reviewers | |
| Default | |
| ali, gblack, nate, stever | |
In the official MIPS ISA documents, the nmadd/nmsub means "multiply, add/subtract, then negtive". In the earlier version, the code of nmsub_s is "Fd.sf = -1 * ((Fs.sf * Ft.sf) - Fr.sf);", but the brackets have been changed now. So change the sign here.
Compare with the gem5 stable version and MIPS ISA official documents.
