/Linux-v6.6/arch/parisc/math-emu/ |
D | dfadd.c | 43 register unsigned int resultp1 = 0, resultp2 = 0; in dbl_fadd() local 74 Dbl_makequietnan(resultp1,resultp2); in dbl_fadd() 75 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fadd() 215 /*into*/resultp1,resultp2); in dbl_fadd() 216 if(Dbl_iszero_mantissa(resultp1,resultp2)) in dbl_fadd() 226 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fadd() 233 /*into*/resultp1,resultp2); in dbl_fadd() 236 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fadd() 244 Dbl_leftshiftby1(resultp1,resultp2); in dbl_fadd() 245 Dbl_normalize(resultp1,resultp2,result_exponent); in dbl_fadd() [all …]
|
D | dfsub.c | 44 register unsigned int resultp1 = 0, resultp2 = 0; in dbl_fsub() local 74 Dbl_makequietnan(resultp1,resultp2); in dbl_fsub() 75 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fsub() 218 /*into*/resultp1,resultp2); in dbl_fsub() 219 if(Dbl_iszero_mantissa(resultp1,resultp2)) in dbl_fsub() 229 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fsub() 236 /*into*/resultp1,resultp2); in dbl_fsub() 239 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fsub() 247 Dbl_leftshiftby1(resultp1,resultp2); in dbl_fsub() 248 Dbl_normalize(resultp1,resultp2,result_exponent); in dbl_fsub() [all …]
|
D | fcnvfx.c | 149 register unsigned int src, temp, resultp2; in sgl_to_dbl_fcnvfx() local 164 resultp2 = 0xffffffff; in sgl_to_dbl_fcnvfx() 168 resultp2 = 0; in sgl_to_dbl_fcnvfx() 174 Dint_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvfx() 177 Dint_set_minint(resultp1,resultp2); in sgl_to_dbl_fcnvfx() 178 Dint_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvfx() 187 Dint_from_sgl_mantissa(temp,src_exponent,resultp1,resultp2); in sgl_to_dbl_fcnvfx() 189 Dint_setone_sign(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() [all …]
|
D | fcnvfu.c | 174 register unsigned int src, resultp1, resultp2; in sgl_to_dbl_fcnvfu() local 185 resultp1 = resultp2 = 0; in sgl_to_dbl_fcnvfu() 187 resultp1 = resultp2 = 0xffffffff; in sgl_to_dbl_fcnvfu() 193 Duint_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvfu() 205 resultp1 = resultp2 = 0; in sgl_to_dbl_fcnvfu() 210 Duint_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvfu() 214 Duint_from_sgl_mantissa(src,src_exponent,resultp1,resultp2); in sgl_to_dbl_fcnvfu() 222 Duint_increment(resultp1,resultp2); in sgl_to_dbl_fcnvfu() 229 Duint_isone_lowp2(resultp2))) { in sgl_to_dbl_fcnvfu() 230 Duint_increment(resultp1,resultp2); in sgl_to_dbl_fcnvfu() [all …]
|
D | fcnvfut.c | 120 register unsigned int src, resultp1, resultp2; in sgl_to_dbl_fcnvfut() local 130 resultp1 = resultp2 = 0; in sgl_to_dbl_fcnvfut() 132 resultp1 = resultp2 = 0xffffffff; in sgl_to_dbl_fcnvfut() 138 Duint_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvfut() 150 resultp1 = resultp2 = 0; in sgl_to_dbl_fcnvfut() 155 Duint_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvfut() 159 Duint_from_sgl_mantissa(src,src_exponent,resultp1,resultp2); 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() [all …]
|
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() 141 Dint_copytoptr(resultp1,resultp2,dstptr); 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() 154 Dint_from_sgl_mantissa(temp,src_exponent,resultp1,resultp2); in sgl_to_dbl_fcnvfxt() 156 Dint_setone_sign(resultp1,resultp2); in sgl_to_dbl_fcnvfxt() 158 Dint_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvfxt() 167 Dint_setzero(resultp1,resultp2); in sgl_to_dbl_fcnvfxt() [all …]
|
D | dfsqrt.c | 44 register unsigned int srcp1, srcp2, resultp1, resultp2; in dbl_fsqrt() local 121 Dbl_setzero(resultp1,resultp2); in dbl_fsqrt() 125 Dbl_addition(resultp1,resultp2,newbitp1,newbitp2,sump1,sump2); in dbl_fsqrt() 129 Dbl_addition(resultp1,resultp2,newbitp1,newbitp2, in dbl_fsqrt() 130 resultp1,resultp2); in dbl_fsqrt() 141 Dbl_rightshiftby1(resultp1,resultp2); in dbl_fsqrt() 146 if (!even_exponent && Dbl_islessthan(resultp1,resultp2,srcp1,srcp2)) { 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() [all …]
|
D | fmpyfadd.c | 55 unsigned int resultp1, resultp2 = 0, resultp3 = 0, resultp4 = 0; in dbl_fmpyfadd() local 94 Dbl_makequietnan(resultp1,resultp2); in dbl_fmpyfadd() 95 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpyfadd() 111 Dbl_makequietnan(resultp1,resultp2); in dbl_fmpyfadd() 112 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpyfadd() 119 Dbl_setinfinity_exponentmantissa(resultp1,resultp2); in dbl_fmpyfadd() 120 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpyfadd() 202 Dbl_makequietnan(resultp1,resultp2); in dbl_fmpyfadd() 203 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpyfadd() 210 Dbl_setinfinity_exponentmantissa(resultp1,resultp2); in dbl_fmpyfadd() [all …]
|
D | dfdiv.c | 41 register unsigned int opnd3p1, opnd3p2, resultp1, resultp2; in dbl_fdiv() local 68 Dbl_makequietnan(resultp1,resultp2); in dbl_fdiv() 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() 148 Dbl_makequietnan(resultp1,resultp2); in dbl_fdiv() 149 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fdiv() 155 Dbl_setinfinity_exponentmantissa(resultp1,resultp2); in dbl_fdiv() [all …]
|
D | dfrem.c | 42 register unsigned int resultp1, resultp2; in dbl_frem() local 58 Dbl_makequietnan(resultp1,resultp2); in dbl_frem() 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() 191 Dbl_set_exponentmantissa(resultp1,resultp2,opnd2p1,opnd2p2); in dbl_frem() 200 Dbl_set_exponentmantissa(resultp1,resultp2,opnd1p1,opnd1p2); 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() [all …]
|
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() 135 Dbl_set_mantissap2(resultp2, src << (32-DBL_EXP_LENGTH)); in sgl_to_dbl_fcnvuf() 137 Dbl_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvuf() 235 register unsigned int srcp1, srcp2, resultp1 = 0, resultp2 = 0; in dbl_to_dbl_fcnvuf() local 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() [all …]
|
D | dfmpy.c | 44 register unsigned int opnd3p1, opnd3p2, resultp1, resultp2; in dbl_fmpy() local 72 Dbl_makequietnan(resultp1,resultp2); in dbl_fmpy() 73 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpy() 79 Dbl_setinfinity_exponentmantissa(resultp1,resultp2); in dbl_fmpy() 80 Dbl_copytoptr(resultp1,resultp2,dstptr); in dbl_fmpy() 133 Dbl_setinfinity_exponentmantissa(resultp1,resultp2); 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() [all …]
|
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() 156 Dbl_set_mantissap2(resultp2, src << (33-DBL_EXP_LENGTH)); in sgl_to_dbl_fcnvxf() 158 Dbl_copytoptr(resultp1,resultp2,dstptr); in sgl_to_dbl_fcnvxf() 279 register unsigned int srcp2, resultp1 = 0, resultp2 = 0; in dbl_to_dbl_fcnvxf() local 293 Dbl_setzero(resultp1,resultp2); in dbl_to_dbl_fcnvxf() 294 Dbl_copytoptr(resultp1,resultp2,dstptr); 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() [all …]
|
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()
|
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()
|