From c4a28a404b06eaaf46114bd6ad9fc36b1f2f2384 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 27 May 2012 16:05:04 +0200 Subject: [PATCH] software/libbase: __floatunsisf/__floatunsidf --- software/libbase/softfloat-glue.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/software/libbase/softfloat-glue.c b/software/libbase/softfloat-glue.c index c688217fe..446163736 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) {