[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-ppc] [PULL 026/118] target-ppc: Define FPR Pointer Type for Helper

From: Alexander Graf
Subject: [Qemu-ppc] [PULL 026/118] target-ppc: Define FPR Pointer Type for Helpers
Date: Wed, 4 Jun 2014 14:43:27 +0200

From: Tom Musta <address@hidden>

Define a floating pointer register pointer type in the PowerPC
helper header.  The type will be used to pass FPR register operands
to Decimal Floating Point (DFP) helpers.  A pointer is used because
the quad word forms of PowerPC DFP instructions operate on adjacent
pairs of floating point registers and thus can be thought of as
arrays of length 2.

Signed-off-by: Tom Musta <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
 target-ppc/helper.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/target-ppc/helper.h b/target-ppc/helper.h
index 08f3916..22d5466 100644
--- a/target-ppc/helper.h
+++ b/target-ppc/helper.h
@@ -611,3 +611,7 @@ DEF_HELPER_3(store_dbatu, void, env, i32, tl)
 DEF_HELPER_3(store_601_batl, void, env, i32, tl)
 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]