1 >> 32 // = 1
1 >> 64 // = 1
1 >> 128 // = 1
2 >> 32 // = 2
1 >> 128 // = 1
2 >> 32 // = 2
2 >> 64 // = 2
1 >> 31 // = 0
1 >> 63 // = 0
1 >> 127 // = 0
2 >> 31 // = 0
2 >> 63 // = 0
Let shiftCount be the result of masking out all but the least significant 5 bits of rnum, that is, compute rnum & 0x1F.