diff options
author | Emilio G. Cota <cota@braap.org> | 2018-09-12 17:35:33 -0400 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2018-10-05 12:57:41 -0500 |
commit | c953da8f0be5e026d1c9128660736d72294feb3e (patch) | |
tree | 0e13664f4736ad38d4d1ed958c8a7aacabc0bc78 /fpu | |
parent | ae7a4c0a4604bcfed40170db6cca576c44d872a2 (diff) | |
download | qemu-c953da8f0be5e026d1c9128660736d72294feb3e.zip qemu-c953da8f0be5e026d1c9128660736d72294feb3e.tar.gz qemu-c953da8f0be5e026d1c9128660736d72294feb3e.tar.bz2 |
softfloat: remove float64_trunc_to_int
It has not had users since f83311e476 ("target-m68k: use floatx80
internally", 2017-06-21).
Note that no other bit-width has floatX_trunc_to_int.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'fpu')
-rw-r--r-- | fpu/softfloat.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/fpu/softfloat.c b/fpu/softfloat.c index 59ca356..9405f12 100644 --- a/fpu/softfloat.c +++ b/fpu/softfloat.c @@ -1409,13 +1409,6 @@ float64 float64_round_to_int(float64 a, float_status *s) return float64_round_pack_canonical(pr, s); } -float64 float64_trunc_to_int(float64 a, float_status *s) -{ - FloatParts pa = float64_unpack_canonical(a, s); - FloatParts pr = round_to_int(pa, float_round_to_zero, 0, s); - return float64_round_pack_canonical(pr, s); -} - /* * Returns the result of converting the floating-point value `a' to * the two's complement integer format. The conversion is performed |