Lines Matching defs:shift
244 uint64_t shift;
260 * ctm_offset % NBBY itself is the amount we want to shift right to
267 * properties are used to compute shift as USHIFT or SSHIFT, below.
271 shift = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBBY) * NBBY -
274 shift = mp->ctm_offset % NBBY + e.cte_bits;
276 dt_cg_setx(dlp, r2, 64 - shift);
285 shift = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBBY) * NBBY -
288 shift = mp->ctm_offset % NBBY;
290 dt_cg_setx(dlp, r2, shift);
328 uint64_t cmask, fmask, shift;
365 * Compute shifts and masks. We need to compute "shift" as the amount
366 * we need to shift left to position our field in the containing word.
373 shift = clp2(P2ROUNDUP(e.cte_bits, NBBY) / NBBY) * NBBY -
376 shift = m.ctm_offset % NBBY;
379 cmask = ~(fmask << shift);
393 dt_cg_setx(dlp, r3, shift);
465 * a scalar type is being narrowed or changing signed-ness. We first shift the
466 * desired bits high (losing excess bits if narrowing) and then shift them down
467 * using logical shift (unsigned result) or arithmetic shift (signed result).