Date: Wed, 1 Nov 2000 09:46:19 -0500
   From: [EMAIL PROTECTED]

   On Mon, Oct 30, 2000 at 05:14:34PM +0100, Martin Dalecki wrote:
   > Of corse right! BTW. There are tons of places where log2 is calculated
   > explicitly in kernel which should be replaced with the corresponding
   > built 
   > in functions as well (/dev/random code does it). And then If I remember
   > correctly
   > there is an attribute which is telling about internal functions
   > in declarations explicitly as well?


And in the case of /dev/random, since we know something about what the
possible inputs can be, I'm fairly certain that the "int_ln_12bits" used
by /dev/random is probably far better than the general purpose code
which GCC no doubt has to emit....

                                                - Ted
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to