[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v5++ 3/3] target/mips: optimize indirect branches
From: |
Aurelien Jarno |
Subject: |
[Qemu-devel] [PATCH v5++ 3/3] target/mips: optimize indirect branches |
Date: |
Sun, 30 Apr 2017 16:52:54 +0200 |
Cc: Yongbok Kim <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
---
target/mips/translate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/mips/translate.c b/target/mips/translate.c
index 1a7ac07c67..559f8fed89 100644
--- a/target/mips/translate.c
+++ b/target/mips/translate.c
@@ -10725,7 +10725,7 @@ static void gen_branch(DisasContext *ctx, int
insn_bytes)
save_cpu_state(ctx, 0);
gen_helper_raise_exception_debug(cpu_env);
}
- tcg_gen_exit_tb(0);
+ tcg_gen_lookup_and_goto_ptr(cpu_PC);
break;
default:
fprintf(stderr, "unknown branch 0x%x\n", proc_hflags);
--
2.11.0
- Re: [Qemu-devel] [PATCH v5 00/19] TCG cross-tb optimizations, (continued)
[Qemu-devel] [PATCH v5++] TCG cross-tb optimizations, Aurelien Jarno, 2017/04/30