Lines Matching defs:shift
63 // Ensure that shift operations act as the simulator expects.
1024 int64_t shift = instr->ShiftMoveWide() * 16;
1025 int64_t shifted_imm16 = instr->ImmMoveWide() << shift;
1041 (prev_xn_val & ~(INT64_C(0xffff) << shift)) | shifted_imm16;
1213 unsigned shift = wreg(instr->Rm()) & mask;
1215 shift);
1223 // It assumes that a right shift on a signed integer is an arithmetic shift.
1684 // mantissa = (mantissa >> shift) + halfbit(adjusted);
1715 // Calculate the shift required to move the top mantissa bit to the proper
1718 int shift = highest_significant_bit - mbits;
1723 // For subnormal outputs, the shift must be adjusted by the exponent. The +1
1726 shift += -exponent + 1;
1731 // result. A shift of exactly highest_significant_bit+1 might produce a
1733 if (shift > (highest_significant_bit + 1)) {
1746 if (shift > 0) {
1747 // We have to shift the mantissa to the right. Some precision is lost, so we
1749 uint64_t onebit_mantissa = (mantissa >> (shift)) & 1;
1750 uint64_t halfbit_mantissa = (mantissa >> (shift-1)) & 1;
1752 T halfbit_adjusted = (adjusted >> (shift-1)) & 1;
1756 ((mantissa >> shift) << mantissa_offset);
1768 // We have to shift the mantissa to the left (or not at all). The input
1773 ((mantissa << -shift) << mantissa_offset);