]> Git Repo - qemu.git/commit - target-ppc/dfp_helper.c
target-ppc: Introduce DFP Helper Utilities
authorTom Musta <[email protected]>
Mon, 21 Apr 2014 20:54:59 +0000 (15:54 -0500)
committerAlexander Graf <[email protected]>
Mon, 16 Jun 2014 11:24:29 +0000 (13:24 +0200)
commit7b0c0d66e54868087b6db6a302aba030c0c5f2c3
tree50cc9fe8dd1631617fe3f56a1537679605dda71c
parent275e35c6c1e2aa82eacb0ee13eb80fabeee66bbf
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 <[email protected]>
[agraf: Add never reached assert on dfp_prepare_rounding_mode()]
Signed-off-by: Alexander Graf <[email protected]>
target-ppc/Makefile.objs
target-ppc/dfp_helper.c [new file with mode: 0644]
This page took 0.024819 seconds and 4 git commands to generate.