summaryrefslogtreecommitdiffstats
path: root/linux-user
diff options
context:
space:
mode:
authorRichard Henderson2021-05-17 22:50:05 +0200
committerDavid Gibson2021-05-19 02:30:29 +0200
commit6086c751c3ef2d05df25f4c494e097d169c68731 (patch)
tree37d8e4ab8ac4b81e5a05fcdcec72d4fbb5fc76fb /linux-user
parenttarget/ppc: Replace POWERPC_EXCP_STOP with DISAS_EXIT_UPDATE (diff)
downloadqemu-6086c751c3ef2d05df25f4c494e097d169c68731.tar.gz
qemu-6086c751c3ef2d05df25f4c494e097d169c68731.tar.xz
qemu-6086c751c3ef2d05df25f4c494e097d169c68731.zip
target/ppc: Replace POWERPC_EXCP_BRANCH with DISAS_NORETURN
The translation of branch instructions always results in exit from the TB. Remove the synthetic "exception" after no more uses. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br> Message-Id: <20210517205025.3777947-4-matheus.ferst@eldorado.org.br> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/ppc/cpu_loop.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/linux-user/ppc/cpu_loop.c b/linux-user/ppc/cpu_loop.c
index fe526693d2..fa91ea0eed 100644
--- a/linux-user/ppc/cpu_loop.c
+++ b/linux-user/ppc/cpu_loop.c
@@ -423,9 +423,6 @@ void cpu_loop(CPUPPCState *env)
cpu_abort(cs, "Maintenance exception while in user mode. "
"Aborting\n");
break;
- case POWERPC_EXCP_BRANCH: /* branch instruction: */
- /* We just stopped because of a branch. Go on */
- break;
case POWERPC_EXCP_SYSCALL_USER:
/* system call in user-mode emulation */
/* WARNING: