From: bellard Date: Sun, 2 Apr 2006 19:13:41 +0000 (+0000) Subject: btx decode fix on x86_64 X-Git-Tag: TizenStudio_2.0_p2.3~14422 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=33698e5ffce099286b7788a63142f603b4cd7f38;p=sdk%2Femulator%2Fqemu.git btx decode fix on x86_64 git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1796 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/target-i386/translate.c b/target-i386/translate.c index 0db0d4a..cca4560 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -5085,7 +5085,7 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start) case 0x1ba: /* bt/bts/btr/btc Gv, im */ ot = dflag + OT_WORD; modrm = ldub_code(s->pc++); - op = ((modrm >> 3) & 7) | rex_r; + op = (modrm >> 3) & 7; mod = (modrm >> 6) & 3; rm = (modrm & 7) | REX_B(s); if (mod != 3) {