mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
target/ppc: declare vmsum[um]bm helpers with call flags
Move vmsumubm and vmsummbm to decodetree, declare both helpers with TCG_CALL_NO_RWG, and drop the unused env argument. Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220517123929.284511-11-matheus.ferst@eldorado.org.br> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
parent
ffc2a2818a
commit
b2dc03a5c3
5 changed files with 11 additions and 9 deletions
|
@ -2587,9 +2587,12 @@ static bool trans_VSEL(DisasContext *ctx, arg_VA *a)
|
|||
return true;
|
||||
}
|
||||
|
||||
GEN_VAFORM_PAIRED(vmsumubm, vmsummbm, 18)
|
||||
GEN_VAFORM_PAIRED(vmsumuhm, vmsumuhs, 19)
|
||||
GEN_VAFORM_PAIRED(vmsumshm, vmsumshs, 20)
|
||||
|
||||
TRANS_FLAGS(ALTIVEC, VMSUMUBM, do_va_helper, gen_helper_VMSUMUBM)
|
||||
TRANS_FLAGS(ALTIVEC, VMSUMMBM, do_va_helper, gen_helper_VMSUMMBM)
|
||||
|
||||
GEN_VAFORM_PAIRED(vmaddfp, vnmsubfp, 23)
|
||||
|
||||
GEN_VXFORM_NOA(vclzb, 1, 28)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue