/gem5/ext/systemc/src/sysc/datatypes/int/ |
H A D | sc_nbexterns.h | 70 int unb, int und, sc_digit *ud, 76 int unb, int und, sc_digit *ud, 80 int unb, int und, sc_digit *ud, 85 int unb, int und, sc_digit *ud, 90 int unb, int und, sc_digit *ud, 94 int unb, int und, sc_digit *ud, 99 int unb, int und, sc_digit *ud, 104 int unb, int und, sc_digit *ud, 110 int unb, int und, sc_digit *ud, 116 int unb, in [all...] |
H A D | sc_nbexterns.cpp | 67 add_on_help(small_type &us, int /* unb */, int und, 131 int unb, int und, 150 us = CONVERT_SM_to_2C_to_SM(us, unb, old_und, ud); 155 COPY_DIGITS(us, unb, old_und, ud, vnb, vnd, vd); 163 COPY_DIGITS(us, unb, old_und, ud, unb + vnb, 1, &d); 190 COPY_DIGITS(us, unb, old_und, ud, unb + vnb, nd, d); 206 int unb, int und, 225 us = CONVERT_SM_to_2C_to_SM(us, unb, old_un 130 mul_on_help_signed(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) argument 205 mul_on_help_unsigned(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) argument 284 div_on_help_signed(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) argument 354 div_on_help_unsigned(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) argument 428 mod_on_help_signed(small_type &us, int unb, int und, sc_digit *ud, int , int vnd, const sc_digit *vd) argument 506 mod_on_help_unsigned(small_type &us, int unb, int und, sc_digit *ud, int , int vnd, const sc_digit *vd) argument [all...] |
H A D | sc_nbutils.h | 185 vec_from_str(int unb, int und, sc_digit *u, 338 vec_reverse(int unb, int und, sc_digit *ud, 957 int unb, int und, sc_digit *ud, 965 if (unb <= vnb) 966 us = convert_signed_SM_to_2C_to_SM(us, unb, und, ud); 978 int unb, int und, sc_digit *ud, 988 us = convert_unsigned_SM_to_2C_to_SM(us, unb, und, ud); 956 copy_digits_signed(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) argument 977 copy_digits_unsigned(small_type &us, int unb, int und, sc_digit *ud, int , int vnd, const sc_digit *vd) argument
|
H A D | sc_nbfriends.inc | 56 // us : u's sign, unb : u's number of bits, 66 ADD_HELPER(small_type us, int unb, int und, 75 int nb = sc_max(unb, vnb); 150 int unb, int und, 159 int nb = unb + vnb; 208 int unb, int und, 254 return CLASS_TYPE(s, sc_max(unb, vnb), nd - 1, d); 266 int unb, int und, 320 return CLASS_TYPE(us, sc_min(unb, vnb), nd - 1, d); 332 int unb, in [all...] |
H A D | sc_nbutils.cpp | 548 vec_from_str(int unb, int und, sc_digit *u, argument 553 assert((unb > 0) && (und > 0) && (u != NULL)); 617 return convert_signed_SM_to_2C_to_SM(s, unb, und, u); 1840 vec_reverse(int unb, int und, sc_digit *ud, 1845 assert((unb > 0) && (und > 0) && (ud != NULL)); 1846 assert((0 <= r) && (r <= l) && (l < unb)); 1859 l = sc_min(l, unb - 1);
|
H A D | sc_unsigned.h | 141 int unb, 152 int unb, 161 int unb, 170 int unb, 178 int unb, 186 int unb, 194 int unb, 204 int unb, 213 int unb, 1866 int unb, [all...] |
H A D | sc_signed.h | 136 int unb, 145 int unb, 154 int unb, 162 int unb, 170 int unb, 178 int unb, 187 int unb, 196 int unb, 2091 int unb, 2100 int unb, [all...] |
H A D | sc_unsigned.cpp | 2064 int unb, int und, const sc_digit *ud, 2109 trim(if_u_signed, unb, nd, d); 2063 compare_unsigned(small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd, small_type if_u_signed, small_type if_v_signed) argument
|
/gem5/src/systemc/ext/dt/int/ |
H A D | sc_nbexterns.hh | 67 small_type &us, int unb, int und, sc_digit *ud, 71 small_type &us, int unb, int und, sc_digit *ud, 75 small_type &us, int unb, int und, sc_digit *ud, 79 small_type &us, int unb, int und, sc_digit *ud, 83 small_type &us, int unb, int und, sc_digit *ud, 87 small_type &us, int unb, int und, sc_digit *ud, 91 small_type &us, int unb, int und, sc_digit *ud, 95 small_type us, int unb, int und, sc_digit *ud, 99 small_type us, int unb, int und, sc_digit *ud, 103 small_type us, int unb, in [all...] |
H A D | sc_nbutils.hh | 137 vec_from_str(int unb, int und, sc_digit *u, 221 extern void vec_reverse(int unb, int und, sc_digit *ud, int l, int r=0); 754 int unb, int und, sc_digit *ud, 760 if (unb <= vnb) 761 us = convert_signed_SM_to_2C_to_SM(us, unb, und, ud); 770 int unb, int und, sc_digit *ud, 778 us = convert_unsigned_SM_to_2C_to_SM(us, unb, und, ud); 753 copy_digits_signed(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) argument 769 copy_digits_unsigned(small_type &us, int unb, int und, sc_digit *ud, int , int vnd, const sc_digit *vd) argument
|
H A D | sc_unsigned.hh | 152 int compare_unsigned(small_type us, int unb, int und, const sc_digit *ud, 157 small_type us, int unb, int und, const sc_digit *ud, 161 small_type us, int unb, int und, const sc_digit *ud, 165 small_type s, int unb, int und, const sc_digit *ud, 169 small_type s, int unb, int und, const sc_digit *ud, 173 small_type us, int unb, int und, const sc_digit *ud, 177 small_type us, int unb, int und, const sc_digit *ud, 182 small_type us, int unb, int und, const sc_digit *ud, 186 small_type us, int unb, int und, const sc_digit *ud, 1926 small_type us, int unb, in [all...] |
H A D | sc_signed.hh | 147 small_type us, int unb, int und, const sc_digit *ud, 151 small_type us, int unb, int und, const sc_digit *ud, 155 small_type s, int unb, int und, const sc_digit *ud, 159 small_type s, int unb, int und, const sc_digit *ud, 163 small_type us, int unb, int und, const sc_digit *ud, 167 small_type us, int unb, int und, const sc_digit *ud, 171 small_type us, int unb, int und, const sc_digit *ud, 175 small_type us, int unb, int und, const sc_digit *ud, 2253 small_type us, int unb, int und, const sc_digit *ud, 2257 small_type us, int unb, in [all...] |
/gem5/src/systemc/dt/int/ |
H A D | sc_nbexterns.cc | 66 add_on_help(small_type &us, int /* unb */, int und, sc_digit *ud, 121 mul_on_help_signed(small_type &us, int unb, int und, sc_digit *ud, argument 136 us = CONVERT_SM_to_2C_to_SM(us, unb, old_und, ud); 141 COPY_DIGITS(us, unb, old_und, ud, vnb, vnd, vd); 149 COPY_DIGITS(us, unb, old_und, ud, unb + vnb, 1, &d); 172 COPY_DIGITS(us, unb, old_und, ud, unb + vnb, nd, d); 184 mul_on_help_unsigned(small_type &us, int unb, int und, sc_digit *ud, argument 199 us = CONVERT_SM_to_2C_to_SM(us, unb, old_un 251 div_on_help_signed(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) argument 310 div_on_help_unsigned(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) argument 373 mod_on_help_signed(small_type &us, int unb, int und, sc_digit *ud, int , int vnd, const sc_digit *vd) argument 439 mod_on_help_unsigned(small_type &us, int unb, int und, sc_digit *ud, int , int vnd, const sc_digit *vd) argument [all...] |
H A D | sc_nbfriends.inc | 56 // us : u's sign, unb : u's number of bits, 66 ADD_HELPER(small_type us, int unb, int und, const sc_digit *ud, 72 int nb = sc_max(unb, vnb); 132 MUL_HELPER(small_type s, int unb, int und, const sc_digit *ud, 138 int nb = unb + vnb; 179 DIV_HELPER(small_type s, int unb, int und, const sc_digit *ud, 217 return CLASS_TYPE(s, sc_max(unb, vnb), nd - 1, d); 227 MOD_HELPER(small_type us, int unb, int und, const sc_digit *ud, 273 return CLASS_TYPE(us, sc_min(unb, vnb), nd - 1, d); 284 AND_HELPER(small_type us, int unb, in [all...] |
H A D | sc_nbutils.cc | 545 vec_from_str(int unb, int und, sc_digit *u, const char *v, sc_numrep base) argument 549 sc_assert((unb > 0) && (und > 0) && (u != NULL)); 610 return convert_signed_SM_to_2C_to_SM(s, unb, und, u); 1697 vec_reverse(int unb, int und, sc_digit *ud, int l, int r) 1700 sc_assert((unb > 0) && (und > 0) && (ud != NULL)); 1701 sc_assert((0 <= r) && (r <= l) && (l < unb)); 1714 l = sc_min(l, unb - 1);
|
H A D | sc_unsigned.cc | 2109 compare_unsigned(small_type us, int unb, int und, const sc_digit *ud, argument 2141 trim(if_u_signed, unb, nd, d);
|