Searched refs:sc_min (Results 1 - 25 of 40) sorted by relevance

12

/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_signed_subref.inc174 int l = sc_min( m_left, v.nbits - 1 + m_right );
192 int l = sc_min( m_left, v.nbits - 1 + m_right );
321 l = sc_min( m_left, (63-low_i) + m_right );
343 l = sc_min( m_left, l + m_right );
364 l = sc_min( m_left, l + m_right );
385 l = sc_min( m_left, (63-low_i) + m_right );
H A Dsc_unsigned_subref.inc175 int l = sc_min( m_left, v.nbits - 1 + m_right );
192 int l = sc_min( m_left, v.nbits - 1 + m_right );
320 l = sc_min( m_left, (63-low_i) + m_right );
343 l = sc_min( m_left, l + m_right );
364 l = sc_min( m_left, l + m_right );
384 l = sc_min( m_left, (63-low_i) + m_right );
H A Dsc_int_base.cpp476 int minlen = sc_min( m_len, a.length() );
493 int minlen = sc_min( m_len, a.length() );
510 int minlen = sc_min( m_len, a.length() );
526 int minlen = sc_min( m_len, a.length() );
H A Dsc_uint_base.cpp447 int minlen = sc_min( m_len, a.length() );
464 int minlen = sc_min( m_len, a.length() );
481 int minlen = sc_min( m_len, a.length() );
497 int minlen = sc_min( m_len, a.length() );
H A Dsc_nbutils.cpp919 const sc_digit *uend = (u + sc_min(ulen, vlen));
1741 vec_zero( sc_min( nd, ulen ), u );
1806 for (int j = ulen - sc_min( nd, ulen ); j < ulen; ++j)
1810 vec_zero(ulen - sc_min( nd, ulen ), ulen, u);
1859 l = sc_min(l, unb - 1);
H A Dsc_nbcommon.inc2222 int vnd = sc_min((int)DIGITS_PER_ ## UP_RET_TYPE, ndigits); \
2264 int vnd = sc_min((int)DIGITS_PER_INT64, ndigits);
2305 int vnd = sc_min((int)DIGITS_PER_LONG, ndigits);
2346 int vnd = sc_min((int)DIGITS_PER_INT, ndigits);
2658 l = sc_min( l, u->nbits - 1 );
2728 vec_copy(sc_min(nd, ndigits), digit, d);
2806 l = sc_min( l, u->nbits - 1 );
2876 vec_copy(sc_min(nd, ndigits), digit, d);
H A Dsc_nbexterns.cpp492 COPY_DIGITS(us, unb, old_und, ud, sc_min(unb, vnd), nd - 1, d);
570 COPY_DIGITS(us, unb, old_und, ud, sc_min(unb, vnd), nd - 1, d);
/gem5/src/systemc/dt/int/
H A Dsc_signed_subref.inc174 int l = sc_min(m_left, v.nbits - 1 + m_right);
194 int l = sc_min(m_left, v.nbits - 1 + m_right);
318 l = sc_min(m_left, (63 - low_i) + m_right);
340 l = sc_min(m_left, l + m_right);
361 l = sc_min(m_left, l + m_right);
382 l = sc_min(m_left, (63 - low_i) + m_right);
H A Dsc_unsigned_subref.inc174 int l = sc_min(m_left, v.nbits - 1 + m_right);
193 int l = sc_min(m_left, v.nbits - 1 + m_right);
310 l = sc_min(m_left, (63 - low_i) + m_right);
333 l = sc_min(m_left, l + m_right);
354 l = sc_min(m_left, l + m_right);
374 l = sc_min(m_left, (63 - low_i) + m_right);
H A Dsc_int_base.cc453 int minlen = sc_min(m_len, a.length());
470 int minlen = sc_min(m_len, a.length());
487 int minlen = sc_min(m_len, a.length());
503 int minlen = sc_min(m_len, a.length());
H A Dsc_uint_base.cc439 int minlen = sc_min(m_len, a.length());
456 int minlen = sc_min(m_len, a.length());
473 int minlen = sc_min(m_len, a.length());
489 int minlen = sc_min(m_len, a.length());
H A Dsc_nbutils.cc888 const sc_digit *uend = (u + sc_min(ulen, vlen));
1612 vec_zero(sc_min(nd, ulen), u);
1667 for (int j = ulen - sc_min( nd, ulen ); j < ulen; ++j)
1670 vec_zero(ulen - sc_min( nd, ulen ), ulen, u);
1714 l = sc_min(l, unb - 1);
H A Dsc_nbexterns.cc428 COPY_DIGITS(us, unb, old_und, ud, sc_min(unb, vnd), nd - 1, d);
495 COPY_DIGITS(us, unb, old_und, ud, sc_min(unb, vnd), nd - 1, d);
/gem5/ext/systemc/src/sysc/kernel/
H A Dsc_macros.h39 sc_min( const T& a, const T& b ) function in namespace:sc_dt
/gem5/src/systemc/ext/utils/
H A Dfunctions.hh61 const T sc_min(const T &a, const T &b) { return ((a <= b) ? a : b); } function in namespace:sc_dt
H A D_using.hh87 using sc_dt::sc_min;
/gem5/src/systemc/tests/systemc/compliance_1666/test228/
H A Dtest228.cpp46 sc_assert(sc_min(1, 2) == 1);
/gem5/ext/systemc/src/sysc/datatypes/bit/
H A Dsc_lv_base.cpp101 int min_len = sc_min( len, s_len );
H A Dsc_bv_base.cpp99 int min_len = sc_min( len, s_len );
/gem5/src/systemc/dt/bit/
H A Dsc_lv_base.cc119 int min_len = sc_min(len, s_len);
H A Dsc_bv_base.cc100 int min_len = sc_min(len, s_len);
/gem5/src/systemc/tests/systemc/compliance_1666/test00/
H A Dtest00.cpp47 using sc_dt::sc_min;
317 sc_assert(sc_min(-1,1) == -1);
321 sc_assert(sc_min(sc_int<8>(-1),sc_int<8>(1)) == sc_int<8>(-1));
325 sc_assert(sc_min(sc_bigint<256>(-1),sc_bigint<256>(1)) == sc_bigint<256>(-1));
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dscfx_mant.h250 int end = sc_min( size, m_size );
/gem5/src/systemc/ext/dt/fx/
H A Dscfx_mant.hh215 int end = sc_min(size, m_size);
/gem5/src/systemc/tests/systemc/compliance_1666/test001/
H A Dtest001.cpp258 void action() { op = sc_min(3, (*pp).read() + 1); }

Completed in 51 milliseconds

12