mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
target/ppc: Implement cfuged instruction
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br> Message-Id: <20210601193528.2533031-12-matheus.ferst@eldorado.org.br> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
9a14365eeb
commit
89ccd7dc3f
4 changed files with 79 additions and 0 deletions
|
@ -227,3 +227,15 @@ TRANS(SETBC, do_set_bool_cond, false, false)
|
|||
TRANS(SETBCR, do_set_bool_cond, false, true)
|
||||
TRANS(SETNBC, do_set_bool_cond, true, false)
|
||||
TRANS(SETNBCR, do_set_bool_cond, true, true)
|
||||
|
||||
static bool trans_CFUGED(DisasContext *ctx, arg_X *a)
|
||||
{
|
||||
REQUIRE_64BIT(ctx);
|
||||
REQUIRE_INSNS_FLAGS2(ctx, ISA310);
|
||||
#if defined(TARGET_PPC64)
|
||||
gen_helper_cfuged(cpu_gpr[a->ra], cpu_gpr[a->rt], cpu_gpr[a->rb]);
|
||||
#else
|
||||
qemu_build_not_reached();
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue