aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/op.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-ppc/op.c')
-rw-r--r--target-ppc/op.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-ppc/op.c b/target-ppc/op.c
index 0030c14..0495879 100644
--- a/target-ppc/op.c
+++ b/target-ppc/op.c
@@ -980,7 +980,7 @@ void OPPROTO op_mulhd (void)
{
uint64_t tl, th;
- do_imul64(&tl, &th);
+ muls64(&tl, &th, T0, T1);
T0 = th;
RETURN();
}
@@ -998,7 +998,7 @@ void OPPROTO op_mulhdu (void)
{
uint64_t tl, th;
- do_mul64(&tl, &th);
+ mulu64(&tl, &th, T0, T1);
T0 = th;
RETURN();
}