patch-2.4.19 linux-2.4.19/arch/arm/nwfpe/single_cpdo.c

Next file: linux-2.4.19/arch/arm/nwfpe/softfloat-specialize
Previous file: linux-2.4.19/arch/arm/nwfpe/fpopcode.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/arm/nwfpe/single_cpdo.c linux-2.4.19/arch/arm/nwfpe/single_cpdo.c
@@ -19,9 +19,9 @@
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
+#include "fpa11.h"
 #include "softfloat.h"
 #include "fpopcode.h"
-#include "fpa11.h"
 
 float32 float32_exp(float32 Fm);
 float32 float32_ln(float32 Fm);
@@ -139,8 +139,7 @@
 
       case RND_CODE:
       case URD_CODE:
-         fpa11->fpreg[Fd].fSingle = 
-             int32_to_float32(float32_to_int32(rFm));
+         fpa11->fpreg[Fd].fSingle = float32_round_to_int(rFm);
       break;
 
       case SQT_CODE:

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)