/openbmc/linux/arch/parisc/math-emu/ |
H A D | dfsub.c | 218 /*into*/resultp1,resultp2); in dbl_fsub() 236 /*into*/resultp1,resultp2); in dbl_fsub() 247 Dbl_leftshiftby1(resultp1,resultp2); in dbl_fsub() 306 Dbl_leftshiftby1_withextent(resultp1,resultp2,extent,resultp1,resultp2); in dbl_fsub() 354 Dbl_leftshiftby8(resultp1,resultp2); in dbl_fsub() 362 Dbl_leftshiftby4(resultp1,resultp2); in dbl_fsub() 459 Dbl_isone_lowmantissap2(resultp2)) in dbl_fsub() 462 Dbl_increment(resultp1,resultp2); in dbl_fsub() 471 Dbl_increment(resultp1,resultp2); in dbl_fsub() 479 Dbl_increment(resultp1,resultp2); in dbl_fsub() [all …]
|
H A D | dfadd.c | 215 /*into*/resultp1,resultp2); in dbl_fadd() 233 /*into*/resultp1,resultp2); in dbl_fadd() 244 Dbl_leftshiftby1(resultp1,resultp2); in dbl_fadd() 303 Dbl_leftshiftby1_withextent(resultp1,resultp2,extent,resultp1,resultp2); in dbl_fadd() 351 Dbl_leftshiftby8(resultp1,resultp2); in dbl_fadd() 359 Dbl_leftshiftby4(resultp1,resultp2); in dbl_fadd() 456 Dbl_isone_lowmantissap2(resultp2)) in dbl_fadd() 459 Dbl_increment(resultp1,resultp2); in dbl_fadd() 468 Dbl_increment(resultp1,resultp2); in dbl_fadd() 476 Dbl_increment(resultp1,resultp2); in dbl_fadd() [all …]
|
H A D | fcnvfx.c | 164 resultp2 = 0xffffffff; in sgl_to_dbl_fcnvfx() 168 resultp2 = 0; 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() 210 (Dint_isone_lowp2(resultp2))) in sgl_to_dbl_fcnvfx() 221 Dint_setzero(resultp1,resultp2); in sgl_to_dbl_fcnvfx() 396 resultp2 = 0xffffffff; in dbl_to_dbl_fcnvfx() 400 resultp2 = 0; in dbl_to_dbl_fcnvfx() 419 resultp2); in dbl_to_dbl_fcnvfx() 442 (Dint_isone_lowp2(resultp2))) in dbl_to_dbl_fcnvfx() [all …]
|
H 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() 263 resultp2 = 0; in sgl_to_dbl_fcnvfu() 426 resultp1 = resultp2 = 0; in dbl_to_dbl_fcnvfu() 447 resultp1 = resultp2 = 0; in dbl_to_dbl_fcnvfu() 457 resultp2); in dbl_to_dbl_fcnvfu() 491 resultp1 = resultp2 = 0; in dbl_to_dbl_fcnvfu() [all …]
|
H 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 …]
|
H 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() 149 guardbit = Dbl_lowmantissap2(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() 171 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fsqrt() 177 Dbl_rightshiftby1(resultp1,resultp2); in dbl_fsqrt() [all …]
|
H A D | fcnvfxt.c | 117 register unsigned int src, temp, resultp2; in sgl_to_dbl_fcnvfxt() local 131 resultp2 = 0xffffffff; in sgl_to_dbl_fcnvfxt() 135 resultp2 = 0; in sgl_to_dbl_fcnvfxt() 144 Dint_set_minint(resultp1,resultp2); 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() 270 resultp2 = 0xffffffff; in dbl_to_dbl_fcnvfxt() 274 resultp2 = 0; 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 …]
|
H A D | fmpyfadd.c | 94 Dbl_makequietnan(resultp1,resultp2); in dbl_fmpyfadd() 111 Dbl_makequietnan(resultp1,resultp2); in dbl_fmpyfadd() 635 Dbl_increment(resultp1,resultp2); in dbl_fmpyfadd() 643 Dbl_increment(resultp1,resultp2); in dbl_fmpyfadd() 650 Dbl_increment(resultp1,resultp2); in dbl_fmpyfadd() 1303 Dbl_increment(resultp1,resultp2); 1310 Dbl_increment(resultp1,resultp2); 1335 Dbl_setoverflow(resultp1,resultp2); 1372 unsigned int resultp1, resultp2 = 0; local 1827 resultp1,resultp2); [all …]
|
H A D | dfdiv.c | 41 register unsigned int opnd3p1, opnd3p2, resultp1, resultp2; in dbl_fdiv() local 69 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fdiv() 75 Dbl_setinfinity_exponentmantissa(resultp1,resultp2); in dbl_fdiv() 76 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fdiv() 120 Dbl_setzero_exponentmantissa(resultp1,resultp2); in dbl_fdiv() 121 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fdiv() 174 Dbl_setzero_exponentmantissa(resultp1,resultp2); in dbl_fdiv() 175 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fdiv() 273 Dbl_set_mantissa(resultp1,resultp2,opnd3p1,opnd3p2); in dbl_fdiv() 294 Dbl_setoverflow(resultp1,resultp2); in dbl_fdiv() [all …]
|
H A D | dfrem.c | 42 register unsigned int resultp1, resultp2; in dbl_frem() local 59 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_frem() 129 Dbl_makequietnan(resultp1,resultp2); in dbl_frem() 130 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_frem() 226 Dbl_setzero_exponentmantissa(resultp1,resultp2); in dbl_frem() 227 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_frem() 253 Dbl_set_exponentmantissa(resultp1,resultp2,opnd1p1,opnd1p2); in dbl_frem() 267 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_frem() 274 Dbl_rightshift_exponentmantissa(resultp1,resultp2, in dbl_frem() 278 Dbl_setzero_exponentmantissa(resultp1,resultp2); in dbl_frem() [all …]
|
H 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() 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() 280 Shiftdouble(srcp1,srcp2,DBL_EXP_LENGTH,resultp2); in dbl_to_dbl_fcnvuf() 287 Dbl_increment(resultp1,resultp2); in dbl_to_dbl_fcnvuf() 293 resultp2); in dbl_to_dbl_fcnvuf() 297 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_to_dbl_fcnvuf() [all …]
|
H A D | dfmpy.c | 73 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpy() 80 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpy() 134 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpy() 168 Dbl_setzero_exponentmantissa(resultp1,resultp2); in dbl_fmpy() 169 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpy() 184 Dbl_setzero_exponentmantissa(resultp1,resultp2); in dbl_fmpy() 185 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpy() 280 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpy() 290 Dbl_setoverflow(resultp1,resultp2); in dbl_fmpy() 302 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpy() [all …]
|
H A D | fcnvxf.c | 123 register unsigned int resultp1 = 0, resultp2 = 0; in sgl_to_dbl_fcnvxf() local 137 Dbl_setzero(resultp1,resultp2); in sgl_to_dbl_fcnvxf() 138 Dbl_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvxf() 158 Dbl_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvxf() 293 Dbl_setzero(resultp1,resultp2); in dbl_to_dbl_fcnvxf() 345 Shiftdouble(srcp1,srcp2,DBL_EXP_LENGTH-1,resultp2); in dbl_to_dbl_fcnvxf() 353 Dbl_increment(resultp1,resultp2); in dbl_to_dbl_fcnvxf() 358 Dbl_increment(resultp1,resultp2); in dbl_to_dbl_fcnvxf() 363 resultp2); in dbl_to_dbl_fcnvxf() 366 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_to_dbl_fcnvxf() [all …]
|
H A D | frnd.c | 145 register unsigned int srcp1, srcp2, resultp1, resultp2; in dbl_frnd() local 183 resultp2 = srcp2; in dbl_frnd() 184 Dbl_rightshift(resultp1,resultp2,(DBL_P-1) - (src_exponent)); in dbl_frnd() 192 Dbl_increment(resultp1,resultp2); in dbl_frnd() 196 Dbl_increment(resultp1,resultp2); in dbl_frnd() 201 || (Dbl_isone_lowmantissap2(resultp2))) in dbl_frnd() 202 Dbl_increment(resultp1,resultp2); in dbl_frnd() 205 Dbl_leftshift(resultp1,resultp2,(DBL_P-1) - (src_exponent)); in dbl_frnd() 212 Dbl_setzero_exponentmantissa(resultp1,resultp2); in dbl_frnd() 233 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_frnd()
|
H A D | fcnvff.c | 47 register unsigned int src, resultp1, resultp2; in sgl_to_dbl_fcnvff() local 64 Dbl_setinfinity_exponentmantissa(resultp1,resultp2); in sgl_to_dbl_fcnvff() 65 Dbl_copytoptr(resultp1,resultp2,dstptr); 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() 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() 118 Sgl_to_dbl_mantissa(Sgl_mantissa(src), resultp1,resultp2); in sgl_to_dbl_fcnvff() 119 Dbl_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvff()
|