[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 3/5] tricore: fix RRPW_INSERT instruction
From: |
David Brenken |
Subject: |
[Qemu-devel] [PATCH v2 3/5] tricore: fix RRPW_INSERT instruction |
Date: |
Wed, 19 Jun 2019 09:56:41 +0200 |
From: David Brenken <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 | 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
- [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, 2019/06/19
- [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 <=
- [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
- Re: [Qemu-devel] [PATCH v2 0/5] tricore: adding new instructions and fixing issues, no-reply, 2019/06/19