diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-04-02 19:13:41 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-04-02 19:13:41 +0000 |
commit | 33698e5ffce099286b7788a63142f603b4cd7f38 (patch) | |
tree | 8fefe21f7fd9523c0d3945a6934738f5db2175d7 /target-i386 | |
parent | 894244f6cad355bf118cf6523296a06df1617f9d (diff) |
btx decode fix on x86_64
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1796 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/translate.c b/target-i386/translate.c index 0db0d4a4b1..cca4560868 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) { |