lkml.org 
[lkml]   [2004]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mask ADT: bitmap and bitop tweaks [1/22]
William Lee Irwin III wrote:
> On Mon, Mar 29, 2004 at 03:06:16PM -0800, Matthew Dobson wrote:
>>If we're
>>not assuming the unused bits are 0's, then we need to do this last word
>>special casing in bitmap_xor & bitmap_andnot, because they could set the
>>unused bits. Or am I confused?
>
>
> No, not those two. xor of 0's is 0 again. and of 0 and anything is 0 again.

Huh? Xor of 0 and 1 is 1.

Chris
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [from the cache]
©2003-2011 Jasper Spaans