x |= x >> 1; x |= x >> 2; x |= x >> 4; x |= x >> 8; x |= x >> 16; x |= x >> 32;
I feel like this should be
x |= x >> 1 | x >> ??? ...
By data races I assume you actually mean data dependencies?
By data races I assume you actually mean data dependencies?