mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
target-ppc: Introduce DFP Convert to Fixed
Add emulation of the PowerPC Decimal Floating Point Convert to Fixed instructions dctfix[q][.]. Signed-off-by: Tom Musta <tommusta@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
f121419355
commit
bea0dd7912
3 changed files with 42 additions and 0 deletions
|
@ -8392,6 +8392,8 @@ GEN_DFP_T_B_Rc(drsp)
|
|||
GEN_DFP_T_B_Rc(drdpq)
|
||||
GEN_DFP_T_B_Rc(dcffix)
|
||||
GEN_DFP_T_B_Rc(dcffixq)
|
||||
GEN_DFP_T_B_Rc(dctfix)
|
||||
GEN_DFP_T_B_Rc(dctfixq)
|
||||
/*** SPE extension ***/
|
||||
/* Register moves */
|
||||
|
||||
|
@ -11355,6 +11357,8 @@ GEN_DFP_T_B_Rc(drsp, 0x02, 0x18),
|
|||
GEN_DFP_Tp_Bp_Rc(drdpq, 0x02, 0x18),
|
||||
GEN_DFP_T_B_Rc(dcffix, 0x02, 0x19),
|
||||
GEN_DFP_Tp_B_Rc(dcffixq, 0x02, 0x19),
|
||||
GEN_DFP_T_B_Rc(dctfix, 0x02, 0x09),
|
||||
GEN_DFP_T_Bp_Rc(dctfixq, 0x02, 0x09),
|
||||
#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