Subject: Re: CVS commit: syssrc/sys/lib/libkern/arch/m68k
To: Matt Fredette <fredette@theory.lcs.mit.edu>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: source-changes
Date: 03/22/2002 16:30:51
On Fri, Mar 22, 2002 at 04:37:08PM -0500, Matt Fredette wrote:
> I need the 32-bit multiply and divide support functions
> __mulsi3, __divsi3, __udivsi3, __modsi3, and __umodsi3.
For __divsi3, __udivsi3, __modsi3, and __umodsi3, you could adapt
the divrem stuff that the SPARC port uses. This was also done for
the Alpha port.
SPARC port also has a mul.S and umul.S.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>