mirror of https://gitee.com/openkylin/linux.git
KVM: x86 emulator: consolidate MOV reg, imm decoding
Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
This commit is contained in:
parent
b3ab3405fe
commit
b6e6153885
|
@ -188,15 +188,9 @@ static u32 opcode_table[256] = {
|
|||
ByteOp | SrcSI | DstAcc | Mov | String, SrcSI | DstAcc | Mov | String,
|
||||
ByteOp | DstDI | String, DstDI | String,
|
||||
/* 0xB0 - 0xB7 */
|
||||
ByteOp | DstReg | SrcImm | Mov, ByteOp | DstReg | SrcImm | Mov,
|
||||
ByteOp | DstReg | SrcImm | Mov, ByteOp | DstReg | SrcImm | Mov,
|
||||
ByteOp | DstReg | SrcImm | Mov, ByteOp | DstReg | SrcImm | Mov,
|
||||
ByteOp | DstReg | SrcImm | Mov, ByteOp | DstReg | SrcImm | Mov,
|
||||
X8(ByteOp | DstReg | SrcImm | Mov),
|
||||
/* 0xB8 - 0xBF */
|
||||
DstReg | SrcImm | Mov, DstReg | SrcImm | Mov,
|
||||
DstReg | SrcImm | Mov, DstReg | SrcImm | Mov,
|
||||
DstReg | SrcImm | Mov, DstReg | SrcImm | Mov,
|
||||
DstReg | SrcImm | Mov, DstReg | SrcImm | Mov,
|
||||
X8(DstReg | SrcImm | Mov),
|
||||
/* 0xC0 - 0xC7 */
|
||||
ByteOp | DstMem | SrcImm | ModRM, DstMem | SrcImmByte | ModRM,
|
||||
0, ImplicitOps | Stack, 0, 0,
|
||||
|
|
Loading…
Reference in New Issue