aboutsummaryrefslogtreecommitdiff
path: root/target-mips
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-26 22:35:02 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-26 22:35:02 +0000
commit5592a750b913c859c738eb2774c26632dcac8350 (patch)
tree54745b2164b81bdc447c769c48d89d928ce8cf82 /target-mips
parent7878ff6bc7c9bc4091d19a51a1dc4bac2df23560 (diff)
downloadqemu-5592a750b913c859c738eb2774c26632dcac8350.zip
qemu-5592a750b913c859c738eb2774c26632dcac8350.tar.gz
qemu-5592a750b913c859c738eb2774c26632dcac8350.tar.bz2
The other half of the mul64 rework. Sorry for the breakage, I committed
an incomplete version of what I tested. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3454 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips')
-rw-r--r--target-mips/op.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-mips/op.c b/target-mips/op.c
index 5c26d17..1ecec9a 100644
--- a/target-mips/op.c
+++ b/target-mips/op.c
@@ -876,13 +876,13 @@ void op_msubu (void)
#if defined(TARGET_MIPSN32) || defined(TARGET_MIPS64)
void op_dmult (void)
{
- CALL_FROM_TB4(muls64, &(env->HI[0][env->current_tc]), &(env->LO[0][env->current_tc]), T0, T1);
+ CALL_FROM_TB4(muls64, &(env->LO[0][env->current_tc]), &(env->HI[0][env->current_tc]), T0, T1);
RETURN();
}
void op_dmultu (void)
{
- CALL_FROM_TB4(mulu64, &(env->HI[0][env->current_tc]), &(env->LO[0][env->current_tc]), T0, T1);
+ CALL_FROM_TB4(mulu64, &(env->LO[0][env->current_tc]), &(env->HI[0][env->current_tc]), T0, T1);
RETURN();
}
#endif