diff options
| author | Peter Maydell | 2014-01-07 18:19:11 +0100 |
|---|---|---|
| committer | Peter Maydell | 2014-01-08 20:07:22 +0100 |
| commit | 879d096b37b1233fec334bc2c2f569ac3b8fec9a (patch) | |
| tree | b5ef5457a51eb547a39a5f02913210958160a5e8 /fpu/softfloat.c | |
| parent | softfloat: Fix float64_to_uint32_round_to_zero (diff) | |
| download | qemu-879d096b37b1233fec334bc2c2f569ac3b8fec9a.tar.gz qemu-879d096b37b1233fec334bc2c2f569ac3b8fec9a.tar.xz qemu-879d096b37b1233fec334bc2c2f569ac3b8fec9a.zip | |
softfloat: Provide complete set of accessors for fp state
Tidy up the get/set accessors for the fp state to add missing ones
and make them all inline in softfloat.h rather than some inline and
some not.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'fpu/softfloat.c')
| -rw-r--r-- | fpu/softfloat.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/fpu/softfloat.c b/fpu/softfloat.c index 3232ce2547..4abcd36b15 100644 --- a/fpu/softfloat.c +++ b/fpu/softfloat.c @@ -59,21 +59,6 @@ these four paragraphs for those parts of this code that are retained. *----------------------------------------------------------------------------*/ #include "softfloat-specialize.h" -void set_float_rounding_mode(int val STATUS_PARAM) -{ - STATUS(float_rounding_mode) = val; -} - -void set_float_exception_flags(int val STATUS_PARAM) -{ - STATUS(float_exception_flags) = val; -} - -void set_floatx80_rounding_precision(int val STATUS_PARAM) -{ - STATUS(floatx80_rounding_precision) = val; -} - /*---------------------------------------------------------------------------- | Returns the fraction bits of the half-precision floating-point value `a'. *----------------------------------------------------------------------------*/ |
