[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 12/37] target-ppc: Define FPR Pointer Type for Helpers
From: |
Tom Musta |
Subject: |
[Qemu-ppc] [PATCH 12/37] target-ppc: Define FPR Pointer Type for Helpers |
Date: |
Fri, 18 Apr 2014 09:50:16 -0500 |
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>
---
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
- [Qemu-ppc] [PATCH 04/37] libdecnumber: Modify dconfig.h to Integrate with QEMU, (continued)
- [Qemu-ppc] [PATCH 04/37] libdecnumber: Modify dconfig.h to Integrate with QEMU, Tom Musta, 2014/04/18
- [Qemu-ppc] [PATCH 05/37] libdecnumber: Change gstdint.h to stdint.h, Tom Musta, 2014/04/18
- [Qemu-ppc] [PATCH 06/37] libdecnumber: Eliminate redundant declarations, Tom Musta, 2014/04/18
- [Qemu-ppc] [PATCH 07/37] libdecnumber: Eliminate Unused Variable in decSetSubnormal, Tom Musta, 2014/04/18
- [Qemu-ppc] [PATCH 15/37] target-ppc: Introduce DFP Helper Utilities, Tom Musta, 2014/04/18
- [Qemu-ppc] [PATCH 10/37] libdecnumber: Introduce decNumberIntegralToInt64, Tom Musta, 2014/04/18
- [Qemu-ppc] [PATCH 08/37] target-ppc: Enable Building of libdecnumber, Tom Musta, 2014/04/18
- [Qemu-ppc] [PATCH 11/37] libdecnumber: Fix decNumberSetBCD, Tom Musta, 2014/04/18
- [Qemu-ppc] [PATCH 09/37] libdecnumber: Introduce decNumberFrom[U]Int64, Tom Musta, 2014/04/18
- [Qemu-ppc] [PATCH 12/37] target-ppc: Define FPR Pointer Type for Helpers,
Tom Musta <=
- [Qemu-ppc] [PATCH 13/37] target-ppc: Introduce Generator Macros for DFP Arithmetic Forms, Tom Musta, 2014/04/18
- [Qemu-ppc] [PATCH 14/37] target-ppc: Introduce Decoder Macros for DFP, Tom Musta, 2014/04/18
- [Qemu-ppc] [PATCH 17/37] target-ppc: Introduce DFP Add, Tom Musta, 2014/04/18
- [Qemu-ppc] [PATCH 16/37] target-ppc: Introduce DFP Post Processor Utilities, Tom Musta, 2014/04/18
- [Qemu-ppc] [PATCH 19/37] target-ppc: Introduce DFP Multiply, Tom Musta, 2014/04/18
- [Qemu-ppc] [PATCH 20/37] target-ppc: Introduce DFP Divide, Tom Musta, 2014/04/18
- [Qemu-ppc] [PATCH 18/37] target-ppc: Introduce DFP Subtract, Tom Musta, 2014/04/18