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

Next file: linux-2.4.19/arch/arm/nwfpe/entry.S
Previous file: linux-2.4.19/arch/arm/nwfpe/ChangeLog
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/arm/nwfpe/double_cpdo.c linux-2.4.19/arch/arm/nwfpe/double_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"
 
 float64 float64_exp(float64 Fm);
 float64 float64_ln(float64 Fm);
@@ -165,8 +165,7 @@
 
       case RND_CODE:
       case URD_CODE:
-         fpa11->fpreg[Fd].fDouble = 
-             int32_to_float64(float64_to_int32(rFm));
+         fpa11->fpreg[Fd].fDouble = float64_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)