From: David Brenken <david.brenken@efs-auto.org>
To: qemu-devel@nongnu.org
Cc: kbastian@mail.uni-paderborn.de,
Lars Biermanski <lars.biermanski@efs-auto.de>,
Georg Hofstetter <georg.hofstetter@efs-auto.de>,
David Brenken <david.brenken@efs-auto.de>,
Robert Rasche <robert.rasche@efs-auto.de>,
Andreas Konopik <andreas.konopik@efs-auto.de>
Subject: [Qemu-devel] [PATCH v2 5/5] tricore: reset DisasContext before generating code
Date: Wed, 19 Jun 2019 09:56:43 +0200 [thread overview]
Message-ID: <20190619075643.10048-6-david.brenken@efs-auto.org> (raw)
In-Reply-To: <20190619075643.10048-1-david.brenken@efs-auto.org>
From: Georg Hofstetter <georg.hofstetter@efs-auto.de>
Signed-off-by: Andreas Konopik <andreas.konopik@efs-auto.de>
Signed-off-by: David Brenken <david.brenken@efs-auto.de>
Signed-off-by: Georg Hofstetter <georg.hofstetter@efs-auto.de>
Signed-off-by: Robert Rasche <robert.rasche@efs-auto.de>
Signed-off-by: Lars Biermanski <lars.biermanski@efs-auto.de>
---
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
next prev parent reply other threads:[~2019-06-19 7:58 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-19 7:56 [Qemu-devel] [PATCH v2 0/5] tricore: adding new instructions and fixing issues David Brenken
2019-06-19 7:56 ` [Qemu-devel] [PATCH v2 1/5] tricore: add FTOIZ instruction David Brenken
2019-06-19 7:56 ` [Qemu-devel] [PATCH v2 2/5] tricore: add UTOF instruction David Brenken
2019-06-19 7:56 ` [Qemu-devel] [PATCH v2 3/5] tricore: fix RRPW_INSERT instruction David Brenken
2019-06-19 9:10 ` Bastian Koppelmann
2019-06-19 7:56 ` [Qemu-devel] [PATCH v2 4/5] tricore: add QSEED instruction David Brenken
2019-06-19 12:25 ` Bastian Koppelmann
2019-06-21 10:55 ` Konopik, Andreas (EFS-GH2)
2019-06-19 7:56 ` David Brenken [this message]
2019-06-19 12:25 ` [Qemu-devel] [PATCH v2 5/5] tricore: reset DisasContext before generating code Bastian Koppelmann
2019-06-19 12:41 ` Brenken, David (EFS-GH2)
2019-06-19 8:27 ` [Qemu-devel] [PATCH v2 0/5] tricore: adding new instructions and fixing issues no-reply
2019-06-19 8:33 ` no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190619075643.10048-6-david.brenken@efs-auto.org \
--to=david.brenken@efs-auto.org \
--cc=andreas.konopik@efs-auto.de \
--cc=david.brenken@efs-auto.de \
--cc=georg.hofstetter@efs-auto.de \
--cc=kbastian@mail.uni-paderborn.de \
--cc=lars.biermanski@efs-auto.de \
--cc=qemu-devel@nongnu.org \
--cc=robert.rasche@efs-auto.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).