Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: syssrc/sys/lib/libkern/arch/m68k



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@localhost>



Home | Main Index | Thread Index | Old Index