]> git.proxmox.com Git - mirror_qemu.git/commit
target/rx: Swap stack pointers on clrpsw/setpsw instruction
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 17 Apr 2022 16:51:30 +0000 (09:51 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 21 Apr 2022 17:04:34 +0000 (10:04 -0700)
commit3c69336a8773ec9dde145d40f3e715b9395e0aa0
treea52d61cb2c6cf9192d45f15e2cf2e5ffbc3c5cfa
parentd3562fe2588d3e0a15f3785d86792800d717984c
target/rx: Swap stack pointers on clrpsw/setpsw instruction

We properly perform this swap in helper_set_psw for MVTC,
but we missed doing so for the CLRPSW/SETPSW of the U bit.

Reported-by: Tomoaki Kawada <i@yvt.jp>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Message-Id: <20220417165130.695085-5-richard.henderson@linaro.org>
target/rx/translate.c