KVM: emulator: check rex prefix inside decode_register()
authorGleb Natapov <gleb@redhat.com>
Mon, 4 Nov 2013 13:52:41 +0000 (15:52 +0200)
committerGleb Natapov <gleb@redhat.com>
Tue, 5 Nov 2013 07:11:18 +0000 (09:11 +0200)
All decode_register() callers check if instruction has rex prefix
to properly decode one byte operand. It make sense to move the check
inside.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>

No differences found