[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 5/5] tricore: reset DisasContext before generatin
From: |
David Brenken |
Subject: |
[Qemu-devel] [PATCH v2 5/5] tricore: reset DisasContext before generating code |
Date: |
Wed, 19 Jun 2019 09:56:43 +0200 |
From: Georg Hofstetter <address@hidden>
Signed-off-by: Andreas Konopik <address@hidden>
Signed-off-by: David Brenken <address@hidden>
Signed-off-by: Georg Hofstetter <address@hidden>
Signed-off-by: Robert Rasche <address@hidden>
Signed-off-by: Lars Biermanski <address@hidden>
---
target/tricore/translate.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/tricore/translate.c b/target/tricore/translate.c
index b3bfb3ca51..8f90c76d35 100644
--- a/target/tricore/translate.c
+++ b/target/tricore/translate.c
@@ -8806,6 +8806,7 @@ void gen_intermediate_code(CPUState *cs, TranslationBlock
*tb, int max_insns)
target_ulong pc_start;
int num_insns = 0;
+ memset(&ctx, 0x00, sizeof(DisasContext));
pc_start = tb->pc;
ctx.pc = pc_start;
ctx.saved_pc = -1;
--
2.22.0.windows.1
- [Qemu-devel] [PATCH v2 0/5] tricore: adding new instructions and fixing issues, David Brenken, 2019/06/19
- [Qemu-devel] [PATCH v2 5/5] tricore: reset DisasContext before generating code,
David Brenken <=
- [Qemu-devel] [PATCH v2 2/5] tricore: add UTOF instruction, David Brenken, 2019/06/19
- [Qemu-devel] [PATCH v2 1/5] tricore: add FTOIZ instruction, David Brenken, 2019/06/19
- [Qemu-devel] [PATCH v2 3/5] tricore: fix RRPW_INSERT instruction, David Brenken, 2019/06/19
- [Qemu-devel] [PATCH v2 4/5] tricore: add QSEED instruction, David Brenken, 2019/06/19
- Re: [Qemu-devel] [PATCH v2 0/5] tricore: adding new instructions and fixing issues, no-reply, 2019/06/19