target-mips: fix MADD and MSUB/MSUBU instructions
authorNathan Froyd <froydnj@codesourcery.com>
Wed, 1 Jul 2009 17:52:22 +0000 (10:52 -0700)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 3 Jul 2009 01:28:20 +0000 (03:28 +0200)
commit98070ce00f1561bb244c366b2cb76c4b4f7c2de1
treecfd8c1d506792ac385466f82b06f2f4176bd69d2
parent7d69c52ed8939b036fbd31488f9c7b4f5d7b8208
target-mips: fix MADD and MSUB/MSUBU instructions

MADD was not correctly writing to HI.

MSUB/MSUBU are specified as `HI||LO - product', not `product - HI||LO'.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-mips/translate.c