commit | 285ca9e948fa047e51fe47082528034de5369e8d | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue May 06 12:24:32 2014 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Jul 11 09:14:02 2014 +0200 |
tree | e2aa61f852b3f2896b2ca6eb5c23275387ec9dae | |
parent | 41061cdb98a0bec464278b4db8e894a3121671f5 [diff] |
KVM: emulate: speed up do_insn_fetch Hoist the common case up from do_insn_fetch_byte to do_insn_fetch, and prime the fetch_cache in x86_decode_insn. This helps a bit the compiler and the branch predictor, but above all it lays the ground for further changes in the next few patches. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>