]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: simplify REX.W check
authorAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 11:42:51 +0000 (14:42 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:34 +0000 (10:50 +0200)
commit8e737a2b37444d20eabe0986f5f2e01fd468e0a1
tree9e514242f2b0802863f8c77f755a90ed47960494
parentcf555ff3b8bae8058c8a1b8c96907de9e615c417
KVM: x86 emulator: simplify REX.W check

(x && (x & y)) == (x & y)

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c