Home | History | Annotate | Download | only in arm64

Lines Matching defs:sign

877   // Overflow iff the sign bit is the same for the two inputs and different
2097 // Extract and sign- or zero-extend 32-bit arguments for widening operations.
2150 // If extend is true, extend the sign of the extracted bitfield.
2174 // Determine the sign extension.
2179 // Merge sign extension, dest/zero and bitfield.
2279 // the sign- or zero-extension will not affect the conversion.
2311 // the sign- or zero-extension will not affect the conversion.
2488 // sign: 0 = positive, 1 = negative
2502 static T FPRound(int64_t sign, int64_t exponent, uint64_t mantissa,
2504 DCHECK((sign == 0) || (sign == 1));
2568 return static_cast<T>(sign << sign_offset);
2585 return static_cast<T>((sign << sign_offset) |
2610 return static_cast<T>(sign << sign_offset);
2630 static_cast<T>((sign << sign_offset) | (exponent << exponent_offset) |
2646 return static_cast<T>((sign << sign_offset) |
2654 static inline double FPRoundToDouble(int64_t sign, int64_t exponent,
2657 FPRound<int64_t, kDoubleExponentBits, kDoubleMantissaBits>(sign,
2666 static inline float FPRoundToFloat(int64_t sign, int64_t exponent,
2669 FPRound<int32_t, kFloatExponentBits, kFloatMantissaBits>(sign,
2795 // - The sign is propagated.
2801 uint64_t sign = raw >> 31;
2807 return rawbits_to_double((sign << 63) | (exponent << 52) | payload);
2836 // - The sign is propagated.
2841 uint32_t sign = raw >> 63;
2847 return rawbits_to_float((sign << 31) | (exponent << 23) | payload);
2863 uint32_t sign = raw >> 63;
2872 return FPRoundToFloat(sign, exponent, mantissa, round_mode);
2993 // a and b are zero, and the sign differs: return +0.0.
3020 // a and b are zero, and the sign differs: return -0.0.
3082 // Work around broken fma implementations for exact zero results: The sign of
3092 // 0.0, the sign of the result is the sign of op1 * op2 before rounding.