[lkml]   [2003]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] only use 48-bit lba when necessary
Matt Mackall wrote:

>FYI, GCC as of 3.2.3 doesn't yet reduce the if(...) form to branchless
>code but the & and && versions come out the same with -O2.

The operands of & can be evaluated in any order, while && requires
left-to-right and does not evaluate the right operand if the left one
is false. Only the simplest cases could possibly generate the same

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    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean