mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
target-ppc: Introduce DFP Test Data Class
Add emulation of the PowerPC Decimal Floating Point Test Data Class instructions dtstdc[q][.]. Signed-off-by: Tom Musta <tommusta@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
5833505be6
commit
e601c1eead
3 changed files with 34 additions and 0 deletions
|
@ -8368,6 +8368,8 @@ GEN_DFP_BF_A_B(dcmpu)
|
|||
GEN_DFP_BF_A_B(dcmpuq)
|
||||
GEN_DFP_BF_A_B(dcmpo)
|
||||
GEN_DFP_BF_A_B(dcmpoq)
|
||||
GEN_DFP_BF_A_DCM(dtstdc)
|
||||
GEN_DFP_BF_A_DCM(dtstdcq)
|
||||
/*** SPE extension ***/
|
||||
/* Register moves */
|
||||
|
||||
|
@ -11307,6 +11309,8 @@ GEN_DFP_BF_A_B(dcmpu, 0x02, 0x14),
|
|||
GEN_DFP_BF_Ap_Bp(dcmpuq, 0x02, 0x14),
|
||||
GEN_DFP_BF_A_B(dcmpo, 0x02, 0x04),
|
||||
GEN_DFP_BF_Ap_Bp(dcmpoq, 0x02, 0x04),
|
||||
GEN_DFP_BF_A_DCM(dtstdc, 0x02, 0x06),
|
||||
GEN_DFP_BF_Ap_DCM(dtstdcq, 0x02, 0x06),
|
||||
#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