
9 Oct
2009
9 Oct
'09
12:21 p.m.
On Friday 09 October 2009 05:12:20 Alessandro Rubini wrote:
- /* while all data is aligned (common case), copy a word at a time */
- if ( (((ulong)dest | (ulong)src | count) & (sizeof(*dl) - 1)) == 0) {
i think you want to drop the count from the list, otherwise we dont consume the leading groups of 4 bytes if count isnt a multiple of 4.
otherwise, it's pretty crazy how generic yet optimized the resulting C should be :). acked-by-me. -mike