]> git.baikalelectronics.ru Git - kernel.git/commit
KVM/VMX: Use TEST %REG,%REG instead of CMP $0,%REG in vmenter.S
authorUros Bizjak <ubizjak@gmail.com>
Thu, 29 Oct 2020 14:04:57 +0000 (15:04 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 12 Dec 2020 00:00:57 +0000 (19:00 -0500)
commit28bb61a2b3edc30494a48f96a72262fd90f9424b
tree66e2db1fc3087077ae9b6521092a78937b48051b
parent65a0dbfa7749d1ffc2f7434d302973b630e7bd42
KVM/VMX: Use TEST %REG,%REG instead of CMP $0,%REG in vmenter.S

Saves one byte in __vmx_vcpu_run for the same functionality.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Message-Id: <20201029140457.126965-1-ubizjak@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmenter.S