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 */
17 ENTRY (BP_SYM (__remquof))
27 /* Compute the congruent of the quotient. */
38 CHECK_BOUNDS_BOTH_WIDE (%ecx, QUOP(%esp), $4)
39 movl DVDND(%esp), %edx
40 xorl DVSOR(%esp), %edx
41 testl $0x80000000, %edx
48 END (BP_SYM (__remquof))
49 weak_alias (BP_SYM (__remquof), BP_SYM (remquof))