aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorDavid Brenken <david.brenken@efs-auto.de>2019-02-07 08:39:28 +0100
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>2019-03-08 10:00:59 +0100
commitd1c1d88ce6fd768cb98cd7af81b1b23ac9fe168d (patch)
tree3d4f9663738b9c13c0cc0effe524fe57175eae02 /target
parenta00585eef28e388bd3022214ccd3c2486d6e3c7f (diff)
tricore: fixed RCR_CADDN instruction
Signed-off-by: Christian Richter <christian.richter@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> Message-Id: <20190207073928.4048-3-david.brenken@efs-auto.org> Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Diffstat (limited to 'target')
-rw-r--r--target/tricore/translate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/tricore/translate.c b/target/tricore/translate.c
index 5846f95316..b12c391be5 100644
--- a/target/tricore/translate.c
+++ b/target/tricore/translate.c
@@ -5871,8 +5871,8 @@ static void decode_rcr_cond_select(CPUTriCoreState *env, DisasContext *ctx)
cpu_gpr_d[r3]);
break;
case OPC2_32_RCR_CADDN:
- gen_condi_add(TCG_COND_EQ, cpu_gpr_d[r1], const9, cpu_gpr_d[r3],
- cpu_gpr_d[r4]);
+ gen_condi_add(TCG_COND_EQ, cpu_gpr_d[r1], const9, cpu_gpr_d[r4],
+ cpu_gpr_d[r3]);
break;
case OPC2_32_RCR_SEL:
temp = tcg_const_i32(0);