btx decode fix on x86_64
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1796 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
894244f6ca
commit
33698e5ffc
@ -5085,7 +5085,7 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start)
|
|||||||
case 0x1ba: /* bt/bts/btr/btc Gv, im */
|
case 0x1ba: /* bt/bts/btr/btc Gv, im */
|
||||||
ot = dflag + OT_WORD;
|
ot = dflag + OT_WORD;
|
||||||
modrm = ldub_code(s->pc++);
|
modrm = ldub_code(s->pc++);
|
||||||
op = ((modrm >> 3) & 7) | rex_r;
|
op = (modrm >> 3) & 7;
|
||||||
mod = (modrm >> 6) & 3;
|
mod = (modrm >> 6) & 3;
|
||||||
rm = (modrm & 7) | REX_B(s);
|
rm = (modrm & 7) | REX_B(s);
|
||||||
if (mod != 3) {
|
if (mod != 3) {
|
||||||
|
Loading…
Reference in New Issue
Block a user