Lines Matching refs:res_ptr
38 __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size, in __mpn_extract_long_double() argument
99 res_ptr[0] = lo >> EXTRA_INTERNAL_PRECISION; in __mpn_extract_long_double()
100 res_ptr[1] = (hi << (53 - 32)) | (lo >> (32 + EXTRA_INTERNAL_PRECISION)); in __mpn_extract_long_double()
101 res_ptr[2] = hi >> 11; in __mpn_extract_long_double()
102 res_ptr[3] = hi >> (32 + 11); in __mpn_extract_long_double()
106 res_ptr[0] = (hi << 53) | (lo >> EXTRA_INTERNAL_PRECISION); in __mpn_extract_long_double()
107 res_ptr[1] = hi >> 11; in __mpn_extract_long_double()
120 if (res_ptr[0] == 0 && res_ptr[1] == 0 in __mpn_extract_long_double()
121 && res_ptr[N - 2] == 0 && res_ptr[N - 1] == 0) /* Assumes N<=4. */ in __mpn_extract_long_double()
134 if (res_ptr[N - 1] != 0) in __mpn_extract_long_double()
136 count_leading_zeros (cnt, res_ptr[N - 1]); in __mpn_extract_long_double()
138 res_ptr[N - 1] = res_ptr[N - 1] << cnt in __mpn_extract_long_double()
139 | (res_ptr[0] >> (BITS_PER_MP_LIMB - cnt)); in __mpn_extract_long_double()
140 res_ptr[0] <<= cnt; in __mpn_extract_long_double()
145 count_leading_zeros (cnt, res_ptr[0]); in __mpn_extract_long_double()
148 res_ptr[N - 1] = res_ptr[0] << (cnt - NUM_LEADING_ZEROS); in __mpn_extract_long_double()
149 res_ptr[0] = 0; in __mpn_extract_long_double()
153 res_ptr[N - 1] = res_ptr[0] >> (NUM_LEADING_ZEROS - cnt); in __mpn_extract_long_double()
154 res_ptr[0] <<= BITS_PER_MP_LIMB - (NUM_LEADING_ZEROS - cnt); in __mpn_extract_long_double()
163 if (res_ptr[j] != 0) in __mpn_extract_long_double()
166 count_leading_zeros (cnt, res_ptr[j]); in __mpn_extract_long_double()
176 res_ptr[k] = res_ptr[k-l]; in __mpn_extract_long_double()
180 res_ptr[k] = res_ptr[k-l] << cnt in __mpn_extract_long_double()
181 | res_ptr[k-l-1] >> (BITS_PER_MP_LIMB - cnt); in __mpn_extract_long_double()
182 res_ptr[k--] = res_ptr[0] << cnt; in __mpn_extract_long_double()
186 res_ptr[k] = 0; in __mpn_extract_long_double()
193 res_ptr[N - 1] |= (mp_limb_t) 1 << (LDBL_MANT_DIG - 1 in __mpn_extract_long_double()