B
BartC
Scott Fluhrer said:Minor nit: unless the compiler can prove that the lower 10 bits of x is
zero, it'd have to do something like:
if ( (x & 0x3ff) != 0) {
More of a major nit if it doesn't work! Then the compiler would have to do
more work to decide whether the optimisation is worth doing.