mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
target/ppc: Move ddedpd[q],denbcd[q],dscli[q],dscri[q] to decodetree
Move the following instructions to decodetree: ddedpd: DFP Decode DPD To BCD ddedpdq: DFP Decode DPD To BCD Quad denbcd: DFP Encode BCD To DPD denbcdq: DFP Encode BCD To DPD Quad dscli: DFP Shift Significand Left Immediate dscliq: DFP Shift Significand Left Immediate Quad dscri: DFP Shift Significand Right Immediate dscriq: DFP Shift Significand Right Immediate Quad Also deleted dfp-ops.c.inc, now that all PPC DFP instructions were moved to decodetree. Signed-off-by: Luis Pires <luis.pires@eldorado.org.br> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20211029192417.400707-16-luis.pires@eldorado.org.br> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
c8ef4d1ec0
commit
a23297479c
6 changed files with 68 additions and 87 deletions
|
@ -1131,8 +1131,8 @@ void helper_##op(CPUPPCState *env, ppc_fprp_t *t, ppc_fprp_t *b, \
|
|||
set_dfp##size(t, &dfp.vt); \
|
||||
}
|
||||
|
||||
DFP_HELPER_DEDPD(ddedpd, 64)
|
||||
DFP_HELPER_DEDPD(ddedpdq, 128)
|
||||
DFP_HELPER_DEDPD(DDEDPD, 64)
|
||||
DFP_HELPER_DEDPD(DDEDPDQ, 128)
|
||||
|
||||
static inline uint8_t dfp_get_bcd_digit_64(ppc_vsr_t *t, unsigned n)
|
||||
{
|
||||
|
@ -1199,8 +1199,8 @@ void helper_##op(CPUPPCState *env, ppc_fprp_t *t, ppc_fprp_t *b, \
|
|||
set_dfp##size(t, &dfp.vt); \
|
||||
}
|
||||
|
||||
DFP_HELPER_ENBCD(denbcd, 64)
|
||||
DFP_HELPER_ENBCD(denbcdq, 128)
|
||||
DFP_HELPER_ENBCD(DENBCD, 64)
|
||||
DFP_HELPER_ENBCD(DENBCDQ, 128)
|
||||
|
||||
#define DFP_HELPER_XEX(op, size) \
|
||||
void helper_##op(CPUPPCState *env, ppc_fprp_t *t, ppc_fprp_t *b) \
|
||||
|
@ -1387,7 +1387,7 @@ void helper_##op(CPUPPCState *env, ppc_fprp_t *t, ppc_fprp_t *a, \
|
|||
set_dfp##size(t, &dfp.vt); \
|
||||
}
|
||||
|
||||
DFP_HELPER_SHIFT(dscli, 64, 1)
|
||||
DFP_HELPER_SHIFT(dscliq, 128, 1)
|
||||
DFP_HELPER_SHIFT(dscri, 64, 0)
|
||||
DFP_HELPER_SHIFT(dscriq, 128, 0)
|
||||
DFP_HELPER_SHIFT(DSCLI, 64, 1)
|
||||
DFP_HELPER_SHIFT(DSCLIQ, 128, 1)
|
||||
DFP_HELPER_SHIFT(DSCRI, 64, 0)
|
||||
DFP_HELPER_SHIFT(DSCRIQ, 128, 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue