summaryrefslogtreecommitdiffstats
path: root/target-ppc/helper.h
diff options
context:
space:
mode:
authorTom Musta2014-04-21 22:55:21 +0200
committerAlexander Graf2014-06-16 13:24:32 +0200
commit804e654a56549c2960f9c3857bec4f4d934b437e (patch)
treed6b9734d7f2ce044d2a6a32fee1f4a3a13d0ae06 /target-ppc/helper.h
parenttarget-ppc: Introduce DFP Insert Biased Exponent (diff)
downloadqemu-804e654a56549c2960f9c3857bec4f4d934b437e.tar.gz
qemu-804e654a56549c2960f9c3857bec4f4d934b437e.tar.xz
qemu-804e654a56549c2960f9c3857bec4f4d934b437e.zip
target-ppc: Introduce DFP Shift Significand
Add emulation of the PowerPC Decimal Floating Point Shift Significand Left Immediate (dscli[q][.]) and DFP Shift Significant Right Immediate (dscri[q][.]) instructions. Signed-off-by: Tom Musta <tommusta@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/helper.h')
-rw-r--r--target-ppc/helper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/target-ppc/helper.h b/target-ppc/helper.h
index 435a1c0924..7e00a76d75 100644
--- a/target-ppc/helper.h
+++ b/target-ppc/helper.h
@@ -662,3 +662,7 @@ DEF_HELPER_3(dxex, void, env, fprp, fprp)
DEF_HELPER_3(dxexq, void, env, fprp, fprp)
DEF_HELPER_4(diex, void, env, fprp, fprp, fprp)
DEF_HELPER_4(diexq, void, env, fprp, fprp, fprp)
+DEF_HELPER_4(dscri, void, env, fprp, fprp, i32)
+DEF_HELPER_4(dscriq, void, env, fprp, fprp, i32)
+DEF_HELPER_4(dscli, void, env, fprp, fprp, i32)
+DEF_HELPER_4(dscliq, void, env, fprp, fprp, i32)