[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/arch/i386/stand/lib
On Sat, Dec 25, 2010 at 01:27:43AM +0000, Jonathan A. Kollasch wrote:
> > >
> > > libsa's printf(3) doesn't support %lld unless
> > > -DLIBSA_PRINTF_LONGLONG_SUPPORT is specified.
> > True, that but it's not like this code path is often compiled.
> > I should probably at least add the necessary gunk commented out
> > in the makefile.
> That has the problem that I can't find a nice way to enable
> 64-bit division runtime support in the amd64 libkern compiled
> for i386.
It is fairly easy to write the printf code so that it can convert
long long to decimal without requiring the 64bit division code
(or any division code!).
(Similarly you can avoid the double-word shifts for %x.)
David Laight: david%l8s.co.uk@localhost
Main Index |
Thread Index |