Lines Matching defs:shift
315 // rm, {<shift> #<shift_amount>}
316 // where <shift> is one of {LSL, LSR, ASR, ROR}.
321 Shift shift = LSL,
335 // This returns an LSL shift (<= 4) operand as an equivalent extend operand,
362 VIXL_DEPRECATED("GetShift", Shift shift() const) { return GetShift(); }
399 Shift shift = LSL,
422 // Extend modes can also encode a shift for some instructions.
538 VIXL_ASSERT(mod_ != SVE_LSL); // LSL requires an explicit shift amount.
677 // No-shift is equivalent to "LSL #0".
689 SVEOffsetModifier GetSVEOffsetModifierFor(Shift shift) {
690 if (shift == LSL) return SVE_LSL;
691 if (shift == NO_SHIFT) return NO_SVE_OFFSET_MODIFIER;
692 // SVE does not accept any other shift.
829 // Reverse the specified left-shift.
856 // As above, but `kShift` is written to the `*shift` parameter on success, so
859 // if (imm.TryEncodeAsShiftedIntNForLane<8, 0>(zd, &imm8, &shift) ||
860 // imm.TryEncodeAsShiftedIntNForLane<8, 8>(zd, &imm8, &shift)) {
861 // insn(zd, imm8, shift)
866 S* shift) const {
868 *shift = kShift;
903 S* shift) const {
905 *shift = kShift;
921 void ArithmeticShiftRight(int shift) {
922 VIXL_ASSERT((shift >= 0) && (shift < 64));
923 if (shift == 0) return;
925 raw_bits_ = ExtractSignedBitfield64(63, shift, raw_bits_);
927 raw_bits_ >>= shift;