improved bit-wise operations with literal RHS