On Fri, 8 Jun 2001, Pavel Machek wrote: > That modulo is likely slower than dereference. > > > + if (count % 256 == 0) { You are forgetting that this case should be converted to and 255 or a plain byte reference by any optimizing compiler - and gcc surely is, on x86 this code can be reduced to around 2 cycles (Pentium: mov, or, jnz, with preceding code intertwined to cancel stalls and jnz being likely in the code buffer)... Maciek - 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/
- Re: Break 2.4 VM in five easy steps LA Walsh
- Re: Break 2.4 VM in five easy st... Eric W. Biederman
- Re: Break 2.4 VM in five eas... LA Walsh
- Re: Break 2.4 VM in five eas... Eric W. Biederman
- Re: Break 2.4 VM in five eas... LA Walsh
- Re: Break 2.4 VM in five eas... Pavel Machek
- Re: Break 2.4 VM in five easy steps Rik van Riel
- Re: Break 2.4 VM in five easy steps Bernd Jendrissek
- Re: Break 2.4 VM in five easy steps Bernd Jendrissek
- Re: Break 2.4 VM in five easy steps Pavel Machek
- Re: Break 2.4 VM in five easy steps Maciej Zenczykowski
- Re: Break 2.4 VM in five easy steps Rik van Riel
- Re: Break 2.4 VM in five easy steps Bernd Jendrissek
- Re: Break 2.4 VM in five easy steps Bulent Abali
- Re: Break 2.4 VM in five easy steps Mike Galbraith
- Re: Break 2.4 VM in five easy steps C. Martins
- Re: Break 2.4 VM in five easy steps Rob Landley