Home
last modified time | relevance | path

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

/arch/parisc/math-emu/
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()
236 Dbl_setone_sign(resultp1); in dbl_fsub()
240 Dbl_setzero_sign(resultp1); in dbl_fsub()
242 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fsub()
249 /*into*/resultp1,resultp2); in dbl_fsub()
250 if(Dbl_isone_hidden(resultp1)) in dbl_fsub()
[all …]
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()
233 Dbl_setone_sign(resultp1); in dbl_fadd()
237 Dbl_setzero_sign(resultp1); in dbl_fadd()
239 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fadd()
246 /*into*/resultp1,resultp2); in dbl_fadd()
247 if(Dbl_isone_hidden(resultp1)) in dbl_fadd()
[all …]
Dfmpyfadd.c68 unsigned int resultp1, resultp2 = 0, resultp3 = 0, resultp4 = 0; in dbl_fmpyfadd() local
84 Dbl_setnegativezerop1(resultp1); in dbl_fmpyfadd()
85 else Dbl_setzerop1(resultp1); in dbl_fmpyfadd()
107 Dbl_makequietnan(resultp1,resultp2); in dbl_fmpyfadd()
108 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpyfadd()
116 (Dbl_sign(resultp1) ^ Dbl_sign(opnd3p1))) { 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()
[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()
163 Dbl_rightshiftby1(resultp1,resultp2); in dbl_fsqrt()
168 Dbl_increment(resultp1,resultp2); in dbl_fsqrt()
[all …]
Ddfdiv.c54 register unsigned int opnd3p1, opnd3p2, resultp1, resultp2; in dbl_fdiv() local
65 Dbl_setnegativezerop1(resultp1); in dbl_fdiv()
66 else Dbl_setzerop1(resultp1); in dbl_fdiv()
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()
[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()
150 resultp1 = opnd1p1; in dbl_frem()
194 Dbl_allp1(resultp1) = ~Dbl_allp1(resultp1); 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()
[all …]
Ddfmpy.c57 register unsigned int opnd3p1, opnd3p2, resultp1, resultp2; in dbl_fmpy() local
69 Dbl_setnegativezerop1(resultp1); in dbl_fmpy()
70 else Dbl_setzerop1(resultp1); in dbl_fmpy()
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()
[all …]
Dfcnvfx.c161 register int src_exponent, resultp1; in sgl_to_dbl_fcnvfx() local
176 resultp1 = 0x7fffffff; in sgl_to_dbl_fcnvfx()
180 resultp1 = 0x80000000; 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 …]
Dfcnvxf.c136 register unsigned int resultp1 = 0, resultp2 = 0; in sgl_to_dbl_fcnvxf() local
143 Dbl_setone_sign(resultp1); in sgl_to_dbl_fcnvxf()
147 Dbl_setzero_sign(resultp1); in sgl_to_dbl_fcnvxf()
150 Dbl_setzero(resultp1,resultp2); in sgl_to_dbl_fcnvxf()
151 Dbl_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvxf()
168 Dbl_set_mantissap1(resultp1, src >> DBL_EXP_LENGTH - 1); in sgl_to_dbl_fcnvxf()
170 Dbl_set_exponent(resultp1, (30+DBL_BIAS) - dst_exponent); 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
299 Dbl_setone_sign(resultp1); in dbl_to_dbl_fcnvxf()
[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 …]
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()
243 Duint_increment(resultp1,resultp2); in sgl_to_dbl_fcnvfu()
249 Duint_setzero(resultp1,resultp2); in sgl_to_dbl_fcnvfu()
[all …]
Dfcnvfxt.c129 register int src_exponent, resultp1; in sgl_to_dbl_fcnvfxt() local
143 resultp1 = 0x7fffffff; in sgl_to_dbl_fcnvfxt()
147 resultp1 = 0x80000000; 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 …]
Dfrnd.c158 register unsigned int srcp1, srcp2, resultp1, resultp2; in dbl_frnd() local
195 resultp1 = srcp1; 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()
215 Dbl_increment(resultp1,resultp2); in dbl_frnd()
218 Dbl_leftshift(resultp1,resultp2,(DBL_P-1) - (src_exponent)); in dbl_frnd()
219 if (Dbl_isone_hiddenoverflow(resultp1)) in dbl_frnd()
220 Dbl_set_exponent(resultp1,src_exponent + (DBL_BIAS+1)); in dbl_frnd()
221 else Dbl_set_exponent(resultp1,src_exponent + DBL_BIAS); in dbl_frnd()
[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()
147 Dbl_set_mantissap1(resultp1, src >> DBL_EXP_LENGTH); in sgl_to_dbl_fcnvuf()
149 Dbl_set_exponent(resultp1, (30+DBL_BIAS) - dst_exponent); 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()
292 Dbl_set_mantissap1(resultp1, srcp1 >> DBL_EXP_LENGTH); in dbl_to_dbl_fcnvuf()
[all …]
Dfcnvff.c60 register unsigned int src, resultp1, resultp2; in sgl_to_dbl_fcnvff() local
65 Dbl_allp1(resultp1) = Sgl_all(src); /* set sign of result */ in sgl_to_dbl_fcnvff()
77 Dbl_setinfinity_exponentmantissa(resultp1,resultp2); in sgl_to_dbl_fcnvff()
78 Dbl_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvff()
98 Dbl_setinfinity_exponent(resultp1); 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()
118 Sgl_to_dbl_exponent(src_exponent,resultp1); 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()
[all …]