Commit 0dfae4f
committed
target/sparc: Fix RETURN
Perform window restore before pc update. Required in order
to recognize any window underflow trap with the current pc.
Fixes: 86b82fe ("target/sparc: Move JMPL, RETT, RETURN to decodetree")
Reported-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>1 parent e2faabe commit 0dfae4f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4096 | 4096 | | |
4097 | 4097 | | |
4098 | 4098 | | |
| 4099 | + | |
4099 | 4100 | | |
4100 | 4101 | | |
4101 | 4102 | | |
4102 | 4103 | | |
4103 | 4104 | | |
4104 | | - | |
4105 | 4105 | | |
4106 | 4106 | | |
4107 | 4107 | | |
| |||
0 commit comments