summaryrefslogtreecommitdiffstats
path: root/linux-user/nios2
diff options
context:
space:
mode:
authorRichard Henderson2022-04-21 17:16:49 +0200
committerRichard Henderson2022-04-26 17:16:41 +0200
commit48da43b258d9038d1f093cfd0d2a4d01d3183be9 (patch)
tree6585b8ddc2a67dc402256d1f4e6f8fbb052a00a9 /linux-user/nios2
parenttarget/nios2: Split out helper for eret instruction (diff)
downloadqemu-48da43b258d9038d1f093cfd0d2a4d01d3183be9.tar.gz
qemu-48da43b258d9038d1f093cfd0d2a4d01d3183be9.tar.xz
qemu-48da43b258d9038d1f093cfd0d2a4d01d3183be9.zip
target/nios2: Fix BRET instruction
We had failed to copy BSTATUS back to STATUS, and diagnose supervisor-only. The spec is light on the specifics of the implementation of bret, but it is an easy assumption that the restore into STATUS should work the same as eret. Therefore, reuse the existing helper_eret. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reported-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220421151735.31996-19-richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/nios2')
0 files changed, 0 insertions, 0 deletions