/gem5/ext/systemc/src/sysc/datatypes/int/ |
H A D | sc_nbutils.h | 756 make_zero(int nd, sc_digit *d) argument 758 vec_zero(nd, d); 774 trim(small_type added, int nb, int nd, sc_digit *d) argument 777 assert((nb > 0) && (nd > 0) && (d != NULL)); 780 d[nd - 1] &= one_and_ones(bit_ord(nb - 1) + added); 788 small_type s, int nb, int nd, sc_digit *d) 791 vec_complement(nd, d); 792 trim(added, nb, nd, d); 800 convert_SM_to_2C(small_type s, int nd, sc_digit *d) argument 803 vec_complement(nd, 787 convert_SM_to_2C_trimmed(small_type added, small_type s, int nb, int nd, sc_digit *d) argument 815 trim_signed(int nb, int nd, sc_digit *d) argument 829 convert_signed_2C_to_SM(int nb, int nd, sc_digit *d) argument 865 convert_signed_SM_to_2C_to_SM(small_type s, int nb, int nd, sc_digit *d) argument 875 convert_signed_SM_to_2C_trimmed(small_type s, int nb, int nd, sc_digit *d) argument 884 convert_signed_SM_to_2C(small_type s, int nd, sc_digit *d) argument 898 trim_unsigned(int nb, int nd, sc_digit *d) argument 912 convert_unsigned_2C_to_SM(int nb, int nd, sc_digit *d) argument 924 convert_unsigned_SM_to_2C_to_SM(small_type s, int nb, int nd, sc_digit *d) argument 934 convert_unsigned_SM_to_2C_trimmed(small_type s, int nb, int nd, sc_digit *d) argument 943 convert_unsigned_SM_to_2C(small_type s, int nd, sc_digit *d) argument [all...] |
H A D | sc_nbexterns.cpp | 168 int nd = und + vnd; local 173 sc_digit *d = new sc_digit[nd]; 176 vec_zero(nd, d); 190 COPY_DIGITS(us, unb, old_und, ud, unb + vnb, nd, d); 243 int nd = und + vnd; local 248 sc_digit *d = new sc_digit[nd]; 251 vec_zero(nd, d); 265 COPY_DIGITS(us, unb, old_und, ud, unb + vnb, nd, d); 316 int nd = sc_max(und, vnd) + 1; local 321 sc_digit *d = new sc_digit[nd]; 386 int nd = sc_max(und, vnd) + 1; local 468 int nd = sc_max(und, vnd) + 1; local 546 int nd = sc_max(und, vnd) + 1; local [all...] |
H A D | sc_nbcommon.inc | 1579 int nd = u.ndigits; 1584 sc_digit *d = new sc_digit[nd]; 1587 vec_copy(nd, d, u.digit); 1592 vec_add_small_on(nd, d, 1); 1598 vec_sub_small_on(nd, d, 1); 1600 if (check_for_zero(nd, d)) 1605 return CLASS_TYPE(s, u.nbits, nd, d); 1717 int nd = DIV_CEIL(nb); 1723 sc_digit *d = new sc_digit[nd]; 1726 vec_copy_and_zero(nd, [all...] |
H A D | sc_nbutils.cpp | 1724 int nd; 1727 nd = nsl / BITS_PER_DIGIT; // No need to use DIV_CEIL(nsl). 1731 nd = DIV_CEIL(nsl) - 1; 1732 nsl -= nd * BITS_PER_DIGIT; 1735 if (nd) { 1737 // Shift left for nd digits. 1738 for (int j = ulen - 1; j >= nd; --j) 1739 u[j] = u[j - nd]; 1741 vec_zero( sc_min( nd, ulen ), u ); 1788 int nd; [all...] |
H A D | sc_signed_subref.inc | 247 int nd = DIV_CEIL(nb); 252 sc_digit *d = new sc_digit[nd]; 260 while (floor(v) && (i < nd)) { 269 vec_zero(i, nd, d);
|
H A D | sc_unsigned_subref.inc | 247 int nd = DIV_CEIL(nb); 252 sc_digit *d = new sc_digit[nd]; 260 while (floor(v) && (i < nd)) { 269 vec_zero(i, nd, d);
|
H A D | sc_unsigned.cpp | 2097 int nd = (us == SC_NEG ? und : vnd); local 2102 sc_digit *d = new sc_digit[nd]; 2107 vec_copy(nd, d, ud); 2108 vec_complement(nd, d); 2109 trim(if_u_signed, unb, nd, d); 2110 cmp_res = vec_skip_and_cmp(nd, d, vnd, vd); 2115 vec_copy(nd, d, vd); 2116 vec_complement(nd, d); 2117 trim(if_v_signed, vnb, nd, d); 2118 cmp_res = vec_skip_and_cmp(und, ud, nd, [all...] |
H A D | sc_signed.h | 2163 int ndigits; // Shortened as nd. 2178 sc_signed(small_type s, int nb, int nd, 2194 void copy_digits(int nb, int nd, const sc_digit *d) argument 2195 { copy_digits_signed(sgn, nbits, ndigits, digit, nb, nd, d); }
|
H A D | sc_unsigned.h | 1952 int ndigits; // Shortened as nd. 1967 sc_unsigned(small_type s, int nb, int nd, 1983 void copy_digits(int nb, int nd, const sc_digit *d) argument 1984 { copy_digits_unsigned(sgn, nbits, ndigits, digit, nb, nd, d); }
|
/gem5/src/systemc/ext/dt/int/ |
H A D | sc_nbutils.hh | 571 make_zero(int nd, sc_digit *d) argument 573 vec_zero(nd, d); 588 trim(small_type added, int nb, int nd, sc_digit *d) argument 591 sc_assert((nb > 0) && (nd > 0) && (d != NULL)); 593 d[nd - 1] &= one_and_ones(bit_ord(nb - 1) + added); 600 small_type s, int nb, int nd, sc_digit *d) 603 vec_complement(nd, d); 604 trim(added, nb, nd, d); 611 convert_SM_to_2C(small_type s, int nd, sc_digit *d) argument 614 vec_complement(nd, 599 convert_SM_to_2C_trimmed(small_type added, small_type s, int nb, int nd, sc_digit *d) argument 625 trim_signed(int nb, int nd, sc_digit *d) argument 637 convert_signed_2C_to_SM(int nb, int nd, sc_digit *d) argument 670 convert_signed_SM_to_2C_to_SM(small_type s, int nb, int nd, sc_digit *d) argument 679 convert_signed_SM_to_2C_trimmed(small_type s, int nb, int nd, sc_digit *d) argument 687 convert_signed_SM_to_2C(small_type s, int nd, sc_digit *d) argument 700 trim_unsigned(int nb, int nd, sc_digit *d) argument 713 convert_unsigned_2C_to_SM(int nb, int nd, sc_digit *d) argument 724 convert_unsigned_SM_to_2C_to_SM(small_type s, int nb, int nd, sc_digit *d) argument 733 convert_unsigned_SM_to_2C_trimmed(small_type s, int nb, int nd, sc_digit *d) argument 741 convert_unsigned_SM_to_2C(small_type s, int nd, sc_digit *d) argument [all...] |
H A D | sc_signed.hh | 2288 int ndigits; // Shortened as nd. 2305 sc_signed(small_type s, int nb, int nd, sc_digit *d, bool alloc=true); 2318 copy_digits(int nb, int nd, const sc_digit *d) argument 2320 copy_digits_signed(sgn, nbits, ndigits, digit, nb, nd, d);
|
H A D | sc_unsigned.hh | 1968 int ndigits; // Shortened as nd. 1983 sc_unsigned(small_type s, int nb, int nd, sc_digit *d, bool alloc=true); 1998 copy_digits(int nb, int nd, const sc_digit *d) argument 2000 copy_digits_unsigned(sgn, nbits, ndigits, digit, nb, nd, d);
|
/gem5/src/systemc/dt/int/ |
H A D | sc_nbexterns.cc | 153 int nd = und + vnd; local 158 sc_digit *d = new sc_digit[nd]; 161 vec_zero(nd, d); 172 COPY_DIGITS(us, unb, old_und, ud, unb + vnb, nd, d); 216 int nd = und + vnd; local 221 sc_digit *d = new sc_digit[nd]; 224 vec_zero(nd, d); 235 COPY_DIGITS(us, unb, old_und, ud, unb + vnb, nd, d); 278 int nd = sc_max(und, vnd) + 1; local 283 sc_digit *d = new sc_digit[nd]; 337 int nd = sc_max(und, vnd) + 1; local 406 int nd = sc_max(und, vnd) + 1; local 473 int nd = sc_max(und, vnd) + 1; local [all...] |
H A D | sc_nbcommon.inc | 1344 int nd = u.ndigits; 1349 sc_digit *d = new sc_digit[nd]; 1352 vec_copy(nd, d, u.digit); 1355 vec_add_small_on(nd, d, 1); 1358 vec_sub_small_on(nd, d, 1); 1359 if (check_for_zero(nd, d)) 1362 return CLASS_TYPE(s, u.nbits, nd, d); 1462 int nd = DIV_CEIL(nb); 1468 sc_digit *d = new sc_digit[nd]; 1471 vec_copy_and_zero(nd, [all...] |
H A D | sc_nbutils.cc | 1598 int nd; 1600 nd = nsl / BITS_PER_DIGIT; // No need to use DIV_CEIL(nsl). 1603 nd = DIV_CEIL(nsl) - 1; 1604 nsl -= nd * BITS_PER_DIGIT; 1607 if (nd) { 1608 // Shift left for nd digits. 1609 for (int j = ulen - 1; j >= nd; --j) 1610 u[j] = u[j - nd]; 1612 vec_zero(sc_min(nd, ulen), u); 1652 int nd; [all...] |
H A D | sc_signed_subref.inc | 251 int nd = DIV_CEIL(nb); 256 sc_digit *d = new sc_digit[nd]; 264 while (std::floor(v) && (i < nd)) { 273 vec_zero(i, nd, d);
|
H A D | sc_unsigned_subref.inc | 250 int nd = DIV_CEIL(nb); 255 sc_digit *d = new sc_digit[nd]; 262 while (std::floor(v) && (i < nd)) { 266 vec_zero(i, nd, d);
|
H A D | sc_unsigned.cc | 2130 int nd = (us == SC_NEG ? und : vnd); local 2135 sc_digit *d = new sc_digit[nd]; 2139 vec_copy(nd, d, ud); 2140 vec_complement(nd, d); 2141 trim(if_u_signed, unb, nd, d); 2142 cmp_res = vec_skip_and_cmp(nd, d, vnd, vd); 2144 vec_copy(nd, d, vd); 2145 vec_complement(nd, d); 2146 trim(if_v_signed, vnb, nd, d); 2147 cmp_res = vec_skip_and_cmp(und, ud, nd, [all...] |
/gem5/src/systemc/tests/systemc/misc/unit/data/user_guide/ch9/std_ulogic_datatype/ |
H A D | std_ulogic_datatype.cpp | 522 std_ulogic nu, nx, n0, n1, nz, nw, nl, nh, nd; local 532 nd = ~v9;
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | numpy.h | 63 int nd; member in struct:PyArray_Proxy 634 return detail::array_proxy(m_ptr)->nd; 1526 ssize_t nd = 0; 1528 auto trivial = broadcast(buffers, nd, shape); 1529 size_t ndim = (size_t) nd;
|
/gem5/ext/ply/ply/ |
H A D | yacc.py | 1716 # non-terminal. See the Dragon book, 2nd Ed. p. 189. 2568 for s,nd in self.lr_action.items(): 2569 for name,v in nd.items(): 2608 for s,nd in self.lr_goto.items(): 2609 for name,v in nd.items():
|