|
| From: | Philippe Mathieu-Daudé |
| Subject: | Re: [PATCH for-9.1] target/m68k: Always return a temporary from gen_lea_mode |
| Date: | Tue, 13 Aug 2024 10:40:49 +0200 |
| User-agent: | Mozilla Thunderbird |
On 13/8/24 02:07, Richard Henderson wrote:
Returning a raw areg does not preserve the value if the areg is subsequently modified. Fixes, e.g. "jsr (sp)", where the return address is pushed before the branch. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2483 Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/m68k/translate.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
| [Prev in Thread] | Current Thread | [Next in Thread] |