mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
target/tricore: Implement hptof insn
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1667 Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Message-ID: <20230828112651.522058-8-kbastian@mail.uni-paderborn.de>
This commit is contained in:
parent
815061b9da
commit
5e0e06d9a2
6 changed files with 58 additions and 0 deletions
|
@ -6267,6 +6267,13 @@ static void decode_rr_divide(DisasContext *ctx)
|
|||
generate_trap(ctx, TRAPC_INSN_ERR, TIN2_IOPC);
|
||||
}
|
||||
break;
|
||||
case OPC2_32_RR_HPTOF:
|
||||
if (has_feature(ctx, TRICORE_FEATURE_162)) {
|
||||
gen_helper_hptof(cpu_gpr_d[r3], cpu_env, cpu_gpr_d[r1]);
|
||||
} else {
|
||||
generate_trap(ctx, TRAPC_INSN_ERR, TIN2_IOPC);
|
||||
}
|
||||
break;
|
||||
case OPC2_32_RR_CMP_F:
|
||||
gen_helper_fcmp(cpu_gpr_d[r3], cpu_env, cpu_gpr_d[r1], cpu_gpr_d[r2]);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue