Lines Matching refs:res_ptr
33 __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size, in __mpn_extract_long_double() argument
44 res_ptr[0] = u.ieee.mantissa3; /* Low-order 32 bits of fraction. */ in __mpn_extract_long_double()
45 res_ptr[1] = u.ieee.mantissa2; in __mpn_extract_long_double()
46 res_ptr[2] = u.ieee.mantissa1; in __mpn_extract_long_double()
47 res_ptr[3] = u.ieee.mantissa0; /* High-order 32 bits. */ in __mpn_extract_long_double()
52 res_ptr[0] = ((mp_limb_t) u.ieee.mantissa2 << 32) | u.ieee.mantissa3; in __mpn_extract_long_double()
53 res_ptr[1] = ((mp_limb_t) u.ieee.mantissa0 << 32) | u.ieee.mantissa1; in __mpn_extract_long_double()
66 if (res_ptr[0] == 0 && res_ptr[1] == 0 in __mpn_extract_long_double()
67 && res_ptr[N - 2] == 0 && res_ptr[N - 1] == 0) /* Assumes N<=4. */ in __mpn_extract_long_double()
77 if (res_ptr[N - 1] != 0) in __mpn_extract_long_double()
79 count_leading_zeros (cnt, res_ptr[N - 1]); in __mpn_extract_long_double()
81 res_ptr[N - 1] = res_ptr[N - 1] << cnt in __mpn_extract_long_double()
82 | (res_ptr[0] >> (BITS_PER_MP_LIMB - cnt)); in __mpn_extract_long_double()
83 res_ptr[0] <<= cnt; in __mpn_extract_long_double()
88 count_leading_zeros (cnt, res_ptr[0]); in __mpn_extract_long_double()
91 res_ptr[N - 1] = res_ptr[0] << (cnt - NUM_LEADING_ZEROS); in __mpn_extract_long_double()
92 res_ptr[0] = 0; in __mpn_extract_long_double()
96 res_ptr[N - 1] = res_ptr[0] >> (NUM_LEADING_ZEROS - cnt); in __mpn_extract_long_double()
97 res_ptr[0] <<= BITS_PER_MP_LIMB - (NUM_LEADING_ZEROS - cnt); in __mpn_extract_long_double()
106 if (res_ptr[j] != 0) in __mpn_extract_long_double()
109 count_leading_zeros (cnt, res_ptr[j]); in __mpn_extract_long_double()
119 res_ptr[k] = res_ptr[k-l]; in __mpn_extract_long_double()
123 res_ptr[k] = res_ptr[k-l] << cnt in __mpn_extract_long_double()
124 | res_ptr[k-l-1] >> (BITS_PER_MP_LIMB - cnt); in __mpn_extract_long_double()
125 res_ptr[k--] = res_ptr[0] << cnt; in __mpn_extract_long_double()
129 res_ptr[k] = 0; in __mpn_extract_long_double()
136 res_ptr[N - 1] |= (mp_limb_t) 1 << (LDBL_MANT_DIG - 1 in __mpn_extract_long_double()