[lkml]   [2001]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
> > uninlining the code is too high a cost.
> I question that. Athlon does branch prediction on call targets, function
> calls are cheap. 3dnow saves 25%-50% of cycles on a copy. How many function
> calls can be paid for with 1000 cycles or so?
> My patch still inlines the standard string const_memcpy for the case of
> small known length.

We have a very large number of memcpy's of unknown short length (often in
interrupts) that are close to branches. A lot of

stuff for example.

Im more than happy for someone to do the benches and prove me wrong

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:27    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean