summaryrefslogtreecommitdiff
path: root/target-tricore/translate.c
diff options
context:
space:
mode:
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>2015-05-22 12:15:58 +0200
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>2015-05-30 16:49:19 +0200
commit07e15486faf353260431f10e85185372c5036baa (patch)
treed5a74748f5a485a1ecefee0e68412ee3f142b0f7 /target-tricore/translate.c
parent9bbd4843c052a0a467c7a3363046b0c95c0e5fc0 (diff)
downloadqemu-07e15486faf353260431f10e85185372c5036baa.zip
target-tricore: fix BOL_ST_H_LONGOFF using ld
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Message-Id: <1432289758-6250-4-git-send-email-kbastian@mail.uni-paderborn.de>
Diffstat (limited to 'target-tricore/translate.c')
-rw-r--r--target-tricore/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-tricore/translate.c b/target-tricore/translate.c
index 8560d00058..8d41239617 100644
--- a/target-tricore/translate.c
+++ b/target-tricore/translate.c
@@ -5276,7 +5276,7 @@ static void decode_bol_opc(CPUTriCoreState *env, DisasContext *ctx, int32_t op1)
break;
case OPC1_32_BOL_ST_H_LONGOFF:
if (tricore_feature(env, TRICORE_FEATURE_16)) {
- gen_offset_ld(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], address, MO_LESW);
+ gen_offset_st(ctx, cpu_gpr_d[r1], cpu_gpr_a[r2], address, MO_LESW);
} else {
/* raise illegal opcode trap */
}