Review Board 2.0.15


mips: fix an mips instruction definition bug

Review Request #754 - Created June 21, 2011 and submitted

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.
Ship it!
Posted (June 21, 2011, 9:30 p.m.)
What email do you want to use for the commit message?
  1. I'll commit with "Deyaun Guo <guodeyuan@tsinghua.org.cn>"
  2. That's ok. Thank you!