Home
last modified time | relevance | path

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

/linux/arch/parisc/math-emu/
A Dfcnvxf.c174 unsigned int result = 0, srcp2; in dbl_to_sgl_fcnvxf() local
182 Dint_negate(srcp1,srcp2); in dbl_to_sgl_fcnvxf()
207 srcp2 = 0; in dbl_to_sgl_fcnvxf()
210 srcp1 = srcp2 >> 1; in dbl_to_sgl_fcnvxf()
211 srcp2 <<= 31; in dbl_to_sgl_fcnvxf()
231 srcp2 <<= dst_exponent; in dbl_to_sgl_fcnvxf()
287 Dint_negate(srcp1,srcp2); in dbl_to_dbl_fcnvxf()
312 srcp2 = 0; in dbl_to_dbl_fcnvxf()
315 srcp1 = srcp2 >> 1; in dbl_to_dbl_fcnvxf()
316 srcp2 <<= 31; in dbl_to_dbl_fcnvxf()
[all …]
A Dfcnvuf.c153 unsigned int srcp1, srcp2, result = 0; in dbl_to_sgl_fcnvuf() local
158 if (srcp1 == 0 && srcp2 == 0) { in dbl_to_sgl_fcnvuf()
173 Find_ms_one_bit(srcp2,dst_exponent); in dbl_to_sgl_fcnvuf()
175 srcp1 = srcp2 << dst_exponent+1; in dbl_to_sgl_fcnvuf()
176 srcp2 = 0; in dbl_to_sgl_fcnvuf()
195 srcp2 <<= dst_exponent+1; in dbl_to_sgl_fcnvuf()
240 if (srcp1 == 0 && srcp2 ==0) { in dbl_to_dbl_fcnvuf()
257 srcp1 = srcp2 << dst_exponent+1; in dbl_to_dbl_fcnvuf()
258 srcp2 = 0; in dbl_to_dbl_fcnvuf()
276 srcp2 <<= dst_exponent+1; in dbl_to_dbl_fcnvuf()
[all …]
A Ddfsqrt.c49 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_fsqrt()
69 Dbl_isnotzero_mantissa(srcp1,srcp2)) { in dbl_fsqrt()
78 if (Dbl_iszero_exponentmantissa(srcp1,srcp2)) { in dbl_fsqrt()
79 Dbl_copytoptr(srcp1,srcp2,dstptr); in dbl_fsqrt()
91 Dbl_makequietnan(srcp1,srcp2); in dbl_fsqrt()
92 Dbl_copytoptr(srcp1,srcp2,dstptr); in dbl_fsqrt()
107 Dbl_normalize(srcp1,srcp2,src_exponent); 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()
281 if (Dbl_isoverflow_to_int(src_exponent,srcp1,srcp2)) { in dbl_to_sgl_fcnvfx()
298 tempp2 = srcp2; in dbl_to_sgl_fcnvfx()
306 if (Dbl_isinexact_to_fix(srcp1,srcp2,src_exponent)) { in dbl_to_sgl_fcnvfx()
343 if (Dbl_isnotzero_exponentmantissa(srcp1,srcp2)) { in dbl_to_sgl_fcnvfx()
381 register unsigned int srcp1, srcp2, tempp1, tempp2, resultp2; in dbl_to_dbl_fcnvfx() local
384 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_dbl_fcnvfx()
416 tempp2 = srcp2; in dbl_to_dbl_fcnvfx()
425 if (Dbl_isinexact_to_fix(srcp1,srcp2,src_exponent)) { in dbl_to_dbl_fcnvfx()
[all …]
A Dfcnvfu.c291 register unsigned int srcp1, srcp2, result; in dbl_to_sgl_fcnvfu() local
295 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_sgl_fcnvfu()
345 if(Dbl_isone_roundbit(srcp1,srcp2,src_exponent) && in dbl_to_sgl_fcnvfu()
346 (Dbl_isone_stickybit(srcp1,srcp2,src_exponent)|| in dbl_to_sgl_fcnvfu()
366 if (Dbl_isnotzero_exponentmantissa(srcp1,srcp2)) { in dbl_to_sgl_fcnvfu()
385 Dbl_isnotzero_mantissa(srcp1,srcp2)) in dbl_to_sgl_fcnvfu()
415 register unsigned int srcp1, srcp2, resultp1, resultp2; in dbl_to_dbl_fcnvfu() local
418 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_dbl_fcnvfu()
470 if(Dbl_isone_roundbit(srcp1,srcp2,src_exponent)) in dbl_to_dbl_fcnvfu()
480 if (Dbl_isnotzero_exponentmantissa(srcp1,srcp2)) { in dbl_to_dbl_fcnvfu()
[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()
201 if (Dbl_isoverflow_to_int(src_exponent,srcp1,srcp2)) { in dbl_to_sgl_fcnvfxt()
218 tempp2 = srcp2; in dbl_to_sgl_fcnvfxt()
227 if (Dbl_isinexact_to_fix(srcp1,srcp2,src_exponent)) { in dbl_to_sgl_fcnvfxt()
236 if (Dbl_isnotzero_exponentmantissa(srcp1,srcp2)) { in dbl_to_sgl_fcnvfxt()
256 register unsigned int srcp1, srcp2, tempp1, tempp2, resultp2; in dbl_to_dbl_fcnvfxt() local
258 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_dbl_fcnvfxt()
289 tempp2 = srcp2; in dbl_to_dbl_fcnvfxt()
299 if (Dbl_isinexact_to_fix(srcp1,srcp2,src_exponent)) { in dbl_to_dbl_fcnvfxt()
[all …]
A Dfrnd.c145 register unsigned int srcp1, srcp2, resultp1, resultp2; in dbl_frnd() local
149 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_frnd()
167 Dbl_copytoptr(srcp1,srcp2,dstptr); in dbl_frnd()
174 Dbl_copytoptr(srcp1,srcp2,dstptr); in dbl_frnd()
183 resultp2 = srcp2; in dbl_frnd()
186 if (Dbl_isinexact_to_fix(srcp1,srcp2,src_exponent)) { in dbl_frnd()
199 if (Dbl_isone_roundbit(srcp1,srcp2,src_exponent)) in dbl_frnd()
200 if (Dbl_isone_stickybit(srcp1,srcp2,src_exponent) in dbl_frnd()
214 if (Dbl_isnotzero_exponentmantissa(srcp1,srcp2)) { in dbl_frnd()
228 if (Dbl_isnotzero_mantissa(srcp1,srcp2)) in dbl_frnd()
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()
229 Suint_from_dbl_mantissa(srcp1,srcp2,src_exponent,result); in dbl_to_sgl_fcnvfut()
233 if (Dbl_isinexact_to_unsigned(srcp1,srcp2,src_exponent)) { in dbl_to_sgl_fcnvfut()
242 if (Dbl_isnotzero_exponentmantissa(srcp1,srcp2)) { in dbl_to_sgl_fcnvfut()
259 register unsigned int srcp1, srcp2, resultp1, resultp2; in dbl_to_dbl_fcnvfut() local
261 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_dbl_fcnvfut()
298 Duint_from_dbl_mantissa(srcp1,srcp2,src_exponent, in dbl_to_dbl_fcnvfut()
303 if (Dbl_isinexact_to_unsigned(srcp1,srcp2,src_exponent)) { in dbl_to_dbl_fcnvfut()
313 if (Dbl_isnotzero_exponentmantissa(srcp1,srcp2)) { in dbl_to_dbl_fcnvfut()
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()
150 if (Dbl_iszero_mantissa(srcp1,srcp2)) { in dbl_to_sgl_fcnvff()
174 Sgl_set_mantissa(result,Dallp1(srcp1)<<3 | Dallp2(srcp2)>>29); in dbl_to_sgl_fcnvff()
184 Dbl_to_sgl_mantissa(srcp1,srcp2,dest_mantissa,inexact,guardbit, 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()
201 Dbl_to_sgl_denormalized(srcp1,srcp2,dest_exponent, in dbl_to_sgl_fcnvff()

Completed in 11 milliseconds