Lines Matching defs:shift
405 // Perform 16-bit shift, then mask away low bits.
411 uint8_t shift = truncate_to_int3(src2);
412 Psllw(dst, src1, byte{shift});
414 uint8_t bmask = static_cast<uint8_t>(0xff << shift);
429 // Take shift value modulo 8.
454 uint8_t shift = truncate_to_int3(src2) + 8;
458 Psraw(tmp, shift);
459 Psraw(dst, shift);
473 // Prepare shift value
475 // Take shift value modulo 8.
494 // Perform 16-bit shift, then mask away high bits.
495 uint8_t shift = truncate_to_int3(src2);
496 Psrlw(dst, src1, shift);
498 uint8_t bmask = 0xff >> shift;
516 // Prepare shift value.
518 // Take shift value modulo 8.
926 uint8_t shift, XMMRegister xmm_tmp) {
928 DCHECK_GT(64, shift);
931 // Use logical right shift to emulate arithmetic right shifts:
951 // Logically shift both value and bias.
952 Psrlq(dst, shift);
953 Psrlq(xmm_tmp, shift);
959 Register shift, XMMRegister xmm_tmp,
967 // tmp_shift can alias shift since we don't use shift after masking it.
969 // See I64x2ShrS with constant shift for explanation of this algorithm.
974 Move(tmp_shift, shift);
1004 // 3. Add 1 and 2, then shift left by 32 (this is the high dword of result).