提交 45154539 编写于 作者: A Avi Kivity

KVM: x86 emulator: simplify xchg decode tables

Use X8() to avoid repetition.
Signed-off-by: NAvi Kivity <avi@redhat.com>
上级 1a6440ae
...@@ -2147,7 +2147,7 @@ static struct opcode opcode_table[256] = { ...@@ -2147,7 +2147,7 @@ static struct opcode opcode_table[256] = {
D(DstMem | SrcNone | ModRM | Mov), D(ModRM | DstReg), D(DstMem | SrcNone | ModRM | Mov), D(ModRM | DstReg),
D(ImplicitOps | SrcMem16 | ModRM), G(0, group1A), D(ImplicitOps | SrcMem16 | ModRM), G(0, group1A),
/* 0x90 - 0x97 */ /* 0x90 - 0x97 */
D(DstReg), D(DstReg), D(DstReg), D(DstReg), D(DstReg), D(DstReg), D(DstReg), D(DstReg), X8(D(DstReg)),
/* 0x98 - 0x9F */ /* 0x98 - 0x9F */
N, N, D(SrcImmFAddr | No64), N, N, N, D(SrcImmFAddr | No64), N,
D(ImplicitOps | Stack), D(ImplicitOps | Stack), N, N, D(ImplicitOps | Stack), D(ImplicitOps | Stack), N, N,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册