mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
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>
This commit is contained in:
parent
9bbd4843c0
commit
07e15486fa
1 changed files with 1 additions and 1 deletions
|
|
@ -5276,7 +5276,7 @@ static void decode_bol_opc(CPUTriCoreState *env, DisasContext *ctx, int32_t op1)
|
||||||
break;
|
break;
|
||||||
case OPC1_32_BOL_ST_H_LONGOFF:
|
case OPC1_32_BOL_ST_H_LONGOFF:
|
||||||
if (tricore_feature(env, TRICORE_FEATURE_16)) {
|
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 {
|
} else {
|
||||||
/* raise illegal opcode trap */
|
/* raise illegal opcode trap */
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue