projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a6440a
)
KVM: x86 emulator: simplify xchg decode tables
author
Avi Kivity
<avi@redhat.com>
Sun, 1 Aug 2010 09:39:53 +0000
(12:39 +0300)
committer
Avi Kivity
<avi@redhat.com>
Sun, 24 Oct 2010 08:50:33 +0000
(10:50 +0200)
Use X8() to avoid repetition.
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/emulate.c
b/arch/x86/kvm/emulate.c
index 5f45f66ed2773848c3ab16ec20f0b3bcee3ff245..c7176df9ced51ad3039997f50ae44e414571c42e 100644
(file)
--- a/
arch/x86/kvm/emulate.c
+++ b/
arch/x86/kvm/emulate.c
@@
-2147,7
+2147,7
@@
static struct opcode opcode_table[256] = {
D(DstMem | SrcNone | ModRM | Mov), D(ModRM | DstReg),
D(ImplicitOps | SrcMem16 | ModRM), G(0, group1A),
/* 0x90 - 0x97 */
-
D(DstReg), D(DstReg), D(DstReg), D(DstReg), D(DstReg), D(DstReg), D(DstReg), D(DstReg
),
+
X8(D(DstReg)
),
/* 0x98 - 0x9F */
N, N, D(SrcImmFAddr | No64), N,
D(ImplicitOps | Stack), D(ImplicitOps | Stack), N, N,