/linux-6.6.21/arch/parisc/math-emu/ |
D | fcnvxf.c | 174 unsigned int result = 0, srcp2; in dbl_to_sgl_fcnvxf() local 176 Dint_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_sgl_fcnvxf() 182 Dint_negate(srcp1,srcp2); in dbl_to_sgl_fcnvxf() 187 if (srcp1 == 0 && srcp2 == 0) { in dbl_to_sgl_fcnvxf() 203 Find_ms_one_bit(srcp2,dst_exponent); in dbl_to_sgl_fcnvxf() 206 srcp1 = srcp2 << dst_exponent; in dbl_to_sgl_fcnvxf() 207 srcp2 = 0; in dbl_to_sgl_fcnvxf() 210 srcp1 = srcp2 >> 1; in dbl_to_sgl_fcnvxf() 211 srcp2 <<= 31; in dbl_to_sgl_fcnvxf() 229 Variable_shift_double(srcp1,srcp2,(32-dst_exponent), in dbl_to_sgl_fcnvxf() [all …]
|
D | fcnvuf.c | 153 unsigned int srcp1, srcp2, result = 0; in dbl_to_sgl_fcnvuf() local 155 Duint_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_sgl_fcnvuf() 158 if (srcp1 == 0 && srcp2 == 0) { in dbl_to_sgl_fcnvuf() 173 Find_ms_one_bit(srcp2,dst_exponent); in dbl_to_sgl_fcnvuf() 175 srcp1 = srcp2 << dst_exponent+1; in dbl_to_sgl_fcnvuf() 176 srcp2 = 0; in dbl_to_sgl_fcnvuf() 193 Variable_shift_double(srcp1,srcp2,(31-dst_exponent), in dbl_to_sgl_fcnvuf() 195 srcp2 <<= dst_exponent+1; in dbl_to_sgl_fcnvuf() 202 if (Duint_isinexact_to_sgl(srcp1,srcp2)) { in dbl_to_sgl_fcnvuf() 210 Sgl_roundnearest_from_duint(srcp1,srcp2,result); in dbl_to_sgl_fcnvuf() [all …]
|
D | dfsqrt.c | 44 register unsigned int srcp1, srcp2, resultp1, resultp2; in dbl_fsqrt() local 49 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_fsqrt() 69 Dbl_isnotzero_mantissa(srcp1,srcp2)) { in dbl_fsqrt() 70 Dbl_copytoptr(srcp1,srcp2,dstptr); in dbl_fsqrt() 78 if (Dbl_iszero_exponentmantissa(srcp1,srcp2)) { in dbl_fsqrt() 79 Dbl_copytoptr(srcp1,srcp2,dstptr); in dbl_fsqrt() 91 Dbl_makequietnan(srcp1,srcp2); in dbl_fsqrt() 92 Dbl_copytoptr(srcp1,srcp2,dstptr); in dbl_fsqrt() 107 Dbl_normalize(srcp1,srcp2,src_exponent); in dbl_fsqrt() 113 Dbl_leftshiftby1(srcp1,srcp2); in dbl_fsqrt() [all …]
|
D | fcnvfx.c | 269 register unsigned int srcp1,srcp2, tempp1,tempp2; in dbl_to_sgl_fcnvfx() local 273 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_sgl_fcnvfx() 281 if (Dbl_isoverflow_to_int(src_exponent,srcp1,srcp2)) { in dbl_to_sgl_fcnvfx() 298 tempp2 = srcp2; in dbl_to_sgl_fcnvfx() 306 if (Dbl_isinexact_to_fix(srcp1,srcp2,src_exponent)) { in dbl_to_sgl_fcnvfx() 317 if (Dbl_isone_roundbit(srcp1,srcp2,src_exponent)) in dbl_to_sgl_fcnvfx() 318 if (Dbl_isone_stickybit(srcp1,srcp2,src_exponent) || in dbl_to_sgl_fcnvfx() 343 if (Dbl_isnotzero_exponentmantissa(srcp1,srcp2)) { in dbl_to_sgl_fcnvfx() 355 if (Dbl_isnotzero_mantissa(srcp1,srcp2)) in dbl_to_sgl_fcnvfx() 381 register unsigned int srcp1, srcp2, tempp1, tempp2, resultp2; in dbl_to_dbl_fcnvfx() local [all …]
|
D | fcnvfu.c | 291 register unsigned int srcp1, srcp2, result; in dbl_to_sgl_fcnvfu() local 295 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_sgl_fcnvfu() 332 Suint_from_dbl_mantissa(srcp1,srcp2,src_exponent,result); in dbl_to_sgl_fcnvfu() 335 if (Dbl_isinexact_to_unsigned(srcp1,srcp2,src_exponent)) { in dbl_to_sgl_fcnvfu() 345 if(Dbl_isone_roundbit(srcp1,srcp2,src_exponent) && in dbl_to_sgl_fcnvfu() 346 (Dbl_isone_stickybit(srcp1,srcp2,src_exponent)|| in dbl_to_sgl_fcnvfu() 366 if (Dbl_isnotzero_exponentmantissa(srcp1,srcp2)) { in dbl_to_sgl_fcnvfu() 385 Dbl_isnotzero_mantissa(srcp1,srcp2)) in dbl_to_sgl_fcnvfu() 415 register unsigned int srcp1, srcp2, resultp1, resultp2; in dbl_to_dbl_fcnvfu() local 418 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_dbl_fcnvfu() [all …]
|
D | fcnvfxt.c | 190 register unsigned int srcp1, srcp2, tempp1, tempp2; in dbl_to_sgl_fcnvfxt() local 193 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_sgl_fcnvfxt() 201 if (Dbl_isoverflow_to_int(src_exponent,srcp1,srcp2)) { in dbl_to_sgl_fcnvfxt() 218 tempp2 = srcp2; in dbl_to_sgl_fcnvfxt() 227 if (Dbl_isinexact_to_fix(srcp1,srcp2,src_exponent)) { in dbl_to_sgl_fcnvfxt() 236 if (Dbl_isnotzero_exponentmantissa(srcp1,srcp2)) { in dbl_to_sgl_fcnvfxt() 256 register unsigned int srcp1, srcp2, tempp1, tempp2, resultp2; in dbl_to_dbl_fcnvfxt() local 258 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_dbl_fcnvfxt() 267 Dbl_isnotzero_mantissa(srcp1,srcp2) || Dbl_iszero_sign(srcp1)) { in dbl_to_dbl_fcnvfxt() 289 tempp2 = srcp2; in dbl_to_dbl_fcnvfxt() [all …]
|
D | frnd.c | 145 register unsigned int srcp1, srcp2, resultp1, resultp2; in dbl_frnd() local 149 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_frnd() 167 Dbl_copytoptr(srcp1,srcp2,dstptr); in dbl_frnd() 174 Dbl_copytoptr(srcp1,srcp2,dstptr); in dbl_frnd() 183 resultp2 = srcp2; in dbl_frnd() 186 if (Dbl_isinexact_to_fix(srcp1,srcp2,src_exponent)) { in dbl_frnd() 199 if (Dbl_isone_roundbit(srcp1,srcp2,src_exponent)) in dbl_frnd() 200 if (Dbl_isone_stickybit(srcp1,srcp2,src_exponent) in dbl_frnd() 214 if (Dbl_isnotzero_exponentmantissa(srcp1,srcp2)) { in dbl_frnd() 228 if (Dbl_isnotzero_mantissa(srcp1,srcp2)) in dbl_frnd()
|
D | fcnvfut.c | 189 register unsigned int srcp1, srcp2, result; in dbl_to_sgl_fcnvfut() local 192 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_sgl_fcnvfut() 229 Suint_from_dbl_mantissa(srcp1,srcp2,src_exponent,result); in dbl_to_sgl_fcnvfut() 233 if (Dbl_isinexact_to_unsigned(srcp1,srcp2,src_exponent)) { in dbl_to_sgl_fcnvfut() 242 if (Dbl_isnotzero_exponentmantissa(srcp1,srcp2)) { in dbl_to_sgl_fcnvfut() 259 register unsigned int srcp1, srcp2, resultp1, resultp2; in dbl_to_dbl_fcnvfut() local 261 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_dbl_fcnvfut() 298 Duint_from_dbl_mantissa(srcp1,srcp2,src_exponent, in dbl_to_dbl_fcnvfut() 303 if (Dbl_isinexact_to_unsigned(srcp1,srcp2,src_exponent)) { in dbl_to_dbl_fcnvfut() 313 if (Dbl_isnotzero_exponentmantissa(srcp1,srcp2)) { in dbl_to_dbl_fcnvfut()
|
D | fcnvff.c | 134 register unsigned int srcp1, srcp2, result; in dbl_to_sgl_fcnvff() local 140 Dbl_copyfromptr(srcptr,srcp1,srcp2); in dbl_to_sgl_fcnvff() 150 if (Dbl_iszero_mantissa(srcp1,srcp2)) { in dbl_to_sgl_fcnvff() 174 Sgl_set_mantissa(result,Dallp1(srcp1)<<3 | Dallp2(srcp2)>>29); in dbl_to_sgl_fcnvff() 184 Dbl_to_sgl_mantissa(srcp1,srcp2,dest_mantissa,inexact,guardbit, in dbl_to_sgl_fcnvff() 188 if (Dbl_iszero_exponentmantissa(srcp1,srcp2)){ in dbl_to_sgl_fcnvff() 194 Dbl_to_sgl_mantissa(srcp1,srcp2,dest_mantissa,inexact, in dbl_to_sgl_fcnvff() 201 Dbl_to_sgl_denormalized(srcp1,srcp2,dest_exponent, in dbl_to_sgl_fcnvff()
|
/linux-6.6.21/include/linux/ |
D | cpumask.h | 184 unsigned int cpumask_first_and(const struct cpumask *srcp1, const struct cpumask *srcp2) in cpumask_first_and() argument 186 return find_first_and_bit(cpumask_bits(srcp1), cpumask_bits(srcp2), small_cpumask_bits); in cpumask_first_and() 412 const struct cpumask *srcp2) in cpumask_nth_and() argument 414 return find_nth_and_bit(cpumask_bits(srcp1), cpumask_bits(srcp2), in cpumask_nth_and() 428 const struct cpumask *srcp2) in cpumask_nth_andnot() argument 430 return find_nth_andnot_bit(cpumask_bits(srcp1), cpumask_bits(srcp2), in cpumask_nth_andnot() 445 const struct cpumask *srcp2, in cpumask_nth_and_andnot() argument 449 cpumask_bits(srcp2), in cpumask_nth_and_andnot() 701 const struct cpumask *srcp2) in cpumask_weight_and() argument 703 return bitmap_weight_and(cpumask_bits(srcp1), cpumask_bits(srcp2), small_cpumask_bits); in cpumask_weight_and()
|