On Thu, Apr 05, 2001 at 01:26:32PM +0100, David Woodhouse wrote:
> [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to