kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86 emulator: Add decode entries for 0x05 opcode
@ 2008-10-20  6:52 Guillaume Thouvenin
  2008-10-20  7:21 ` Avi Kivity
  0 siblings, 1 reply; 9+ messages in thread
From: Guillaume Thouvenin @ 2008-10-20  6:52 UTC (permalink / raw)
  To: kvm; +Cc: Avi Kivity

Add decode entries for 0x05 (ADD) opcode, execution is already
implemented.

Signed-off-by: Guillaume Thouvenin <guillaume.thouvenin@ext.bull.net>
---
 x86_emulate.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c
index a391e21..8425aa9 100644
--- a/arch/x86/kvm/x86_emulate.c
+++ b/arch/x86/kvm/x86_emulate.c
@@ -80,7 +80,7 @@ static u16 opcode_table[256] = {
 	/* 0x00 - 0x07 */
 	ByteOp | DstMem | SrcReg | ModRM, DstMem | SrcReg | ModRM,
 	ByteOp | DstReg | SrcMem | ModRM, DstReg | SrcMem | ModRM,
-	0, 0, 0, 0,
+	0, SrcImm | DstAcc, 0, 0,
 	/* 0x08 - 0x0F */
 	ByteOp | DstMem | SrcReg | ModRM, DstMem | SrcReg | ModRM,
 	ByteOp | DstReg | SrcMem | ModRM, DstReg | SrcMem | ModRM,

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-10-22 10:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-20  6:52 [PATCH] x86 emulator: Add decode entries for 0x05 opcode Guillaume Thouvenin
2008-10-20  7:21 ` Avi Kivity
2008-10-20  7:31   ` Guillaume Thouvenin
2008-10-20  8:42   ` Guillaume Thouvenin
2008-10-20  8:47     ` Avi Kivity
2008-10-20  8:52       ` Guillaume Thouvenin
2008-10-20  9:04         ` Avi Kivity
2008-10-20 11:11   ` [PATCH] x86 emulator: Add decode entries for 0x04 and 0x05 opcodes Guillaume Thouvenin
2008-10-22 10:02     ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).