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 3/5] tricore: fix RRPW_INSERT instruction
Date: Wed, 19 Jun 2019 09:56:41 +0200 [thread overview]
Message-ID: <20190619075643.10048-4-david.brenken@efs-auto.org> (raw)
In-Reply-To: <20190619075643.10048-1-david.brenken@efs-auto.org>
From: David Brenken <david.brenken@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 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/tricore/translate.c b/target/tricore/translate.c
index bd913d71a1..5d4febf1c0 100644
--- a/target/tricore/translate.c
+++ b/target/tricore/translate.c
@@ -7025,9 +7025,9 @@ static void decode_rrpw_extract_insert(CPUTriCoreState *env, DisasContext *ctx)
}
break;
case OPC2_32_RRPW_INSERT:
- if (pos + width <= 31) {
+ if (pos + width <= 32) {
tcg_gen_deposit_tl(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2],
- width, pos);
+ pos, width);
}
break;
default:
--
2.22.0.windows.1
next prev parent reply other threads:[~2019-06-19 8:06 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 ` David Brenken [this message]
2019-06-19 9:10 ` [Qemu-devel] [PATCH v2 3/5] tricore: fix RRPW_INSERT instruction 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 ` [Qemu-devel] [PATCH v2 5/5] tricore: reset DisasContext before generating code David Brenken
2019-06-19 12:25 ` 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-4-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).