int shiftl32(int x, int n) { assert((x >= 0) && (x <= mask32)); n &= mask5; x &= maskHiBits[n]; return ((x << n) & mask32); }