patch-2.2.18 linux/arch/alpha/math-emu/sfp-util.h
Next file: linux/arch/alpha/vmlinux.lds
Previous file: linux/arch/alpha/math-emu/qrnnd.S
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Sun Oct 1 19:12:21 2000
- Orig file:
v2.2.17/arch/alpha/math-emu/sfp-util.h
- Orig date:
Fri Apr 21 12:45:45 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/arch/alpha/math-emu/sfp-util.h linux/arch/alpha/math-emu/sfp-util.h
@@ -17,18 +17,13 @@
: "r" ((UDItype)(u)), \
"r" ((UDItype)(v)))
-extern void udiv128(unsigned long, unsigned long,
- unsigned long, unsigned long,
- unsigned long *,
- unsigned long *);
-
-#define udiv_qrnnd(q, r, n1, n0, d) \
- do { \
- unsigned long xr, xi; \
- udiv128((n0), (n1), 0, (d), &xr, &xi); \
- (q) = xr; \
- (r) = xi; \
+#define udiv_qrnnd(q, r, n1, n0, d) \
+ do { unsigned long __r; \
+ (q) = __udiv_qrnnd (&__r, (n1), (n0), (d)); \
+ (r) = __r; \
} while (0)
+extern unsigned long __udiv_qrnnd (unsigned long *, unsigned long,
+ unsigned long , unsigned long);
#define UDIV_NEEDS_NORMALIZATION 1
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)