Searched refs:sc_max (Results 1 - 21 of 21) sorted by relevance

/gem5/ext/systemc/src/sysc/kernel/
H A Dsc_macros.h47 sc_max( const T& a, const T& b ) function in namespace:sc_dt
/gem5/src/systemc/ext/utils/
H A Dfunctions.hh58 const T sc_max(const T &a, const T &b) { return ((a >= b) ? a : b); } function in namespace:sc_dt
H A D_using.hh86 using sc_dt::sc_max;
/gem5/src/systemc/tests/systemc/compliance_1666/test228/
H A Dtest228.cpp45 sc_assert(sc_max(1, 2) == 2);
/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_nbexterns.cpp316 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 Dsc_nbcommon.inc2657 r = sc_max( r, 0 );
2805 r = sc_max( r, 0 );
H A Dsc_nbutils.cpp627 // - 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 Dsc_nbexterns.cc278 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 Dsc_nbutils.cc620 // - 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 Dtest00.cpp46 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 Dscfx_rep.cpp661 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 Dsc_fix.h1064 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 Dsc_ufix.h1067 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 Dsc_fxnum.h1866 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 Dscfx_rep.cc608 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 Dsystemc.h246 using sc_dt::sc_max;
/gem5/src/systemc/ext/dt/fx/
H A Dsc_fix.hh718 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 Dsc_ufix.hh730 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 Dsc_fxnum.hh1594 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 Dsc_bit_proxies.hh2246 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 Dsc_bit_proxies.h2535 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 );

Completed in 112 milliseconds