[lkml]   [2003]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [BK+PATCH] remove __constant_memcpy
On Iau, 2003-04-17 at 01:57, Jeff Garzik wrote:
> The patch below is the conservative, obvious patch. It only kicks in
> when __builtin_constant_p() is true, and it only applies to the i386
> arch.

You are assuming the compiler is smart about stuff - it doesnt know
SSE/MMX for page copies etc. For small copies it should alays win, but
isn't it best if so to use __builtin_memcpy without our existing
macros not just trust the compiler ?

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

 \ /
  Last update: 2005-03-22 13:34    [W:0.051 / U:129.396 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site