patch-2.2.14 linux/arch/sparc/math-emu/fcmped.c
Next file: linux/arch/sparc/math-emu/fcmpeq.c
Previous file: linux/arch/sparc/math-emu/fcmpd.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Wed Dec 31 16:00:00 1969
- Orig file:
v2.2.13/linux/arch/sparc/math-emu/fcmped.c
- Orig date:
Wed Mar 10 16:53:36 1999
diff -u --recursive --new-file v2.2.13/linux/arch/sparc/math-emu/fcmped.c linux/arch/sparc/math-emu/fcmped.c
@@ -1,18 +0,0 @@
-#include "soft-fp.h"
-#include "double.h"
-
-int FCMPED(void *rd, void *rs2, void *rs1)
-{
- FP_DECL_D(A); FP_DECL_D(B);
- long ret;
- unsigned long *fsr = rd;
-
- __FP_UNPACK_D(A, rs1);
- __FP_UNPACK_D(B, rs2);
- FP_CMP_D(ret, B, A, 2);
- if (ret == -1)
- ret = 2;
-
- *fsr = (*fsr & ~0xc00) | (ret << 10);
- return 0;
-}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)