Despite me being convinced that the use of divide didn't produce any
divide instructions, it does in fact add more instructions than using
a plain shift operation.
This patch simply changes the divide to a shift right, with an
assert to check that the "divisor" is a power of two.
Would it be better to use an if-else to handle the powerOf2 and the other case?
For the types handled now, I think REAL(KIND=10) 80-bit extended precision with explicit normalization bit (15e64m) will not be a power of 2.