summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-08-18 19:29:33 +0300
committerAvi Kivity <avi@redhat.com>2010-10-24 10:51:16 +0200
commitd46164dbd936bc11c7d2abed62f05b31c7a79ae7 (patch)
tree1947ea98edac4f7800d08b16dfe29509846759ef /arch/x86
parent7db41eb76244ae623de842e818e459755968a33b (diff)
downloadop-kernel-dev-d46164dbd936bc11c7d2abed62f05b31c7a79ae7.zip
op-kernel-dev-d46164dbd936bc11c7d2abed62f05b31c7a79ae7.tar.gz
KVM: x86 emulator: implement IMUL REG, R/M, IMM (opcode 69)
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kvm/emulate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index f456d7e..55849c3 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -2402,7 +2402,8 @@ static struct opcode opcode_table[256] = {
N, D(DstReg | SrcMem32 | ModRM | Mov) /* movsxd (x86/64) */ ,
N, N, N, N,
/* 0x68 - 0x6F */
- I(SrcImm | Mov | Stack, em_push), N,
+ I(SrcImm | Mov | Stack, em_push),
+ I(DstReg | SrcMem | ModRM | Src2Imm, em_imul_3op),
I(SrcImmByte | Mov | Stack, em_push),
I(DstReg | SrcMem | ModRM | Src2ImmByte, em_imul_3op),
D(DstDI | ByteOp | Mov | String), D(DstDI | Mov | String), /* insb, insw/insd */
OpenPOWER on IntegriCloud