Lines Matching refs:shift_amount
663 shl_vbits(vbits_t v, unsigned shift_amount)
665 assert(shift_amount < v.num_bits);
670 case 8: new.bits.u8 <<= shift_amount; break;
671 case 16: new.bits.u16 <<= shift_amount; break;
672 case 32: new.bits.u32 <<= shift_amount; break;
673 case 64: new.bits.u64 <<= shift_amount; break;
685 shr_vbits(vbits_t v, unsigned shift_amount)
687 assert(shift_amount < v.num_bits);
692 case 8: new.bits.u8 >>= shift_amount; break;
693 case 16: new.bits.u16 >>= shift_amount; break;
694 case 32: new.bits.u32 >>= shift_amount; break;
695 case 64: new.bits.u64 >>= shift_amount; break;
707 sar_vbits(vbits_t v, unsigned shift_amount)
709 assert(shift_amount < v.num_bits);
716 new.bits.u8 >>= shift_amount;
720 new.bits.u16 >>= shift_amount;
724 new.bits.u32 >>= shift_amount;
728 new.bits.u64 >>= shift_amount;