commit | 9f4260e73ac43aaa91eb5de95950e1de7002f467 | [log] [tgz] |
---|---|---|
author | Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> | Mon Apr 30 17:48:25 2012 +0900 |
committer | Avi Kivity <avi@redhat.com> | Sun May 06 16:15:58 2012 +0300 |
tree | 9984a53a3ec8ba905cf209d02686f415ada5a425 | |
parent | 1c2545be05f436523cabc54087c6a60ea10110d3 [diff] |
KVM: x86 emulator: Avoid pushing back ModRM byte fetched for group decoding Although ModRM byte is fetched for group decoding, it is soon pushed back to make decode_modrm() fetch it later again. Now that ModRM flag can be found in the top level opcode tables, fetch ModRM byte before group decoding to make the code simpler. Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> Signed-off-by: Avi Kivity <avi@redhat.com>