From: David Brenken <david.bren...@efs-auto.de> Signed-off-by: Christian Richter <christian.rich...@efs-auto.de> Signed-off-by: David Brenken <david.bren...@efs-auto.de> Signed-off-by: Georg Hofstetter <georg.hofstet...@efs-auto.de> Signed-off-by: Robert Rasche <robert.ras...@efs-auto.de> Signed-off-by: Lars Biermanski <lars.bierman...@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 b5ab40d..0511756 100644 --- a/target/tricore/translate.c +++ b/target/tricore/translate.c @@ -5867,8 +5867,8 @@ static void decode_rcr_cond_select(CPUTriCoreState *env, DisasContext *ctx) switch (op2) { case OPC2_32_RCR_CADD: - gen_condi_add(TCG_COND_NE, cpu_gpr_d[r1], const9, cpu_gpr_d[r3], - cpu_gpr_d[r4]); + gen_condi_add(TCG_COND_NE, cpu_gpr_d[r1], const9, cpu_gpr_d[r4], + 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], -- 2.7.4