Commit 3849186c authored by Avi Kivity's avatar Avi Kivity

KVM: x86 emulator: consolidate push/pop reg decoding

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
parent 749358a6
...@@ -150,11 +150,9 @@ static u32 opcode_table[256] = { ...@@ -150,11 +150,9 @@ static u32 opcode_table[256] = {
/* 0x40 - 0x4F */ /* 0x40 - 0x4F */
X16(DstReg), X16(DstReg),
/* 0x50 - 0x57 */ /* 0x50 - 0x57 */
SrcReg | Stack, SrcReg | Stack, SrcReg | Stack, SrcReg | Stack, X8(SrcReg | Stack),
SrcReg | Stack, SrcReg | Stack, SrcReg | Stack, SrcReg | Stack,
/* 0x58 - 0x5F */ /* 0x58 - 0x5F */
DstReg | Stack, DstReg | Stack, DstReg | Stack, DstReg | Stack, X8(DstReg | Stack),
DstReg | Stack, DstReg | Stack, DstReg | Stack, DstReg | Stack,
/* 0x60 - 0x67 */ /* 0x60 - 0x67 */
ImplicitOps | Stack | No64, ImplicitOps | Stack | No64, ImplicitOps | Stack | No64, ImplicitOps | Stack | No64,
0, DstReg | SrcMem32 | ModRM | Mov /* movsxd (x86/64) */ , 0, DstReg | SrcMem32 | ModRM | Mov /* movsxd (x86/64) */ ,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment