Home
last modified time | relevance | path

Searched refs:resultp2 (Results 1 – 15 of 15) sorted by relevance

/arch/parisc/math-emu/
Ddfadd.c56 register unsigned int resultp1 = 0, resultp2 = 0; in dbl_fadd() local
87 Dbl_makequietnan(resultp1,resultp2); in dbl_fadd()
88 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fadd()
228 /*into*/resultp1,resultp2); in dbl_fadd()
229 if(Dbl_iszero_mantissa(resultp1,resultp2)) in dbl_fadd()
239 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fadd()
246 /*into*/resultp1,resultp2); in dbl_fadd()
249 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fadd()
257 Dbl_leftshiftby1(resultp1,resultp2); in dbl_fadd()
258 Dbl_normalize(resultp1,resultp2,result_exponent); in dbl_fadd()
[all …]
Ddfsub.c57 register unsigned int resultp1 = 0, resultp2 = 0; in dbl_fsub() local
87 Dbl_makequietnan(resultp1,resultp2); in dbl_fsub()
88 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fsub()
231 /*into*/resultp1,resultp2); in dbl_fsub()
232 if(Dbl_iszero_mantissa(resultp1,resultp2)) in dbl_fsub()
242 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fsub()
249 /*into*/resultp1,resultp2); in dbl_fsub()
252 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fsub()
260 Dbl_leftshiftby1(resultp1,resultp2); in dbl_fsub()
261 Dbl_normalize(resultp1,resultp2,result_exponent); in dbl_fsub()
[all …]
Dfcnvfx.c162 register unsigned int src, temp, resultp2; in sgl_to_dbl_fcnvfx() local
177 resultp2 = 0xffffffff; in sgl_to_dbl_fcnvfx()
181 resultp2 = 0; in sgl_to_dbl_fcnvfx()
187 Dint_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvfx()
190 Dint_set_minint(resultp1,resultp2); in sgl_to_dbl_fcnvfx()
191 Dint_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvfx()
200 Dint_from_sgl_mantissa(temp,src_exponent,resultp1,resultp2); in sgl_to_dbl_fcnvfx()
202 Dint_setone_sign(resultp1,resultp2); in sgl_to_dbl_fcnvfx()
212 Dint_increment(resultp1,resultp2); in sgl_to_dbl_fcnvfx()
217 Dint_decrement(resultp1,resultp2); in sgl_to_dbl_fcnvfx()
[all …]
Dfcnvfu.c187 register unsigned int src, resultp1, resultp2; in sgl_to_dbl_fcnvfu() local
198 resultp1 = resultp2 = 0; in sgl_to_dbl_fcnvfu()
200 resultp1 = resultp2 = 0xffffffff; in sgl_to_dbl_fcnvfu()
206 Duint_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvfu()
218 resultp1 = resultp2 = 0; in sgl_to_dbl_fcnvfu()
223 Duint_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvfu()
227 Duint_from_sgl_mantissa(src,src_exponent,resultp1,resultp2); in sgl_to_dbl_fcnvfu()
235 Duint_increment(resultp1,resultp2); in sgl_to_dbl_fcnvfu()
242 Duint_isone_lowp2(resultp2))) { in sgl_to_dbl_fcnvfu()
243 Duint_increment(resultp1,resultp2); in sgl_to_dbl_fcnvfu()
[all …]
Dfcnvfut.c133 register unsigned int src, resultp1, resultp2; in sgl_to_dbl_fcnvfut() local
143 resultp1 = resultp2 = 0; in sgl_to_dbl_fcnvfut()
145 resultp1 = resultp2 = 0xffffffff; in sgl_to_dbl_fcnvfut()
151 Duint_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvfut()
163 resultp1 = resultp2 = 0; in sgl_to_dbl_fcnvfut()
168 Duint_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvfut()
172 Duint_from_sgl_mantissa(src,src_exponent,resultp1,resultp2); in sgl_to_dbl_fcnvfut()
173 Duint_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvfut()
182 Duint_setzero(resultp1,resultp2); in sgl_to_dbl_fcnvfut()
183 Duint_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvfut()
[all …]
Ddfsqrt.c57 register unsigned int srcp1, srcp2, resultp1, resultp2; in dbl_fsqrt() local
134 Dbl_setzero(resultp1,resultp2); in dbl_fsqrt()
138 Dbl_addition(resultp1,resultp2,newbitp1,newbitp2,sump1,sump2); in dbl_fsqrt()
142 Dbl_addition(resultp1,resultp2,newbitp1,newbitp2, in dbl_fsqrt()
143 resultp1,resultp2); in dbl_fsqrt()
154 Dbl_rightshiftby1(resultp1,resultp2); in dbl_fsqrt()
159 if (!even_exponent && Dbl_islessthan(resultp1,resultp2,srcp1,srcp2)) { in dbl_fsqrt()
160 Dbl_increment(resultp1,resultp2); in dbl_fsqrt()
162 guardbit = Dbl_lowmantissap2(resultp2); in dbl_fsqrt()
163 Dbl_rightshiftby1(resultp1,resultp2); in dbl_fsqrt()
[all …]
Dfcnvfxt.c130 register unsigned int src, temp, resultp2; in sgl_to_dbl_fcnvfxt() local
144 resultp2 = 0xffffffff; in sgl_to_dbl_fcnvfxt()
148 resultp2 = 0; in sgl_to_dbl_fcnvfxt()
154 Dint_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvfxt()
157 Dint_set_minint(resultp1,resultp2); in sgl_to_dbl_fcnvfxt()
158 Dint_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvfxt()
167 Dint_from_sgl_mantissa(temp,src_exponent,resultp1,resultp2); in sgl_to_dbl_fcnvfxt()
169 Dint_setone_sign(resultp1,resultp2); in sgl_to_dbl_fcnvfxt()
171 Dint_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvfxt()
180 Dint_setzero(resultp1,resultp2); in sgl_to_dbl_fcnvfxt()
[all …]
Dfmpyfadd.c68 unsigned int resultp1, resultp2 = 0, resultp3 = 0, resultp4 = 0; in dbl_fmpyfadd() local
107 Dbl_makequietnan(resultp1,resultp2); in dbl_fmpyfadd()
108 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpyfadd()
124 Dbl_makequietnan(resultp1,resultp2); in dbl_fmpyfadd()
125 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpyfadd()
132 Dbl_setinfinity_exponentmantissa(resultp1,resultp2); in dbl_fmpyfadd()
133 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpyfadd()
215 Dbl_makequietnan(resultp1,resultp2); in dbl_fmpyfadd()
216 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpyfadd()
223 Dbl_setinfinity_exponentmantissa(resultp1,resultp2); in dbl_fmpyfadd()
[all …]
Dfcnvuf.c125 register unsigned int src, resultp1 = 0, resultp2 = 0; in sgl_to_dbl_fcnvuf() local
131 Dbl_setzero(resultp1,resultp2); in sgl_to_dbl_fcnvuf()
132 Dbl_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvuf()
148 Dbl_set_mantissap2(resultp2, src << (32-DBL_EXP_LENGTH)); in sgl_to_dbl_fcnvuf()
150 Dbl_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvuf()
248 register unsigned int srcp1, srcp2, resultp1 = 0, resultp2 = 0; in dbl_to_dbl_fcnvuf() local
254 Dbl_setzero(resultp1,resultp2); in dbl_to_dbl_fcnvuf()
255 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_to_dbl_fcnvuf()
293 Shiftdouble(srcp1,srcp2,DBL_EXP_LENGTH,resultp2); in dbl_to_dbl_fcnvuf()
300 Dbl_increment(resultp1,resultp2); in dbl_to_dbl_fcnvuf()
[all …]
Ddfrem.c55 register unsigned int resultp1, resultp2; in dbl_frem() local
71 Dbl_makequietnan(resultp1,resultp2); in dbl_frem()
72 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_frem()
142 Dbl_makequietnan(resultp1,resultp2); in dbl_frem()
143 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_frem()
204 Dbl_set_exponentmantissa(resultp1,resultp2,opnd2p1,opnd2p2); in dbl_frem()
213 Dbl_set_exponentmantissa(resultp1,resultp2,opnd1p1,opnd1p2); in dbl_frem()
239 Dbl_setzero_exponentmantissa(resultp1,resultp2); in dbl_frem()
240 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_frem()
266 Dbl_set_exponentmantissa(resultp1,resultp2,opnd1p1,opnd1p2); in dbl_frem()
[all …]
Ddfdiv.c54 register unsigned int opnd3p1, opnd3p2, resultp1, resultp2; in dbl_fdiv() local
81 Dbl_makequietnan(resultp1,resultp2); in dbl_fdiv()
82 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fdiv()
88 Dbl_setinfinity_exponentmantissa(resultp1,resultp2); in dbl_fdiv()
89 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fdiv()
133 Dbl_setzero_exponentmantissa(resultp1,resultp2); in dbl_fdiv()
134 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fdiv()
161 Dbl_makequietnan(resultp1,resultp2); in dbl_fdiv()
162 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fdiv()
168 Dbl_setinfinity_exponentmantissa(resultp1,resultp2); in dbl_fdiv()
[all …]
Dfcnvxf.c136 register unsigned int resultp1 = 0, resultp2 = 0; in sgl_to_dbl_fcnvxf() local
150 Dbl_setzero(resultp1,resultp2); in sgl_to_dbl_fcnvxf()
151 Dbl_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvxf()
169 Dbl_set_mantissap2(resultp2, src << (33-DBL_EXP_LENGTH)); in sgl_to_dbl_fcnvxf()
171 Dbl_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvxf()
292 register unsigned int srcp2, resultp1 = 0, resultp2 = 0; in dbl_to_dbl_fcnvxf() local
306 Dbl_setzero(resultp1,resultp2); in dbl_to_dbl_fcnvxf()
307 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_to_dbl_fcnvxf()
358 Shiftdouble(srcp1,srcp2,DBL_EXP_LENGTH-1,resultp2); in dbl_to_dbl_fcnvxf()
366 Dbl_increment(resultp1,resultp2); in dbl_to_dbl_fcnvxf()
[all …]
Ddfmpy.c57 register unsigned int opnd3p1, opnd3p2, resultp1, resultp2; in dbl_fmpy() local
85 Dbl_makequietnan(resultp1,resultp2); in dbl_fmpy()
86 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpy()
92 Dbl_setinfinity_exponentmantissa(resultp1,resultp2); in dbl_fmpy()
93 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpy()
146 Dbl_setinfinity_exponentmantissa(resultp1,resultp2); in dbl_fmpy()
147 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpy()
181 Dbl_setzero_exponentmantissa(resultp1,resultp2); in dbl_fmpy()
182 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpy()
197 Dbl_setzero_exponentmantissa(resultp1,resultp2); in dbl_fmpy()
[all …]
Dfrnd.c158 register unsigned int srcp1, srcp2, resultp1, resultp2; in dbl_frnd() local
196 resultp2 = srcp2; in dbl_frnd()
197 Dbl_rightshift(resultp1,resultp2,(DBL_P-1) - (src_exponent)); in dbl_frnd()
205 Dbl_increment(resultp1,resultp2); in dbl_frnd()
209 Dbl_increment(resultp1,resultp2); in dbl_frnd()
214 || (Dbl_isone_lowmantissap2(resultp2))) in dbl_frnd()
215 Dbl_increment(resultp1,resultp2); in dbl_frnd()
218 Dbl_leftshift(resultp1,resultp2,(DBL_P-1) - (src_exponent)); in dbl_frnd()
225 Dbl_setzero_exponentmantissa(resultp1,resultp2); in dbl_frnd()
246 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_frnd()
Dfcnvff.c60 register unsigned int src, resultp1, resultp2; in sgl_to_dbl_fcnvff() local
77 Dbl_setinfinity_exponentmantissa(resultp1,resultp2); in sgl_to_dbl_fcnvff()
78 Dbl_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvff()
99 Sgl_to_dbl_mantissa(src,resultp1,resultp2); in sgl_to_dbl_fcnvff()
100 Dbl_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvff()
119 Sgl_to_dbl_mantissa(src,resultp1,resultp2); in sgl_to_dbl_fcnvff()
122 Dbl_setzero_exponentmantissa(resultp1,resultp2); in sgl_to_dbl_fcnvff()
124 Dbl_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvff()
131 Sgl_to_dbl_mantissa(Sgl_mantissa(src), resultp1,resultp2); in sgl_to_dbl_fcnvff()
132 Dbl_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvff()