From: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org,
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] [PULL 3/5] tricore: fix RRPW_INSERT instruction
Date: Tue, 25 Jun 2019 15:06:56 +0200 [thread overview]
Message-ID: <20190625130658.24895-4-kbastian@mail.uni-paderborn.de> (raw)
In-Reply-To: <20190625130658.24895-1-kbastian@mail.uni-paderborn.de>
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>
Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <20190624070339.4408-4-david.brenken@efs-auto.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.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
next prev parent reply other threads:[~2019-06-25 13:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-25 13:06 [Qemu-devel] [PULL 0/5] tricore queue Bastian Koppelmann
2019-06-25 13:06 ` [Qemu-devel] [PULL 1/5] tricore: add FTOIZ instruction Bastian Koppelmann
2019-06-25 13:06 ` [Qemu-devel] [PULL 2/5] tricore: add UTOF instruction Bastian Koppelmann
2019-06-25 13:06 ` Bastian Koppelmann [this message]
2019-06-25 13:06 ` [Qemu-devel] [PULL 4/5] tricore: sync ctx.hflags with tb->flags Bastian Koppelmann
2019-06-25 13:06 ` [Qemu-devel] [PULL 5/5] tricore: add QSEED instruction Bastian Koppelmann
2019-07-01 13:39 ` [Qemu-devel] [PULL 0/5] tricore queue Peter Maydell
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=20190625130658.24895-4-kbastian@mail.uni-paderborn.de \
--to=kbastian@mail.uni-paderborn.de \
--cc=andreas.konopik@efs-auto.de \
--cc=david.brenken@efs-auto.de \
--cc=georg.hofstetter@efs-auto.de \
--cc=lars.biermanski@efs-auto.de \
--cc=peter.maydell@linaro.org \
--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).