]> git.proxmox.com Git - qemu.git/commit
target-xtensa: fix LOOPNEZ/LOOPGTZ translation
authorMax Filippov <jcmvbkbc@gmail.com>
Sun, 15 Apr 2012 21:47:06 +0000 (01:47 +0400)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 21 Apr 2012 13:24:45 +0000 (13:24 +0000)
commitb18b37f7c5bc96dabdb08bcfb699b339a76104bf
tree67842adbc717da793baa5b143c23c7c68ff111a8
parentf91837a7f173e0334539024e4d8ba10c19a78bb7
target-xtensa: fix LOOPNEZ/LOOPGTZ translation

Translation of LOOP instructions used to call LEND SR write handler to
update LEND and invalidate relevant TBs. Now that LEND SR write handler
ends TB, LOOPNEZ and LOOPGTZ generate wrong code (same as for simple
LOOP). Fix it by calling wsr_lend helper directly.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-xtensa/translate.c