/gem5/ext/systemc/src/sysc/datatypes/int/ |
H A D | sc_nbcommon.inc | 52 sc_value_base(), sgn(), nbits(), ndigits(), digit() 63 ndigits = DIV_CEIL(nbits); 67 digit = new sc_digit[ndigits]; 75 sc_value_base(v), sgn(v.sgn), nbits(v.nbits), ndigits(v.ndigits), digit() 78 digit = new sc_digit[ndigits]; 81 vec_copy(ndigits, digit, v.digit); 87 sc_value_base(v), sgn(v.sgn), nbits(num_bits(v.nbits)), ndigits(), digit() 90 ndigits = v.ndigits; [all...] |
H A D | sc_unsigned.cpp | 248 left_word = (src_i < ndigits) ? digit[src_i] : 0; 285 right_word = (src_i < ndigits) ? 312 left_word = (src_i < ndigits) ? 377 if ( ndigits > 2 ) 379 if ( ndigits > 1 ) 427 for ( i = 0; i < ndigits-1; i++ ) 487 vec_zero(ndigits, digit); 490 from_uint(ndigits, digit, (uint64) v); 501 vec_zero(ndigits, digit); 505 from_uint(ndigits, digi [all...] |
H A D | sc_signed.cpp | 239 left_word = (src_i < ndigits) ? digit[src_i] : 0; 277 right_word = (src_i < ndigits) ? 304 left_word = (src_i < ndigits) ? 371 if ( ndigits > 2 ) 373 if ( ndigits > 1 ) 379 if ( ndigits > 2 ) 381 if ( ndigits > 1 ) 437 for ( i = 0; i < ndigits-1; i++ ) 504 vec_zero(ndigits, digit); 506 from_uint(ndigits, digi [all...] |
H A D | sc_signed.h | 2163 int ndigits; // Shortened as nd. member in class:sc_dt::sc_signed 2195 { copy_digits_signed(sgn, nbits, ndigits, digit, nb, nd, d); } 2198 { sgn = make_zero(ndigits, digit); } 2203 { sgn = convert_signed_2C_to_SM(nbits, ndigits, digit); } 2206 { sgn = convert_signed_SM_to_2C_to_SM(sgn, nbits, ndigits, digit); } 2209 { convert_signed_SM_to_2C(sgn, ndigits, digit); } 2350 ndigits = DIV_CEIL(nbits); 2354 digit = new sc_digit[ndigits];
|
H A D | sc_unsigned.h | 1952 int ndigits; // Shortened as nd. member in class:sc_dt::sc_unsigned 1984 { copy_digits_unsigned(sgn, nbits, ndigits, digit, nb, nd, d); } 1987 { sgn = make_zero(ndigits, digit); } 1992 { sgn = convert_unsigned_2C_to_SM(nbits, ndigits, digit); } 1995 { sgn = convert_unsigned_SM_to_2C_to_SM(sgn, nbits, ndigits, digit); } 1998 { convert_unsigned_SM_to_2C(sgn, ndigits, digit); } 2160 ndigits = DIV_CEIL(nbits); 2164 digit = new sc_digit[ndigits];
|
/gem5/src/systemc/dt/int/ |
H A D | sc_nbcommon.inc | 52 sc_value_base(), sgn(), nbits(), ndigits(), digit() 61 ndigits = DIV_CEIL(nbits); 65 digit = new sc_digit[ndigits]; 73 sc_value_base(v), sgn(v.sgn), nbits(v.nbits), ndigits(v.ndigits), digit() 76 digit = new sc_digit[ndigits]; 79 vec_copy(ndigits, digit, v.digit); 85 sc_value_base(v), sgn(v.sgn), nbits(num_bits(v.nbits)), ndigits(), digit() 88 ndigits = v.ndigits; [all...] |
H A D | sc_unsigned.cc | 251 left_word = (src_i < ndigits) ? digit[src_i] : 0; 280 right_word = (src_i < ndigits) ? 302 left_word = (src_i < ndigits) ? 347 if (ndigits > 2) 349 if (ndigits > 1) 403 for (i = 0; i < ndigits - 1; i++) 464 vec_zero(ndigits, digit); 466 from_uint(ndigits, digit, (uint64) v); 477 vec_zero(ndigits, digit); 480 from_uint(ndigits, digi [all...] |
H A D | sc_signed.cc | 236 left_word = (src_i < ndigits) ? digit[src_i] : 0; 264 right_word = (src_i < ndigits) ? 286 left_word = (src_i < ndigits) ? 331 if (ndigits > 2) 333 if (ndigits > 1) 339 if (ndigits > 2) 341 if (ndigits > 1) 400 for (i = 0; i < ndigits-1; i++) { 467 vec_zero(ndigits, digit); 469 from_uint(ndigits, digi [all...] |
/gem5/ext/systemc/src/sysc/datatypes/misc/ |
H A D | sc_concatref.h | 245 result_p->ndigits = DIV_CEIL(result_p->nbits); 247 sizeof(sc_digit)*result_p->ndigits ); 250 memset( result_p->digit, 0, sizeof(sc_digit)*result_p->ndigits ); 252 result_p->digit[result_p->ndigits-1] = 0;
|
/gem5/src/systemc/ext/dt/misc/ |
H A D | sc_concatref.hh | 256 result_p->ndigits = DIV_CEIL(result_p->nbits); 258 sizeof(sc_digit) * result_p->ndigits); 259 result_p->digit[result_p->ndigits - 1] = 0;
|
/gem5/src/systemc/ext/dt/int/ |
H A D | sc_signed.hh | 2288 int ndigits; // Shortened as nd. member in class:sc_dt::sc_signed 2320 copy_digits_signed(sgn, nbits, ndigits, digit, nb, nd, d); 2323 void makezero() { sgn = make_zero(ndigits, digit); } 2330 sgn = convert_signed_2C_to_SM(nbits, ndigits, digit); 2336 sgn = convert_signed_SM_to_2C_to_SM(sgn, nbits, ndigits, digit); 2342 convert_signed_SM_to_2C(sgn, ndigits, digit); 2476 ndigits = DIV_CEIL(nbits); 2480 digit = new sc_digit[ndigits];
|
H A D | sc_unsigned.hh | 1968 int ndigits; // Shortened as nd. member in class:sc_dt::sc_unsigned 2000 copy_digits_unsigned(sgn, nbits, ndigits, digit, nb, nd, d); 2003 void makezero() { sgn = make_zero(ndigits, digit); } 2010 sgn = convert_unsigned_2C_to_SM(nbits, ndigits, digit); 2016 sgn = convert_unsigned_SM_to_2C_to_SM(sgn, nbits, ndigits, digit); 2019 void convert_SM_to_2C() { convert_unsigned_SM_to_2C(sgn, ndigits, digit); } 2169 ndigits = DIV_CEIL(nbits); 2173 digit = new sc_digit[ndigits];
|