Lines Matching +full:llvm +full:- +full:11
1 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
2 // See https://llvm.org/LICENSE.txt for license information.
3 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 // This file implements the PowerPC 128-bit double-double -> uint64_t conversion
15 (uint32_t)(hibits.x >> 32) - UINT32_C(0x3ff00000); in __fixunstfdi()
17 // If (1.0 - tiny) <= input < 0x1.0p64: in __fixunstfdi()
23 result <<= 11; // mantissa(hi) left aligned in the int64 field. in __fixunstfdi()
25 // If the tail is non-zero, we need to patch in the tail bits. in __fixunstfdi()
34 tailMantissa = (tailMantissa ^ negationMask) - negationMask; in __fixunstfdi()
36 // Now we have the mantissa of tail as a signed 2s-complement integer in __fixunstfdi()
41 // bias of 11 that we shifted the head mantissa by. in __fixunstfdi()
43 (unbiasedHeadExponent - (biasedTailExponent - (1023 - 11))); in __fixunstfdi()
48 result >>= (63 - unbiasedHeadExponent); in __fixunstfdi()