Lines Matching defs:shamt
109 static uint32_t rtne_shift32(uint32_t inp, uint32_t shamt)
111 uint32_t vl1 = UINT32_C(1) << shamt;
113 uint32_t msk = (inp | UINT32_C(1)) & vl1; /* nonzero if odd. '| 1' forces it to 1 if the shamt is 0. */
116 inp2 >>= shamt;
120 static uint32_t rtna_shift32(uint32_t inp, uint32_t shamt)
122 uint32_t vl1 = (UINT32_C(1) << shamt) >> 1;
124 inp >>= shamt;
128 static uint32_t rtup_shift32(uint32_t inp, uint32_t shamt)
130 uint32_t vl1 = UINT32_C(1) << shamt;
133 inp >>= shamt;