KVM: x86 emulator: Avoid pushing back ModRM byte fetched for group decoding
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Mon, 30 Apr 2012 08:48:25 +0000 (17:48 +0900)
committerAvi Kivity <avi@redhat.com>
Sun, 6 May 2012 13:15:58 +0000 (16:15 +0300)
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>

No differences found