2 * Written by Ulrich Drepper <drepper@cygnus.com>.
3 * Based on e_remainder by J.T. Conklin <jtc@netbsd.org>.
7 #include <machine/asm.h>
11 #define PARMS LINKAGE /* no space for saved regs */
13 #define DVSOR DVDND+12
17 ENTRY (BP_SYM (__remquol))
27 /* Compute the congruent of the quotient. */
34 leal (%ecx,%ecx,2),%ecx
39 CHECK_BOUNDS_BOTH_WIDE (%ecx, QUOP(%esp), $4)
40 movl DVDND+8(%esp), %edx
41 xorl DVSOR+8(%esp), %edx
49 END (BP_SYM (__remquol))
50 weak_alias (BP_SYM (__remquol), BP_SYM (remquol))