All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86 emulator: Add missing decoder flags for 'or' instructions
@ 2009-08-28 14:41 Mohammed Gamal
  2009-08-31 12:19 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Mohammed Gamal @ 2009-08-28 14:41 UTC (permalink / raw)
  To: avi; +Cc: kvm, Mohammed Gamal

Add missing decoder flags for or instructions (0xc-0xd)

Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com>
---
 arch/x86/kvm/emulate.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index 0644d3d..db0820d 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -99,7 +99,8 @@ static u32 opcode_table[256] = {
 	/* 0x08 - 0x0F */
 	ByteOp | DstMem | SrcReg | ModRM, DstMem | SrcReg | ModRM,
 	ByteOp | DstReg | SrcMem | ModRM, DstReg | SrcMem | ModRM,
-	0, 0, ImplicitOps | Stack | No64, 0,
+	ByteOp | DstAcc | SrcImm, DstAcc | SrcImm,
+	ImplicitOps | Stack | No64, 0,
 	/* 0x10 - 0x17 */
 	ByteOp | DstMem | SrcReg | ModRM, DstMem | SrcReg | ModRM,
 	ByteOp | DstReg | SrcMem | ModRM, DstReg | SrcMem | ModRM,
-- 
1.6.0.4


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

* Re: [PATCH] x86 emulator: Add missing decoder flags for 'or' instructions
  2009-08-28 14:41 [PATCH] x86 emulator: Add missing decoder flags for 'or' instructions Mohammed Gamal
@ 2009-08-31 12:19 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2009-08-31 12:19 UTC (permalink / raw)
  To: Mohammed Gamal; +Cc: kvm

On 08/28/2009 05:41 PM, Mohammed Gamal wrote:
> Add missing decoder flags for or instructions (0xc-0xd)
>    

Applied, thanks.

-- 
error compiling committee.c: too many arguments to function


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

end of thread, other threads:[~2009-08-31 12:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-28 14:41 [PATCH] x86 emulator: Add missing decoder flags for 'or' instructions Mohammed Gamal
2009-08-31 12:19 ` Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.