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)
commit1e87e3efe764285133866a14ddc71cf211f022c2
tree9e514242f2b0802863f8c77f755a90ed47960494
parentd4709c78eeff2b272e0b9727748b72371b0e71ab
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