aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorYeongkyoon Lee <yeongkyoon.lee@samsung.com>2013-03-22 21:50:17 +0900
committerAurelien Jarno <aurelien@aurel32.net>2013-03-22 21:38:21 +0100
commit52ae646d4a3ebdcdcc973492c6a56f2c49b6578f (patch)
tree614737fa3eeddbd255cda8d7ad5fa18012e81a63 /tcg
parent3f08ffb4a4741d147634761dc053ed386243a0de (diff)
downloadqemu-52ae646d4a3ebdcdcc973492c6a56f2c49b6578f.zip
qemu-52ae646d4a3ebdcdcc973492c6a56f2c49b6578f.tar.gz
qemu-52ae646d4a3ebdcdcc973492c6a56f2c49b6578f.tar.bz2
tcg: Fix occasional TCG broken problem when ldst optimization enabled
is_tcg_gen_code() checks the upper limit of TCG generated code range wrong, so that TCG could get broken occasionally only when CONFIG_QEMU_LDST_OPTIMIZATION enabled. The reason is code_gen_buffer_max_size does not cover the upper range up to (TCG_MAX_OP_SIZE * OPC_BUF_SIZE), thus code_gen_buffer_max_size should be modified to code_gen_buffer_size. CC: qemu-stable@nongnu.org Signed-off-by: Yeongkyoon Lee <yeongkyoon.lee@samsung.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions