mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 11:04:58 -06:00
target-ppc: Introduce Round to DFP Short/Long
Add emulation of the PowerPC Round to DFP Short (drsp[.]) and Round to DFP Long (drdpq[.]) instructions. Signed-off-by: Tom Musta <tommusta@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
290d9ee537
commit
ca603eb4d7
3 changed files with 54 additions and 0 deletions
|
@ -8388,6 +8388,8 @@ GEN_DFP_T_B_U32_U32_Rc(drintn, FPW, RMC)
|
|||
GEN_DFP_T_B_U32_U32_Rc(drintnq, FPW, RMC)
|
||||
GEN_DFP_T_B_Rc(dctdp)
|
||||
GEN_DFP_T_B_Rc(dctqpq)
|
||||
GEN_DFP_T_B_Rc(drsp)
|
||||
GEN_DFP_T_B_Rc(drdpq)
|
||||
/*** SPE extension ***/
|
||||
/* Register moves */
|
||||
|
||||
|
@ -11347,6 +11349,8 @@ GEN_DFP_R_T_B_RMC_Rc(drintn, 0x03, 0x07),
|
|||
GEN_DFP_R_Tp_Bp_RMC_Rc(drintnq, 0x03, 0x07),
|
||||
GEN_DFP_T_B_Rc(dctdp, 0x02, 0x08),
|
||||
GEN_DFP_Tp_B_Rc(dctqpq, 0x02, 0x08),
|
||||
GEN_DFP_T_B_Rc(drsp, 0x02, 0x18),
|
||||
GEN_DFP_Tp_Bp_Rc(drdpq, 0x02, 0x18),
|
||||
#undef GEN_SPE
|
||||
#define GEN_SPE(name0, name1, opc2, opc3, inval0, inval1, type) \
|
||||
GEN_OPCODE_DUAL(name0##_##name1, 0x04, opc2, opc3, inval0, inval1, type, PPC_NONE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue