diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-01-07 17:19:11 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-01-08 19:07:22 +0000 |
commit | 879d096b37b1233fec334bc2c2f569ac3b8fec9a (patch) | |
tree | b5ef5457a51eb547a39a5f02913210958160a5e8 /fpu | |
parent | fd728f2f949273563f799640b863b4b94dc4c6da (diff) | |
download | qemu-879d096b37b1233fec334bc2c2f569ac3b8fec9a.zip qemu-879d096b37b1233fec334bc2c2f569ac3b8fec9a.tar.gz qemu-879d096b37b1233fec334bc2c2f569ac3b8fec9a.tar.bz2 |
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')
-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 3232ce2..4abcd36 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'. *----------------------------------------------------------------------------*/ |