diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-12-04 18:56:28 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-12-04 18:56:28 +0000 |
commit | ee0971849e6110e14e10eaabb12b7adec7169668 (patch) | |
tree | b7ab08ebbc3f36e9496667d0c973a3a114359ada /target-arm | |
parent | 80337b66a8e7a98963cb846f551d9ef533d7d489 (diff) | |
download | qemu-ee0971849e6110e14e10eaabb12b7adec7169668.zip qemu-ee0971849e6110e14e10eaabb12b7adec7169668.tar.gz qemu-ee0971849e6110e14e10eaabb12b7adec7169668.tar.bz2 |
Arm mulxy insn fix (Paul Brook)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1683 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm')
-rw-r--r-- | target-arm/translate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-arm/translate.c b/target-arm/translate.c index 930826c..a5eb3b4 100644 --- a/target-arm/translate.c +++ b/target-arm/translate.c @@ -1021,11 +1021,11 @@ static inline void gen_jmp (DisasContext *s, uint32_t dest) 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(); |