shiftl8 function

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

Implementation

int shiftl8(int x, int n) {
  assert((x >= 0) && (x <= _MASK_8));
  return (x << (n & _MASK_3)) & _MASK_8;
}