Home
last modified time | relevance | path

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

/linux/arch/parisc/math-emu/
A Ddfsqrt.c49 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_fsqrt()
68 if (Dbl_iszero_sign(srcp1) || in dbl_fsqrt()
79 Dbl_copytoptr(srcp1,srcp2,dstptr); in dbl_fsqrt()
86 if (Dbl_isone_sign(srcp1)) { in dbl_fsqrt()
91 Dbl_makequietnan(srcp1,srcp2); in dbl_fsqrt()
92 Dbl_copytoptr(srcp1,srcp2,dstptr); in dbl_fsqrt()
105 Dbl_clear_signexponent(srcp1); in dbl_fsqrt()
113 Dbl_leftshiftby1(srcp1,srcp2); in dbl_fsqrt()
131 Dbl_subtract(srcp1,srcp2,sump1,sump2,srcp1,srcp2); in dbl_fsqrt()
137 Dbl_leftshiftby1(srcp1,srcp2); in dbl_fsqrt()
[all …]
A Dfcnvfx.c269 register unsigned int srcp1,srcp2, tempp1,tempp2; in dbl_to_sgl_fcnvfx() local
273 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_sgl_fcnvfx()
274 src_exponent = Dbl_exponent(srcp1) - DBL_BIAS; in dbl_to_sgl_fcnvfx()
297 tempp1 = srcp1; in dbl_to_sgl_fcnvfx()
324 if ((Dbl_iszero_sign(srcp1) && result < 0) || in dbl_to_sgl_fcnvfx()
325 (Dbl_isone_sign(srcp1) && result > 0)) { in dbl_to_sgl_fcnvfx()
384 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_dbl_fcnvfx()
385 src_exponent = Dbl_exponent(srcp1) - DBL_BIAS; in dbl_to_dbl_fcnvfx()
393 Dbl_isnotzero_mantissa(srcp1,srcp2) || Dbl_iszero_sign(srcp1)) { in dbl_to_dbl_fcnvfx()
415 tempp1 = srcp1; in dbl_to_dbl_fcnvfx()
[all …]
A Dfcnvxf.c173 int dst_exponent, srcp1; in dbl_to_sgl_fcnvxf() local
180 if (srcp1 < 0) { in dbl_to_sgl_fcnvxf()
182 Dint_negate(srcp1,srcp2); in dbl_to_sgl_fcnvxf()
197 if (srcp1 == 0) { in dbl_to_sgl_fcnvxf()
210 srcp1 = srcp2 >> 1; in dbl_to_sgl_fcnvxf()
230 srcp1); in dbl_to_sgl_fcnvxf()
285 if (srcp1 < 0) { in dbl_to_dbl_fcnvxf()
287 Dint_negate(srcp1,srcp2); in dbl_to_dbl_fcnvxf()
302 if (srcp1 == 0) { in dbl_to_dbl_fcnvxf()
315 srcp1 = srcp2 >> 1; in dbl_to_dbl_fcnvxf()
[all …]
A Dfcnvfu.c295 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_sgl_fcnvfu()
302 if (Dbl_isone_sign(srcp1)) { in dbl_to_sgl_fcnvfu()
322 if (Dbl_isone_sign(srcp1)) { in dbl_to_sgl_fcnvfu()
374 if (Dbl_isone_sign(srcp1)) { in dbl_to_sgl_fcnvfu()
386 if (Dbl_isone_sign(srcp1)) { in dbl_to_sgl_fcnvfu()
418 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_dbl_fcnvfu()
425 if (Dbl_isone_sign(srcp1)) { in dbl_to_dbl_fcnvfu()
446 if (Dbl_isone_sign(srcp1)) { in dbl_to_dbl_fcnvfu()
485 if (Dbl_iszero_sign(srcp1)) { in dbl_to_dbl_fcnvfu()
490 if (Dbl_isone_sign(srcp1)) { in dbl_to_dbl_fcnvfu()
[all …]
A Dfcnvuf.c153 unsigned int srcp1, srcp2, result = 0; in dbl_to_sgl_fcnvuf() local
155 Duint_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_sgl_fcnvuf()
158 if (srcp1 == 0 && srcp2 == 0) { in dbl_to_sgl_fcnvuf()
167 if (srcp1 == 0) { in dbl_to_sgl_fcnvuf()
175 srcp1 = srcp2 << dst_exponent+1; in dbl_to_sgl_fcnvuf()
190 Find_ms_one_bit(srcp1,dst_exponent); in dbl_to_sgl_fcnvuf()
194 srcp1); in dbl_to_sgl_fcnvuf()
240 if (srcp1 == 0 && srcp2 ==0) { in dbl_to_dbl_fcnvuf()
249 if (srcp1 == 0) { in dbl_to_dbl_fcnvuf()
257 srcp1 = srcp2 << dst_exponent+1; in dbl_to_dbl_fcnvuf()
[all …]
A Dfrnd.c149 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_frnd()
157 if (Dbl_isone_signaling(srcp1)) { in dbl_frnd()
162 Dbl_set_quiet(srcp1); in dbl_frnd()
174 Dbl_copytoptr(srcp1,srcp2,dstptr); in dbl_frnd()
181 Dbl_clear_exponent_set_hidden(srcp1); in dbl_frnd()
182 resultp1 = srcp1; in dbl_frnd()
191 if (Dbl_iszero_sign(srcp1)) in dbl_frnd()
195 if (Dbl_isone_sign(srcp1)) in dbl_frnd()
211 resultp1 = srcp1; /* set sign */ in dbl_frnd()
219 if (Dbl_iszero_sign(srcp1)) in dbl_frnd()
[all …]
A Dfcnvfut.c189 register unsigned int srcp1, srcp2, result; in dbl_to_sgl_fcnvfut() local
192 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_sgl_fcnvfut()
193 src_exponent = Dbl_exponent(srcp1) - DBL_BIAS; in dbl_to_sgl_fcnvfut()
199 if (Dbl_isone_sign(srcp1)) { in dbl_to_sgl_fcnvfut()
219 if (Dbl_isone_sign(srcp1)) { in dbl_to_sgl_fcnvfut()
228 Dbl_clear_signexponent_set_hidden(srcp1); in dbl_to_sgl_fcnvfut()
261 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_dbl_fcnvfut()
262 src_exponent = Dbl_exponent(srcp1) - DBL_BIAS; in dbl_to_dbl_fcnvfut()
268 if (Dbl_isone_sign(srcp1)) { in dbl_to_dbl_fcnvfut()
288 if (Dbl_isone_sign(srcp1)) { in dbl_to_dbl_fcnvfut()
[all …]
A Dfcnvfxt.c190 register unsigned int srcp1, srcp2, tempp1, tempp2; in dbl_to_sgl_fcnvfxt() local
193 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_sgl_fcnvfxt()
194 src_exponent = Dbl_exponent(srcp1) - DBL_BIAS; in dbl_to_sgl_fcnvfxt()
217 tempp1 = srcp1; in dbl_to_sgl_fcnvfxt()
236 if (Dbl_isnotzero_exponentmantissa(srcp1,srcp2)) { in dbl_to_sgl_fcnvfxt()
258 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_dbl_fcnvfxt()
259 src_exponent = Dbl_exponent(srcp1) - DBL_BIAS; in dbl_to_dbl_fcnvfxt()
267 Dbl_isnotzero_mantissa(srcp1,srcp2) || Dbl_iszero_sign(srcp1)) { in dbl_to_dbl_fcnvfxt()
288 tempp1 = srcp1; in dbl_to_dbl_fcnvfxt()
293 if (Dbl_isone_sign(srcp1)) { in dbl_to_dbl_fcnvfxt()
[all …]
A Dfcnvff.c134 register unsigned int srcp1, srcp2, result; in dbl_to_sgl_fcnvff() local
140 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_sgl_fcnvff()
141 src_exponent = Dbl_exponent(srcp1); in dbl_to_sgl_fcnvff()
142 Sgl_all(result) = Dbl_allp1(srcp1); /* set sign of result */ in dbl_to_sgl_fcnvff()
150 if (Dbl_iszero_mantissa(srcp1,srcp2)) { in dbl_to_sgl_fcnvff()
161 if (Dbl_isone_signaling(srcp1)) { in dbl_to_sgl_fcnvff()
167 Dbl_set_quiet(srcp1); in dbl_to_sgl_fcnvff()
174 Sgl_set_mantissa(result,Dallp1(srcp1)<<3 | Dallp2(srcp2)>>29); in dbl_to_sgl_fcnvff()
188 if (Dbl_iszero_exponentmantissa(srcp1,srcp2)){ in dbl_to_sgl_fcnvff()
194 Dbl_to_sgl_mantissa(srcp1,srcp2,dest_mantissa,inexact, in dbl_to_sgl_fcnvff()
[all …]

Completed in 11 milliseconds