Integer shift, xor, and log2 intrinsic and inlined operations