diff options
author | Tom Musta <tommusta@gmail.com> | 2014-04-21 15:54:59 -0500 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-06-16 13:24:29 +0200 |
commit | 7b0c0d66e54868087b6db6a302aba030c0c5f2c3 (patch) | |
tree | 50cc9fe8dd1631617fe3f56a1537679605dda71c /target-ppc/Makefile.objs | |
parent | 275e35c6c1e2aa82eacb0ee13eb80fabeee66bbf (diff) | |
download | hqemu-7b0c0d66e54868087b6db6a302aba030c0c5f2c3.zip hqemu-7b0c0d66e54868087b6db6a302aba030c0c5f2c3.tar.gz |
target-ppc: Introduce DFP Helper Utilities
Add a new file (dfp_helper.c) to the PowerPC implementation for Decimal Floating
Point (DFP) emulation. This first version of the file declares a structure that
will be used by DFP helpers. It also implements utilities that will initialize
such a structure for either a long (64 bit) DFP instruction or an extended (128
bit, aka "quad") instruction.
Some utility functions are annotated with the unused attribute in order to preserve
build bisection.
Signed-off-by: Tom Musta <tommusta@gmail.com>
[agraf: Add never reached assert on dfp_prepare_rounding_mode()]
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/Makefile.objs')
-rw-r--r-- | target-ppc/Makefile.objs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ppc/Makefile.objs b/target-ppc/Makefile.objs index 3cb23e0..a7ae392 100644 --- a/target-ppc/Makefile.objs +++ b/target-ppc/Makefile.objs @@ -6,6 +6,7 @@ obj-$(TARGET_PPC64) += mmu-hash64.o arch_dump.o endif obj-$(CONFIG_KVM) += kvm.o kvm_ppc.o obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o +obj-y += dfp_helper.o obj-y += excp_helper.o obj-y += fpu_helper.o obj-y += int_helper.o |