Lines Matching refs:shift_amount
969 shl_vbits(vbits_t v, unsigned shift_amount) in shl_vbits() argument
971 assert(shift_amount < v.num_bits); in shl_vbits()
976 case 8: new.bits.u8 <<= shift_amount; break; in shl_vbits()
977 case 16: new.bits.u16 <<= shift_amount; break; in shl_vbits()
978 case 32: new.bits.u32 <<= shift_amount; break; in shl_vbits()
979 case 64: new.bits.u64 <<= shift_amount; break; in shl_vbits()
991 shr_vbits(vbits_t v, unsigned shift_amount) in shr_vbits() argument
993 assert(shift_amount < v.num_bits); in shr_vbits()
998 case 8: new.bits.u8 >>= shift_amount; break; in shr_vbits()
999 case 16: new.bits.u16 >>= shift_amount; break; in shr_vbits()
1000 case 32: new.bits.u32 >>= shift_amount; break; in shr_vbits()
1001 case 64: new.bits.u64 >>= shift_amount; break; in shr_vbits()
1013 sar_vbits(vbits_t v, unsigned shift_amount) in sar_vbits() argument
1015 assert(shift_amount < v.num_bits); in sar_vbits()
1022 new.bits.u8 >>= shift_amount; in sar_vbits()
1026 new.bits.u16 >>= shift_amount; in sar_vbits()
1030 new.bits.u32 >>= shift_amount; in sar_vbits()
1034 new.bits.u64 >>= shift_amount; in sar_vbits()