diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-29 13:27:29 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-29 13:27:29 +0000 |
commit | 5aa3b1eaf8e6685e11ccf8faaf15da45d0e3a30f (patch) | |
tree | 009525b2aa3f55a69932c571294c16bb9ee42f33 /target-sh4 | |
parent | d8173e0fbae694f2fa0e61fde15eb61e1f20532c (diff) | |
download | qemu-5aa3b1eaf8e6685e11ccf8faaf15da45d0e3a30f.tar.gz qemu-5aa3b1eaf8e6685e11ccf8faaf15da45d0e3a30f.tar.bz2 qemu-5aa3b1eaf8e6685e11ccf8faaf15da45d0e3a30f.zip |
SH4: fix xtrct Rm,Rn (broken in r5103)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5105 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sh4')
-rw-r--r-- | target-sh4/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sh4/translate.c b/target-sh4/translate.c index 19ff31063f..b0df5857a6 100644 --- a/target-sh4/translate.c +++ b/target-sh4/translate.c @@ -528,7 +528,7 @@ void _decode_opc(DisasContext * ctx) tcg_gen_shli_i32(cpu_T[0], cpu_T[0], 16); tcg_gen_shri_i32(cpu_T[1], cpu_gregs[REG(B11_8)], 16); tcg_gen_andi_i32(cpu_T[1], cpu_T[1], 0xffff); - tcg_gen_ori_i32(cpu_gregs[REG(B11_8)], cpu_T[0], cpu_T[1]); + tcg_gen_or_i32(cpu_gregs[REG(B11_8)], cpu_T[0], cpu_T[1]); return; case 0x300c: /* add Rm,Rn */ tcg_gen_add_i32(cpu_gregs[REG(B11_8)], cpu_gregs[REG(B11_8)], cpu_gregs[REG(B7_4)]); |