mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
target/ppc: remove getVSR()/putVSR() from int_helper.c
Since commit 8a14d31b00
"target/ppc: switch fpr/vsrl registers so all VSX
registers are in host endian order" functions getVSR() and putVSR() which used
to convert the VSR registers into host endian order are no longer required.
Now that there are now no more users of getVSR()/putVSR() these functions can
be completely removed.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20190616123751.781-4-mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
001d235c7e
commit
03b32c092e
2 changed files with 10 additions and 24 deletions
|
@ -204,18 +204,6 @@ EXTRACT_HELPER(IMM8, 11, 8);
|
|||
EXTRACT_HELPER(DCMX, 16, 7);
|
||||
EXTRACT_HELPER_SPLIT_3(DCMX_XV, 5, 16, 0, 1, 2, 5, 1, 6, 6);
|
||||
|
||||
static inline void getVSR(int n, ppc_vsr_t *vsr, CPUPPCState *env)
|
||||
{
|
||||
vsr->VsrD(0) = env->vsr[n].VsrD(0);
|
||||
vsr->VsrD(1) = env->vsr[n].VsrD(1);
|
||||
}
|
||||
|
||||
static inline void putVSR(int n, ppc_vsr_t *vsr, CPUPPCState *env)
|
||||
{
|
||||
env->vsr[n].VsrD(0) = vsr->VsrD(0);
|
||||
env->vsr[n].VsrD(1) = vsr->VsrD(1);
|
||||
}
|
||||
|
||||
void helper_compute_fprf_float16(CPUPPCState *env, float16 arg);
|
||||
void helper_compute_fprf_float32(CPUPPCState *env, float32 arg);
|
||||
void helper_compute_fprf_float128(CPUPPCState *env, float128 arg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue