* [Qemu-devel] [patch] Arm mulxy bug
@ 2005-12-02 2:00 Paul Brook
0 siblings, 0 replies; only message in thread
From: Paul Brook @ 2005-12-02 2:00 UTC (permalink / raw)
To: qemu-devel
The patch below fixes a bug in the implementation of the Arm mulxy
instruction.
Paul
=== target-arm/translate.c
==================================================================
--- target-arm/translate.c (revision 1887)
+++ target-arm/translate.c (local)
@@ -1021,11 +1021,11 @@
static inline void gen_mulxy(int x, int y)
{
- if (x & 2)
+ if (x)
gen_op_sarl_T0_im(16);
else
gen_op_sxth_T0();
- if (y & 1)
+ if (y)
gen_op_sarl_T1_im(16);
else
gen_op_sxth_T1();
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-12-02 2:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-02 2:00 [Qemu-devel] [patch] Arm mulxy bug Paul Brook
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.