Home
last modified time | relevance | path

Searched refs:srcp2 (Results 1 – 9 of 9) sorted by relevance

/arch/parisc/math-emu/
Dfcnvxf.c187 unsigned int result = 0, srcp2; in dbl_to_sgl_fcnvxf() local
189 Dint_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_sgl_fcnvxf()
195 Dint_negate(srcp1,srcp2); in dbl_to_sgl_fcnvxf()
200 if (srcp1 == 0 && srcp2 == 0) { in dbl_to_sgl_fcnvxf()
216 Find_ms_one_bit(srcp2,dst_exponent); in dbl_to_sgl_fcnvxf()
219 srcp1 = srcp2 << dst_exponent; in dbl_to_sgl_fcnvxf()
220 srcp2 = 0; in dbl_to_sgl_fcnvxf()
223 srcp1 = srcp2 >> 1; in dbl_to_sgl_fcnvxf()
224 srcp2 <<= 31; in dbl_to_sgl_fcnvxf()
242 Variable_shift_double(srcp1,srcp2,(32-dst_exponent), in dbl_to_sgl_fcnvxf()
[all …]
Dfcnvuf.c166 unsigned int srcp1, srcp2, result = 0; in dbl_to_sgl_fcnvuf() local
168 Duint_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_sgl_fcnvuf()
171 if (srcp1 == 0 && srcp2 == 0) { in dbl_to_sgl_fcnvuf()
186 Find_ms_one_bit(srcp2,dst_exponent); in dbl_to_sgl_fcnvuf()
188 srcp1 = srcp2 << dst_exponent+1; in dbl_to_sgl_fcnvuf()
189 srcp2 = 0; in dbl_to_sgl_fcnvuf()
206 Variable_shift_double(srcp1,srcp2,(31-dst_exponent), in dbl_to_sgl_fcnvuf()
208 srcp2 <<= dst_exponent+1; in dbl_to_sgl_fcnvuf()
215 if (Duint_isinexact_to_sgl(srcp1,srcp2)) { in dbl_to_sgl_fcnvuf()
223 Sgl_roundnearest_from_duint(srcp1,srcp2,result); in dbl_to_sgl_fcnvuf()
[all …]
Ddfsqrt.c57 register unsigned int srcp1, srcp2, resultp1, resultp2; in dbl_fsqrt() local
62 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_fsqrt()
82 Dbl_isnotzero_mantissa(srcp1,srcp2)) { in dbl_fsqrt()
83 Dbl_copytoptr(srcp1,srcp2,dstptr); in dbl_fsqrt()
91 if (Dbl_iszero_exponentmantissa(srcp1,srcp2)) { in dbl_fsqrt()
92 Dbl_copytoptr(srcp1,srcp2,dstptr); in dbl_fsqrt()
104 Dbl_makequietnan(srcp1,srcp2); in dbl_fsqrt()
105 Dbl_copytoptr(srcp1,srcp2,dstptr); in dbl_fsqrt()
120 Dbl_normalize(srcp1,srcp2,src_exponent); in dbl_fsqrt()
126 Dbl_leftshiftby1(srcp1,srcp2); in dbl_fsqrt()
[all …]
Dfcnvfxt.c203 register unsigned int srcp1, srcp2, tempp1, tempp2; in dbl_to_sgl_fcnvfxt() local
206 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_sgl_fcnvfxt()
214 if (Dbl_isoverflow_to_int(src_exponent,srcp1,srcp2)) { in dbl_to_sgl_fcnvfxt()
231 tempp2 = srcp2; in dbl_to_sgl_fcnvfxt()
240 if (Dbl_isinexact_to_fix(srcp1,srcp2,src_exponent)) { in dbl_to_sgl_fcnvfxt()
249 if (Dbl_isnotzero_exponentmantissa(srcp1,srcp2)) { in dbl_to_sgl_fcnvfxt()
269 register unsigned int srcp1, srcp2, tempp1, tempp2, resultp2; in dbl_to_dbl_fcnvfxt() local
271 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_dbl_fcnvfxt()
280 Dbl_isnotzero_mantissa(srcp1,srcp2) || Dbl_iszero_sign(srcp1)) { in dbl_to_dbl_fcnvfxt()
302 tempp2 = srcp2; in dbl_to_dbl_fcnvfxt()
[all …]
Dfcnvfx.c282 register unsigned int srcp1,srcp2, tempp1,tempp2; in dbl_to_sgl_fcnvfx() local
286 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_sgl_fcnvfx()
294 if (Dbl_isoverflow_to_int(src_exponent,srcp1,srcp2)) { in dbl_to_sgl_fcnvfx()
311 tempp2 = srcp2; in dbl_to_sgl_fcnvfx()
319 if (Dbl_isinexact_to_fix(srcp1,srcp2,src_exponent)) { in dbl_to_sgl_fcnvfx()
330 if (Dbl_isone_roundbit(srcp1,srcp2,src_exponent)) in dbl_to_sgl_fcnvfx()
331 if (Dbl_isone_stickybit(srcp1,srcp2,src_exponent) || in dbl_to_sgl_fcnvfx()
356 if (Dbl_isnotzero_exponentmantissa(srcp1,srcp2)) { in dbl_to_sgl_fcnvfx()
368 if (Dbl_isnotzero_mantissa(srcp1,srcp2)) in dbl_to_sgl_fcnvfx()
394 register unsigned int srcp1, srcp2, tempp1, tempp2, resultp2; in dbl_to_dbl_fcnvfx() local
[all …]
Dfrnd.c158 register unsigned int srcp1, srcp2, resultp1, resultp2; in dbl_frnd() local
162 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_frnd()
180 Dbl_copytoptr(srcp1,srcp2,dstptr); in dbl_frnd()
187 Dbl_copytoptr(srcp1,srcp2,dstptr); in dbl_frnd()
196 resultp2 = srcp2; in dbl_frnd()
199 if (Dbl_isinexact_to_fix(srcp1,srcp2,src_exponent)) { in dbl_frnd()
212 if (Dbl_isone_roundbit(srcp1,srcp2,src_exponent)) in dbl_frnd()
213 if (Dbl_isone_stickybit(srcp1,srcp2,src_exponent) in dbl_frnd()
227 if (Dbl_isnotzero_exponentmantissa(srcp1,srcp2)) { in dbl_frnd()
241 if (Dbl_isnotzero_mantissa(srcp1,srcp2)) in dbl_frnd()
Dfcnvfu.c304 register unsigned int srcp1, srcp2, result; in dbl_to_sgl_fcnvfu() local
308 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_sgl_fcnvfu()
345 Suint_from_dbl_mantissa(srcp1,srcp2,src_exponent,result); in dbl_to_sgl_fcnvfu()
348 if (Dbl_isinexact_to_unsigned(srcp1,srcp2,src_exponent)) { in dbl_to_sgl_fcnvfu()
358 if(Dbl_isone_roundbit(srcp1,srcp2,src_exponent) && in dbl_to_sgl_fcnvfu()
359 (Dbl_isone_stickybit(srcp1,srcp2,src_exponent)|| in dbl_to_sgl_fcnvfu()
379 if (Dbl_isnotzero_exponentmantissa(srcp1,srcp2)) { in dbl_to_sgl_fcnvfu()
398 Dbl_isnotzero_mantissa(srcp1,srcp2)) in dbl_to_sgl_fcnvfu()
428 register unsigned int srcp1, srcp2, resultp1, resultp2; in dbl_to_dbl_fcnvfu() local
431 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_dbl_fcnvfu()
[all …]
Dfcnvfut.c202 register unsigned int srcp1, srcp2, result; in dbl_to_sgl_fcnvfut() local
205 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_sgl_fcnvfut()
242 Suint_from_dbl_mantissa(srcp1,srcp2,src_exponent,result); in dbl_to_sgl_fcnvfut()
246 if (Dbl_isinexact_to_unsigned(srcp1,srcp2,src_exponent)) { in dbl_to_sgl_fcnvfut()
255 if (Dbl_isnotzero_exponentmantissa(srcp1,srcp2)) { in dbl_to_sgl_fcnvfut()
272 register unsigned int srcp1, srcp2, resultp1, resultp2; in dbl_to_dbl_fcnvfut() local
274 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_dbl_fcnvfut()
311 Duint_from_dbl_mantissa(srcp1,srcp2,src_exponent, in dbl_to_dbl_fcnvfut()
316 if (Dbl_isinexact_to_unsigned(srcp1,srcp2,src_exponent)) { in dbl_to_dbl_fcnvfut()
326 if (Dbl_isnotzero_exponentmantissa(srcp1,srcp2)) { in dbl_to_dbl_fcnvfut()
Dfcnvff.c147 register unsigned int srcp1, srcp2, result; in dbl_to_sgl_fcnvff() local
153 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_sgl_fcnvff()
163 if (Dbl_iszero_mantissa(srcp1,srcp2)) { in dbl_to_sgl_fcnvff()
187 Sgl_set_mantissa(result,Dallp1(srcp1)<<3 | Dallp2(srcp2)>>29); in dbl_to_sgl_fcnvff()
197 Dbl_to_sgl_mantissa(srcp1,srcp2,dest_mantissa,inexact,guardbit, in dbl_to_sgl_fcnvff()
201 if (Dbl_iszero_exponentmantissa(srcp1,srcp2)){ in dbl_to_sgl_fcnvff()
207 Dbl_to_sgl_mantissa(srcp1,srcp2,dest_mantissa,inexact, in dbl_to_sgl_fcnvff()
214 Dbl_to_sgl_denormalized(srcp1,srcp2,dest_exponent, in dbl_to_sgl_fcnvff()