/gem5/ext/systemc/src/sysc/kernel/ |
H A D | sc_macros.h | 47 sc_max( const T& a, const T& b ) function in namespace:sc_dt
|
/gem5/src/systemc/ext/utils/ |
H A D | functions.hh | 58 const T sc_max(const T &a, const T &b) { return ((a >= b) ? a : b); } function in namespace:sc_dt
|
H A D | _using.hh | 86 using sc_dt::sc_max;
|
/gem5/src/systemc/tests/systemc/compliance_1666/test228/ |
H A D | test228.cpp | 45 sc_assert(sc_max(1, 2) == 2);
|
/gem5/ext/systemc/src/sysc/datatypes/int/ |
H A D | sc_nbexterns.cpp | 316 int nd = sc_max(und, vnd) + 1; 339 COPY_DIGITS(us, unb, old_und, ud, sc_max(unb, vnb), nd - 1, d); 386 int nd = sc_max(und, vnd) + 1; 409 COPY_DIGITS(us, unb, old_und, ud, sc_max(unb, vnb), nd - 1, d); 468 int nd = sc_max(und, vnd) + 1; 546 int nd = sc_max(und, vnd) + 1;
|
H A D | sc_nbcommon.inc | 2657 r = sc_max( r, 0 ); 2805 r = sc_max( r, 0 );
|
H A D | sc_nbutils.cpp | 627 // - wlen >= sc_max(ulen, vlen) + 1 822 // - wlen >= sc_max(ulen, vlen) 1053 NOTE: sc_max(prod_l, prod_h, carry) <= 2 * x^2 - 1, so any 1858 r = sc_max(r, 0);
|
/gem5/src/systemc/dt/int/ |
H A D | sc_nbexterns.cc | 278 int nd = sc_max(und, vnd) + 1; 298 COPY_DIGITS(us, unb, old_und, ud, sc_max(unb, vnb), nd - 1, d); 337 int nd = sc_max(und, vnd) + 1; 357 COPY_DIGITS(us, unb, old_und, ud, sc_max(unb, vnb), nd - 1, d); 406 int nd = sc_max(und, vnd) + 1; 473 int nd = sc_max(und, vnd) + 1;
|
H A D | sc_nbutils.cc | 620 // - wlen >= sc_max(ulen, vlen) + 1 800 // - wlen >= sc_max(ulen, vlen) 1015 NOTE: sc_max(prod_l, prod_h, carry) <= 2 * x^2 - 1, so any 1713 r = sc_max(r, 0);
|
/gem5/src/systemc/tests/systemc/compliance_1666/test00/ |
H A D | test00.cpp | 46 using sc_dt::sc_max;
318 sc_assert(sc_max(-1,1) == 1);
322 sc_assert(sc_max(sc_int<8>(-1),sc_int<8>(1)) == sc_int<8>(1));
326 sc_assert(sc_max(sc_bigint<256>(-1),sc_bigint<256>(1)) == sc_bigint<256>(1));
|
/gem5/ext/systemc/src/sysc/datatypes/fx/ |
H A D | scfx_rep.cpp | 661 resize_to( sc_max( min_mant, n_word( 4 * length ) ) ); 1575 int new_size = sc_max( min_mant, len_lhs + len_rhs ); 1657 result.resize_to( sc_max( n_word( div_wl ) + 1, min_mant ) ); 2272 int upper_bound = sc_max( upper_bound_lhs, upper_bound_rhs ); 2275 len_mant = sc_max( min_mant, upper_bound - lower_bound + 1 );
|
H A D | sc_fix.h | 1064 int iwl_c = sc_max( iwl_a, iwl_b ); \ 1065 int fwl_c = sc_max( a.wl() - iwl_a, b.wl() - iwl_b ); \ 1778 int iwl_c = sc_max( iwl_a, iwl_b ); \ 1779 int fwl_c = sc_max( a.wl() - iwl_a, b.wl() - iwl_b ); \
|
H A D | sc_ufix.h | 1067 int iwl_c = sc_max( iwl_a, iwl_b ); \ 1068 int fwl_c = sc_max( a.wl() - iwl_a, b.wl() - iwl_b ); \ 1781 int iwl_c = sc_max( iwl_a, iwl_b ); \ 1782 int fwl_c = sc_max( a.wl() - iwl_a, b.wl() - iwl_b ); \
|
H A D | sc_fxnum.h | 1866 m_bv( *new sc_bv_base( sc_max( m_from, m_to ) - 2217 m_bv( *new sc_bv_base( sc_max( m_from, m_to ) -
|
/gem5/src/systemc/dt/fx/ |
H A D | scfx_rep.cc | 608 resize_to(sc_max(min_mant, n_word(4 * length))); 1449 int new_size = sc_max(min_mant, len_lhs + len_rhs); 1525 result.resize_to(sc_max(n_word(div_wl) + 1, min_mant)); 2064 int upper_bound = sc_max(upper_bound_lhs, upper_bound_rhs); 2067 len_mant = sc_max(min_mant, upper_bound - lower_bound + 1);
|
/gem5/ext/systemc/src/ |
H A D | systemc.h | 246 using sc_dt::sc_max;
|
/gem5/src/systemc/ext/dt/fx/ |
H A D | sc_fix.hh | 718 int iwl_c = sc_max(iwl_a, iwl_b); \ 719 int fwl_c = sc_max(a.wl() - iwl_a, b.wl() - iwl_b); \ 1205 int iwl_c = sc_max(iwl_a, iwl_b); \ 1206 int fwl_c = sc_max(a.wl() - iwl_a, b.wl() - iwl_b); \
|
H A D | sc_ufix.hh | 730 int iwl_c = sc_max(iwl_a, iwl_b); \ 731 int fwl_c = sc_max(a.wl() - iwl_a, b.wl() - iwl_b); \ 1216 int iwl_c = sc_max(iwl_a, iwl_b); \ 1217 int fwl_c = sc_max(a.wl() - iwl_a, b.wl() - iwl_b); \
|
H A D | sc_fxnum.hh | 1594 m_bv(*new sc_bv_base(sc_max(m_from, m_to) - sc_min(m_from, m_to) + 1)) 1883 m_bv(*new sc_bv_base(sc_max(m_from, m_to) - sc_min(m_from, m_to) + 1))
|
/gem5/src/systemc/ext/dt/bit/ |
H A D | sc_bit_proxies.hh | 2246 n2 = sc_max(n1 - SC_DIGIT_SIZE, m_hi - 1); 2269 n2 = sc_max(n1 - SC_DIGIT_SIZE, m_hi - 1); 2297 n2 = sc_max(n1 - SC_DIGIT_SIZE, m_hi - 1); 2320 n2 = sc_max(n1 - SC_DIGIT_SIZE, m_hi - 1);
|
/gem5/ext/systemc/src/sysc/datatypes/bit/ |
H A D | sc_bit_proxies.h | 2535 n2 = sc_max( n1 - SC_DIGIT_SIZE, m_hi - 1 ); 2559 n2 = sc_max( n1 - SC_DIGIT_SIZE, m_hi - 1 ); 2588 n2 = sc_max( n1 - SC_DIGIT_SIZE, m_hi - 1 ); 2612 n2 = sc_max( n1 - SC_DIGIT_SIZE, m_hi - 1 );
|