git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e2ca7d
)
KVM: x86 emulator: Use opcode::execute for Group 1, CMPS and SCAS
author
Takuya Yoshikawa
<yoshikawa.takuya@oss.ntt.co.jp>
Sat, 23 Apr 2011 09:48:02 +0000
(18:48 +0900)
committer
Avi Kivity
<avi@redhat.com>
Sun, 22 May 2011 12:39:40 +0000
(08:39 -0400)
The following instructions are changed to use opcode::execute.
Group 1 (80-83)
ADD (00-05), OR (08-0D), ADC (10-15), SBB (18-1D), AND (20-25),
SUB (28-2D), XOR (30-35), CMP (38-3D)
CMPS (A6-A7), SCAS (AE-AF)
The last two do the same as CMP in the emulator, so em_cmp() is used.
Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c
patch
|
blob
|
history
diff --cc
arch/x86/kvm/emulate.c
Simple merge