Home | History | Annotate | Download | only in vbit-test

Lines Matching full:shift_amount

697 shl_vbits(vbits_t v, unsigned shift_amount)
699 assert(shift_amount < v.num_bits);
704 case 8: new.bits.u8 <<= shift_amount; break;
705 case 16: new.bits.u16 <<= shift_amount; break;
706 case 32: new.bits.u32 <<= shift_amount; break;
707 case 64: new.bits.u64 <<= shift_amount; break;
719 shr_vbits(vbits_t v, unsigned shift_amount)
721 assert(shift_amount < v.num_bits);
726 case 8: new.bits.u8 >>= shift_amount; break;
727 case 16: new.bits.u16 >>= shift_amount; break;
728 case 32: new.bits.u32 >>= shift_amount; break;
729 case 64: new.bits.u64 >>= shift_amount; break;
741 sar_vbits(vbits_t v, unsigned shift_amount)
743 assert(shift_amount < v.num_bits);
750 new.bits.u8 >>= shift_amount;
754 new.bits.u16 >>= shift_amount;
758 new.bits.u32 >>= shift_amount;
762 new.bits.u64 >>= shift_amount;