Re: which gcc version?

Matti Aarnio (matti.aarnio@zmailer.org)
Thu, 5 Apr 2001 15:31:45 +0300


On Thu, Apr 05, 2001 at 01:26:32PM +0100, David Woodhouse wrote:
> matti.aarnio@zmailer.org said:
> > To think of it, there really should be explicitely callable
> > versions of these with LinuxKernel names for them, not gcc
> > builtins.  That way people would *know* they are doing
> > something, which is potentially very slow.
> > (And the API would not change from underneath them.)
>
> Like include/asm-*/div64.h::do_div()?

Like that (*) - but that has limited value spaces,
the divider can be at most 32 bits, probably far less.

> --
> dwmw2

/Matti Aarnio

(*) Trying to recall when I, and few others, created that beast.
The divisor code in itself isn't mine, but the idea of supporting
%Ld at printk() most definitely is..
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/