]> git.proxmox.com Git - mirror_qemu.git/commit
target/xtensa: only rotate window in the retw helper
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 11 Feb 2019 20:22:29 +0000 (12:22 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 28 Feb 2019 12:43:22 +0000 (04:43 -0800)
commitc949009bc0612cbfc7bc5b80c3e9ea3e24313434
treef9db6c6424c5ccc8a7b6309edc7da6e7268ec19c
parent8df3fd359697d68095c5f1ba47e83e8e237a3055
target/xtensa: only rotate window in the retw helper

Move return address calculation and WINDOW_START adjustment out of the
retw helper to simplify logic a bit and avoid using registers directly.
Pass a0 as a parameter to the helper.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
target/xtensa/helper.h
target/xtensa/translate.c
target/xtensa/win_helper.c