aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/helper.h
diff options
context:
space:
mode:
authorTom Musta <tommusta@gmail.com>2014-04-21 15:55:05 -0500
committerAlexander Graf <agraf@suse.de>2014-06-16 13:24:30 +0200
commit5833505be64a27f8ae7a503d3f39b9d586b0d5f6 (patch)
treecb0c45a040f911eceedc86249cf27133ec6ad34d /target-ppc/helper.h
parent9024ff40ba79f77b027fb3cbfe584e0005128193 (diff)
downloadqemu-5833505be64a27f8ae7a503d3f39b9d586b0d5f6.zip
qemu-5833505be64a27f8ae7a503d3f39b9d586b0d5f6.tar.gz
qemu-5833505be64a27f8ae7a503d3f39b9d586b0d5f6.tar.bz2
target-ppc: Introduce DFP Compares
Add emulation of the PowerPC Decimal Floating Point Compare instructions dcmpu[q] and dcmpo[q]. 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 f0c0306..2bbae63 100644
--- a/target-ppc/helper.h
+++ b/target-ppc/helper.h
@@ -624,3 +624,7 @@ DEF_HELPER_4(dmul, void, env, fprp, fprp, fprp)
DEF_HELPER_4(dmulq, void, env, fprp, fprp, fprp)
DEF_HELPER_4(ddiv, void, env, fprp, fprp, fprp)
DEF_HELPER_4(ddivq, void, env, fprp, fprp, fprp)
+DEF_HELPER_3(dcmpo, i32, env, fprp, fprp)
+DEF_HELPER_3(dcmpoq, i32, env, fprp, fprp)
+DEF_HELPER_3(dcmpu, i32, env, fprp, fprp)
+DEF_HELPER_3(dcmpuq, i32, env, fprp, fprp)