From: Sebastien Bourdeauducq Date: Sun, 27 May 2012 14:05:04 +0000 (+0200) Subject: software/libbase: __floatunsisf/__floatunsidf X-Git-Tag: 24jan2021_ls180~3156 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c4a28a404b06eaaf46114bd6ad9fc36b1f2f2384;p=litex.git software/libbase: __floatunsisf/__floatunsidf --- diff --git a/software/libbase/softfloat-glue.c b/software/libbase/softfloat-glue.c index c688217f..44616373 100644 --- a/software/libbase/softfloat-glue.c +++ b/software/libbase/softfloat-glue.c @@ -180,6 +180,12 @@ float32 __floatsisf(int32 x) return int32_to_float32(x); } +float32 __floatunsisf(int32 x); +float32 __floatunsisf(int32 x) +{ + return int32_to_float32(x); // XXX +} + int32 __fixsfsi(float32 x); int32 __fixsfsi(float32 x) { @@ -237,6 +243,12 @@ float64 __floatsidf(int32 x) return int32_to_float64(x); } +float64 __floatunsidf(int32 x); +float64 __floatunsidf(int32 x) +{ + return int32_to_float64(x); // XXX +} + int32 __fixdfsi(float64 x); int32 __fixdfsi(float64 x) {