diff options
author | Tom Musta <tommusta@gmail.com> | 2014-04-21 15:55:03 -0500 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-06-16 13:24:30 +0200 |
commit | 8de6a1cc672d94e6ca793a1a7fcccf48b65b2e89 (patch) | |
tree | 87143c5b35518d1db38d7bb2f0687c1c8a287435 /target-ppc/translate.c | |
parent | 2128f8a57e1f1db97b8ba03eae4d8e5d94bf1ea5 (diff) | |
download | qemu-8de6a1cc672d94e6ca793a1a7fcccf48b65b2e89.zip qemu-8de6a1cc672d94e6ca793a1a7fcccf48b65b2e89.tar.gz qemu-8de6a1cc672d94e6ca793a1a7fcccf48b65b2e89.tar.bz2 |
target-ppc: Introduce DFP Multiply
Add emulation of the PowerPC Decimal Floating Point Multiply instructions
dmul[q][.]
Signed-off-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/translate.c')
-rw-r--r-- | target-ppc/translate.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c index e1075d5..3f8de17 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -8360,6 +8360,8 @@ GEN_DFP_T_A_B_Rc(dadd) GEN_DFP_T_A_B_Rc(daddq) GEN_DFP_T_A_B_Rc(dsub) GEN_DFP_T_A_B_Rc(dsubq) +GEN_DFP_T_A_B_Rc(dmul) +GEN_DFP_T_A_B_Rc(dmulq) /*** SPE extension ***/ /* Register moves */ @@ -11291,6 +11293,8 @@ GEN_DFP_T_A_B_Rc(dadd, 0x02, 0x00), GEN_DFP_Tp_Ap_Bp_Rc(daddq, 0x02, 0x00), GEN_DFP_T_A_B_Rc(dsub, 0x02, 0x10), GEN_DFP_Tp_Ap_Bp_Rc(dsubq, 0x02, 0x10), +GEN_DFP_T_A_B_Rc(dmul, 0x02, 0x01), +GEN_DFP_Tp_Ap_Bp_Rc(dmulq, 0x02, 0x01), #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) |