diff options
author | Tom Musta <tommusta@gmail.com> | 2014-04-21 15:54:56 -0500 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-06-16 13:24:29 +0200 |
commit | a4f27cc82c5ebf7691cc9de26c368dac6d302526 (patch) | |
tree | f833996c7b8a80104e760bf6211a3c4987d5961e /target-ppc/helper.h | |
parent | 0a322e7e7cc25267fb4f900d4bc193a134cd72fe (diff) | |
download | hqemu-a4f27cc82c5ebf7691cc9de26c368dac6d302526.zip hqemu-a4f27cc82c5ebf7691cc9de26c368dac6d302526.tar.gz |
target-ppc: Define FPR Pointer Type for Helpers
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 <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/helper.h')
-rw-r--r-- | 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 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) #endif + +#define dh_alias_fprp ptr +#define dh_ctype_fprp uint64_t * +#define dh_is_signed_fprp dh_is_signed_ptr |