From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO7KS-0005qW-GV for qemu-devel@nongnu.org; Thu, 13 Mar 2014 11:14:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WO7KK-0005C6-3Z for qemu-devel@nongnu.org; Thu, 13 Mar 2014 11:13:52 -0400 From: Tom Musta Date: Thu, 13 Mar 2014 10:13:04 -0500 Message-Id: <1394723588-6072-9-git-send-email-tommusta@gmail.com> In-Reply-To: <1394723588-6072-1-git-send-email-tommusta@gmail.com> References: <1394723588-6072-1-git-send-email-tommusta@gmail.com> Subject: [Qemu-devel] [RFC 08/12] target-ppc: Define FPR Pointer Type for Helpers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Tom Musta , qemu-ppc@nongnu.org This patch defines 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 quadword 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 --- target-ppc/helper.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/target-ppc/helper.h b/target-ppc/helper.h index 99f10de..1bebc8e 100644 --- a/target-ppc/helper.h +++ b/target-ppc/helper.h @@ -614,4 +614,8 @@ DEF_HELPER_3(store_601_batl, void, env, i32, tl) DEF_HELPER_3(store_601_batu, void, env, i32, tl) #endif +#define dh_alias_fprp ptr +#define dh_ctype_fprp uint64_t * +#define dh_is_signed_fprp dh_is_signed_ptr + #include "exec/def-helper.h" -- 1.7.1