]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386: fix translation for icount mode
authorPavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Thu, 20 Sep 2018 07:17:03 +0000 (10:17 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 2 Oct 2018 17:09:13 +0000 (19:09 +0200)
commit41d54dc09f1f327dedc79d5ba0b1b437ab7b0e94
tree61c849b1ba92a9dec077438911596a8ac4453208
parent442c3b4594bb5a537c5f83dd9c65a0919723eca8
target/i386: fix translation for icount mode

This patch fixes the checking of boundary crossing instructions.
In icount mode only first instruction of the block may cross
the page boundary to keep the translation deterministic.
These conditions already existed, but compared the wrong variable.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Message-Id: <20180920071702.22477.43980.stgit@pasha-VirtualBox>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/translate.c