rotr32 function

int rotr32(
  1. int x,
  2. int n
)

Implementation

int rotr32(int x, int n) {
  assert(n >= 0);
  assert((x >= 0) && (x <= _MASK_32));
  n &= _MASK_5;
  return (x >> n) | shiftl32(x, 32 - n);
}