mirror of https://github.com/xqemu/xqemu.git
Fix popcnt in long mode
Thanks to Andriy Gapon for initial problem report. Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
parent
b64ba4b232
commit
8b4a3df808
|
@ -7768,7 +7768,7 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start)
|
||||||
goto illegal_op;
|
goto illegal_op;
|
||||||
|
|
||||||
modrm = cpu_ldub_code(cpu_single_env, s->pc++);
|
modrm = cpu_ldub_code(cpu_single_env, s->pc++);
|
||||||
reg = ((modrm >> 3) & 7);
|
reg = ((modrm >> 3) & 7) | rex_r;
|
||||||
|
|
||||||
if (s->prefix & PREFIX_DATA)
|
if (s->prefix & PREFIX_DATA)
|
||||||
ot = OT_WORD;
|
ot = OT_WORD;
|
||||||
|
|
Loading…
Reference in New Issue