patch-2.4.22 linux-2.4.22/arch/arm/nwfpe/softfloat.c
Next file: linux-2.4.22/arch/arm/nwfpe/softfloat.h
Previous file: linux-2.4.22/arch/arm/nwfpe/single_cpdo.c
Back to the patch index
Back to the overall index
- Lines: 54
- Date:
2003-08-25 04:44:39.000000000 -0700
- Orig file:
linux-2.4.21/arch/arm/nwfpe/softfloat.c
- Orig date:
2002-08-02 17:39:42.000000000 -0700
diff -urN linux-2.4.21/arch/arm/nwfpe/softfloat.c linux-2.4.22/arch/arm/nwfpe/softfloat.c
@@ -29,8 +29,8 @@
*/
#include "fpa11.h"
-#include "milieu.h"
-#include "softfloat.h"
+//#include "milieu.h"
+//#include "softfloat.h"
/*
-------------------------------------------------------------------------------
@@ -142,12 +142,14 @@
Returns the sign bit of the single-precision floating-point value `a'.
-------------------------------------------------------------------------------
*/
+#if 0 /* in softfloat.h */
INLINE flag extractFloat32Sign( float32 a )
{
return a>>31;
}
+#endif
/*
-------------------------------------------------------------------------------
@@ -184,9 +186,9 @@
{
#if 0
float32 f;
- __asm__("@ packFloat32;
- mov %0, %1, asl #31;
- orr %0, %2, asl #23;
+ __asm__("@ packFloat32 \n\
+ mov %0, %1, asl #31 \n\
+ orr %0, %2, asl #23 \n\
orr %0, %3"
: /* no outputs */
: "g" (f), "g" (zSign), "g" (zExp), "g" (zSig)
@@ -321,12 +323,14 @@
Returns the sign bit of the double-precision floating-point value `a'.
-------------------------------------------------------------------------------
*/
+#if 0 /* in softfloat.h */
INLINE flag extractFloat64Sign( float64 a )
{
return a>>63;
}
+#endif
/*
-------------------------------------------------------------------------------
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)