提交 8b4a3df8 编写于 作者: M malc

Fix popcnt in long mode

Thanks to Andriy Gapon for initial problem report.
Signed-off-by: Nmalc <av1474@comtv.ru>
上级 b64ba4b2
......@@ -7768,7 +7768,7 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start)
goto illegal_op;
modrm = cpu_ldub_code(cpu_single_env, s->pc++);
reg = ((modrm >> 3) & 7);
reg = ((modrm >> 3) & 7) | rex_r;
if (s->prefix & PREFIX_DATA)
ot = OT_WORD;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册