What is the difference here? A division by four should be equivalent to a shift to the right by two bits (and hopefully the compiler does the shift instead of the arithmetic division).