mirror of
https://github.com/qemu/qemu.git
synced 2024-12-18 01:34:15 +08:00
target/ppc: implemented XXSPLTIDP instruction
Implemented the instruction XXSPLTIDP using decodetree. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Bruno Larsen (billionai) <bruno.larsen@eldorado.org.br> Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br> Message-Id: <20211104123719.323713-23-matheus.ferst@eldorado.org.br> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
ec10f73eb9
commit
236a628599
@ -169,6 +169,8 @@ PLXVP 000001 00 0--.-- .................. \
|
|||||||
PSTXVP 000001 00 0--.-- .................. \
|
PSTXVP 000001 00 0--.-- .................. \
|
||||||
111110 ..... ..... ................ @8LS_D_TSXP
|
111110 ..... ..... ................ @8LS_D_TSXP
|
||||||
|
|
||||||
|
XXSPLTIDP 000001 01 0000 -- -- ................ \
|
||||||
|
100000 ..... 0010 . ................ @8RR_D
|
||||||
XXSPLTIW 000001 01 0000 -- -- ................ \
|
XXSPLTIW 000001 01 0000 -- -- ................ \
|
||||||
100000 ..... 0011 . ................ @8RR_D
|
100000 ..... 0011 . ................ @8RR_D
|
||||||
XXSPLTI32DX 000001 01 0000 -- -- ................ \
|
XXSPLTI32DX 000001 01 0000 -- -- ................ \
|
||||||
|
@ -1476,6 +1476,16 @@ static bool trans_XXSPLTIW(DisasContext *ctx, arg_8RR_D *a)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static bool trans_XXSPLTIDP(DisasContext *ctx, arg_8RR_D *a)
|
||||||
|
{
|
||||||
|
REQUIRE_INSNS_FLAGS2(ctx, ISA310);
|
||||||
|
REQUIRE_VSX(ctx);
|
||||||
|
|
||||||
|
tcg_gen_gvec_dup_imm(MO_64, vsr_full_offset(a->xt), 16, 16,
|
||||||
|
helper_todouble(a->si));
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
static bool trans_XXSPLTI32DX(DisasContext *ctx, arg_8RR_D_IX *a)
|
static bool trans_XXSPLTI32DX(DisasContext *ctx, arg_8RR_D_IX *a)
|
||||||
{
|
{
|
||||||
TCGv_i32 imm;
|
TCGv_i32 imm;
|
||||||
|
Loading…
Reference in New Issue
Block a user