mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
target/ppc: declare xxextractuw and xxinsertw helpers with call flags
Move xxextractuw and xxinsertw 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-9-matheus.ferst@eldorado.org.br> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
parent
c36ab970ac
commit
8f5eeee3f1
5 changed files with 39 additions and 45 deletions
|
@ -1647,8 +1647,7 @@ VSTRI(VSTRIHL, H, 8, true)
|
|||
VSTRI(VSTRIHR, H, 8, false)
|
||||
#undef VSTRI
|
||||
|
||||
void helper_xxextractuw(CPUPPCState *env, ppc_vsr_t *xt,
|
||||
ppc_vsr_t *xb, uint32_t index)
|
||||
void helper_XXEXTRACTUW(ppc_vsr_t *xt, ppc_vsr_t *xb, uint32_t index)
|
||||
{
|
||||
ppc_vsr_t t = { };
|
||||
size_t es = sizeof(uint32_t);
|
||||
|
@ -1663,8 +1662,7 @@ void helper_xxextractuw(CPUPPCState *env, ppc_vsr_t *xt,
|
|||
*xt = t;
|
||||
}
|
||||
|
||||
void helper_xxinsertw(CPUPPCState *env, ppc_vsr_t *xt,
|
||||
ppc_vsr_t *xb, uint32_t index)
|
||||
void helper_XXINSERTW(ppc_vsr_t *xt, ppc_vsr_t *xb, uint32_t index)
|
||||
{
|
||||
ppc_vsr_t t = *xt;
|
||||
size_t es = sizeof(uint32_t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue