patch-2.2.11 linux/arch/alpha/math-emu/fxtos.c

Next file: linux/arch/alpha/math-emu/ieee-math.c
Previous file: linux/arch/alpha/math-emu/fxtod.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.10/linux/arch/alpha/math-emu/fxtos.c linux/arch/alpha/math-emu/fxtos.c
@@ -0,0 +1,11 @@
+#include "soft-fp.h"
+#include "single.h"
+
+int FXTOS(void *rd, void *rs2)
+{
+	FP_DECL_S(R);
+	long a = *(long *)rs2;
+
+	FP_FROM_INT_S(R, a, 64, long);
+	return __FP_PACK_S(rd, R);
+}

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