/linux/arch/parisc/math-emu/ |
A D | dfadd.c | 215 /*into*/resultp1,resultp2); in dbl_fadd() 220 Dbl_setone_sign(resultp1); in dbl_fadd() 224 Dbl_setzero_sign(resultp1); in dbl_fadd() 233 /*into*/resultp1,resultp2); in dbl_fadd() 234 if(Dbl_isone_hidden(resultp1)) in dbl_fadd() 290 if(Dbl_iszero_hidden(resultp1)) in dbl_fadd() 303 Dbl_leftshiftby1_withextent(resultp1,resultp2,extent,resultp1,resultp2); in dbl_fadd() 318 if(Dbl_isone_hidden(resultp1)) in dbl_fadd() 410 Dbl_set_sign(resultp1,sign_save); in dbl_fadd() 465 if(Dbl_iszero_sign(resultp1)) in dbl_fadd() [all …]
|
A D | dfsub.c | 218 /*into*/resultp1,resultp2); in dbl_fsub() 223 Dbl_setone_sign(resultp1); in dbl_fsub() 227 Dbl_setzero_sign(resultp1); in dbl_fsub() 236 /*into*/resultp1,resultp2); in dbl_fsub() 237 if(Dbl_isone_hidden(resultp1)) in dbl_fsub() 293 if(Dbl_iszero_hidden(resultp1)) in dbl_fsub() 306 Dbl_leftshiftby1_withextent(resultp1,resultp2,extent,resultp1,resultp2); in dbl_fsub() 321 if(Dbl_isone_hidden(resultp1)) in dbl_fsub() 413 Dbl_set_sign(resultp1,sign_save); in dbl_fsub() 468 if(Dbl_iszero_sign(resultp1)) in dbl_fsub() [all …]
|
A D | fmpyfadd.c | 72 else Dbl_setzerop1(resultp1); in dbl_fmpyfadd() 730 Dbl_setzerop1(resultp1); 1389 else Sgl_setzero(resultp1); 1827 resultp1,resultp2); 1944 Sgl_increment(resultp1); 1951 Sgl_increment(resultp1); 1976 Sgl_setoverflow(resultp1); 2029 Sgl_setzero(resultp1); 2469 resultp1,resultp2); 2586 Sgl_increment(resultp1); [all …]
|
A D | fcnvfx.c | 148 register int src_exponent, resultp1; in sgl_to_dbl_fcnvfx() local 167 resultp1 = 0x80000000; in sgl_to_dbl_fcnvfx() 177 Dint_set_minint(resultp1,resultp2); in sgl_to_dbl_fcnvfx() 199 Dint_increment(resultp1,resultp2); in sgl_to_dbl_fcnvfx() 204 Dint_decrement(resultp1,resultp2); in sgl_to_dbl_fcnvfx() 221 Dint_setzero(resultp1,resultp2); in sgl_to_dbl_fcnvfx() 230 Dint_increment(resultp1,resultp2); in sgl_to_dbl_fcnvfx() 235 Dint_decrement(resultp1,resultp2); in sgl_to_dbl_fcnvfx() 380 register int src_exponent, resultp1; in dbl_to_dbl_fcnvfx() local 399 resultp1 = 0x80000000; in dbl_to_dbl_fcnvfx() [all …]
|
A D | dfdiv.c | 52 Dbl_setnegativezerop1(resultp1); in dbl_fdiv() 53 else Dbl_setzerop1(resultp1); in dbl_fdiv() 76 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fdiv() 121 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fdiv() 258 if (Dbl_iszero_sign(resultp1)) in dbl_fdiv() 262 if (Dbl_isone_sign(resultp1)) in dbl_fdiv() 294 Dbl_setoverflow(resultp1,resultp2); in dbl_fdiv() 320 if (Dbl_iszero_sign(resultp1)) { in dbl_fdiv() 328 if (Dbl_isone_sign(resultp1)) { in dbl_fdiv() 358 if (Dbl_iszero_sign(resultp1)) { in dbl_fdiv() [all …]
|
A D | dfmpy.c | 56 Dbl_setnegativezerop1(resultp1); in dbl_fmpy() 57 else Dbl_setzerop1(resultp1); in dbl_fmpy() 80 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpy() 134 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpy() 253 if (Dbl_iszero_sign(resultp1)) in dbl_fmpy() 257 if (Dbl_isone_sign(resultp1)) in dbl_fmpy() 290 Dbl_setoverflow(resultp1,resultp2); in dbl_fmpy() 315 if (Dbl_iszero_sign(resultp1)) { in dbl_fmpy() 323 if (Dbl_isone_sign(resultp1)) { in dbl_fmpy() 353 if (Dbl_iszero_sign(resultp1)) { in dbl_fmpy() [all …]
|
A D | fcnvfu.c | 185 resultp1 = resultp2 = 0; in sgl_to_dbl_fcnvfu() 187 resultp1 = resultp2 = 0xffffffff; in sgl_to_dbl_fcnvfu() 205 resultp1 = resultp2 = 0; in sgl_to_dbl_fcnvfu() 236 Duint_setzero(resultp1,resultp2); in sgl_to_dbl_fcnvfu() 250 resultp1 = resultp2 = 0; in sgl_to_dbl_fcnvfu() 262 resultp1 = 0; in sgl_to_dbl_fcnvfu() 426 resultp1 = resultp2 = 0; in dbl_to_dbl_fcnvfu() 447 resultp1 = resultp2 = 0; in dbl_to_dbl_fcnvfu() 477 Duint_setzero(resultp1,resultp2); in dbl_to_dbl_fcnvfu() 491 resultp1 = resultp2 = 0; in dbl_to_dbl_fcnvfu() [all …]
|
A D | dfrem.c | 42 register unsigned int resultp1, resultp2; in dbl_frem() local 59 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_frem() 130 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_frem() 137 resultp1 = opnd1p1; in dbl_frem() 181 Dbl_allp1(resultp1) = ~Dbl_allp1(resultp1); in dbl_frem() 227 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_frem() 239 Dbl_invert_sign(resultp1); in dbl_frem() 245 Dbl_invert_sign(resultp1); in dbl_frem() 267 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_frem() 281 else Dbl_set_exponent(resultp1,dest_exponent); in dbl_frem() [all …]
|
A D | fcnvxf.c | 130 Dbl_setone_sign(resultp1); in sgl_to_dbl_fcnvxf() 134 Dbl_setzero_sign(resultp1); in sgl_to_dbl_fcnvxf() 158 Dbl_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvxf() 286 Dbl_setone_sign(resultp1); in dbl_to_dbl_fcnvxf() 290 Dbl_setzero_sign(resultp1); in dbl_to_dbl_fcnvxf() 352 if (Dbl_iszero_sign(resultp1)) { in dbl_to_dbl_fcnvxf() 353 Dbl_increment(resultp1,resultp2); in dbl_to_dbl_fcnvxf() 357 if (Dbl_isone_sign(resultp1)) { in dbl_to_dbl_fcnvxf() 358 Dbl_increment(resultp1,resultp2); in dbl_to_dbl_fcnvxf() 366 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_to_dbl_fcnvxf() [all …]
|
A D | dfsqrt.c | 121 Dbl_setzero(resultp1,resultp2); in dbl_fsqrt() 130 resultp1,resultp2); in dbl_fsqrt() 141 Dbl_rightshiftby1(resultp1,resultp2); in dbl_fsqrt() 147 Dbl_increment(resultp1,resultp2); in dbl_fsqrt() 150 Dbl_rightshiftby1(resultp1,resultp2); in dbl_fsqrt() 155 Dbl_increment(resultp1,resultp2); in dbl_fsqrt() 161 Dbl_increment(resultp1,resultp2); in dbl_fsqrt() 169 Dbl_set_exponent(resultp1, in dbl_fsqrt() 171 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fsqrt() 177 Dbl_rightshiftby1(resultp1,resultp2); in dbl_fsqrt() [all …]
|
A D | fcnvfut.c | 130 resultp1 = resultp2 = 0; in sgl_to_dbl_fcnvfut() 132 resultp1 = resultp2 = 0xffffffff; in sgl_to_dbl_fcnvfut() 150 resultp1 = resultp2 = 0; in sgl_to_dbl_fcnvfut() 160 Duint_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvfut() 169 Duint_setzero(resultp1,resultp2); in sgl_to_dbl_fcnvfut() 170 Duint_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvfut() 269 resultp1 = resultp2 = 0; in dbl_to_dbl_fcnvfut() 271 resultp1 = resultp2 = 0xffffffff; in dbl_to_dbl_fcnvfut() 289 resultp1 = resultp2 = 0; in dbl_to_dbl_fcnvfut() 299 resultp1,resultp2); in dbl_to_dbl_fcnvfut() [all …]
|
A D | fcnvfxt.c | 116 register int src_exponent, resultp1; in sgl_to_dbl_fcnvfxt() local 134 resultp1 = 0x80000000; in sgl_to_dbl_fcnvfxt() 144 Dint_set_minint(resultp1,resultp2); in sgl_to_dbl_fcnvfxt() 145 Dint_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvfxt() 156 Dint_setone_sign(resultp1,resultp2); in sgl_to_dbl_fcnvfxt() 167 Dint_setzero(resultp1,resultp2); in sgl_to_dbl_fcnvfxt() 255 register int src_exponent, resultp1; in dbl_to_dbl_fcnvfxt() local 273 resultp1 = 0x80000000; in dbl_to_dbl_fcnvfxt() 292 resultp1,resultp2); in dbl_to_dbl_fcnvfxt() 294 Dint_setone_sign(resultp1,resultp2); in dbl_to_dbl_fcnvfxt() [all …]
|
A D | frnd.c | 182 resultp1 = srcp1; in dbl_frnd() 192 Dbl_increment(resultp1,resultp2); in dbl_frnd() 196 Dbl_increment(resultp1,resultp2); in dbl_frnd() 202 Dbl_increment(resultp1,resultp2); in dbl_frnd() 206 if (Dbl_isone_hiddenoverflow(resultp1)) in dbl_frnd() 211 resultp1 = srcp1; /* set sign */ in dbl_frnd() 212 Dbl_setzero_exponentmantissa(resultp1,resultp2); in dbl_frnd() 220 Dbl_set_exponent(resultp1,DBL_BIAS); in dbl_frnd() 224 Dbl_set_exponent(resultp1,DBL_BIAS); in dbl_frnd() 229 Dbl_set_exponent(resultp1,DBL_BIAS); in dbl_frnd() [all …]
|
A D | fcnvuf.c | 112 register unsigned int src, resultp1 = 0, resultp2 = 0; in sgl_to_dbl_fcnvuf() local 118 Dbl_setzero(resultp1,resultp2); in sgl_to_dbl_fcnvuf() 119 Dbl_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvuf() 134 Dbl_set_mantissap1(resultp1, src >> DBL_EXP_LENGTH); in sgl_to_dbl_fcnvuf() 137 Dbl_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvuf() 241 Dbl_setzero(resultp1,resultp2); in dbl_to_dbl_fcnvuf() 242 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_to_dbl_fcnvuf() 287 Dbl_increment(resultp1,resultp2); in dbl_to_dbl_fcnvuf() 292 Dbl_roundnearest_from_duint(srcp2,resultp1, in dbl_to_dbl_fcnvuf() 297 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_to_dbl_fcnvuf() [all …]
|
A D | fcnvff.c | 47 register unsigned int src, resultp1, resultp2; in sgl_to_dbl_fcnvff() local 65 Dbl_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvff() 85 Dbl_setinfinity_exponent(resultp1); in sgl_to_dbl_fcnvff() 86 Sgl_to_dbl_mantissa(src,resultp1,resultp2); in sgl_to_dbl_fcnvff() 87 Dbl_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvff() 105 Sgl_to_dbl_exponent(src_exponent,resultp1); in sgl_to_dbl_fcnvff() 106 Sgl_to_dbl_mantissa(src,resultp1,resultp2); in sgl_to_dbl_fcnvff() 109 Dbl_setzero_exponentmantissa(resultp1,resultp2); in sgl_to_dbl_fcnvff() 111 Dbl_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvff() 117 Sgl_to_dbl_exponent(src_exponent, resultp1); in sgl_to_dbl_fcnvff() [all …]
|