aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/helper.h
diff options
context:
space:
mode:
authorTom Musta <tommusta@gmail.com>2014-04-21 15:55:01 -0500
committerAlexander Graf <agraf@suse.de>2014-06-16 13:24:30 +0200
commita9d7ba03b0fa8c7b6d660c6aafa736d16921728f (patch)
treefffa6fed766005033e1d0fd4180b87eaffcb5b6e /target-ppc/helper.h
parent27722744e9fc81e437a5e55db8ec31ec99b31714 (diff)
target-ppc: Introduce DFP Add
Add emulation of the PowerPC Decimal Floating Point Add instructions dadd[q][.] Various GCC unused annotations are removed since it is now safe to remove them. Signed-off-by: Tom Musta <tommusta@gmail.com> [agraf: move brace in function definition] Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/helper.h')
-rw-r--r--target-ppc/helper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target-ppc/helper.h b/target-ppc/helper.h
index 22d5466d06..99e61984cc 100644
--- a/target-ppc/helper.h
+++ b/target-ppc/helper.h
@@ -615,3 +615,6 @@ DEF_HELPER_3(store_601_batu, void, env, i32, tl)
#define dh_alias_fprp ptr
#define dh_ctype_fprp uint64_t *
#define dh_is_signed_fprp dh_is_signed_ptr
+
+DEF_HELPER_4(dadd, void, env, fprp, fprp, fprp)
+DEF_HELPER_4(daddq, void, env, fprp, fprp, fprp)