]> git.proxmox.com Git - qemu.git/commit
tcg/optimize: fix setcond2 optimization
authorAurelien Jarno <aurelien@aurel32.net>
Wed, 8 May 2013 20:36:39 +0000 (22:36 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 9 May 2013 14:14:58 +0000 (16:14 +0200)
commit66e61b55f158ef5628e4c056dd2f233c9351a3f5
tree6db143a8c30e4b43c91d629be686d1686c240a97
parent47ec15cdd44877e553ed0bd0a16aea8a295dad62
tcg/optimize: fix setcond2 optimization

When setcond2 is rewritten into setcond, the state of the destination
temp should be reset, so that a copy of the previous value is not
used instead of the result.

Reported-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
tcg/optimize.c