Searched refs:SC_DIGIT_SIZE (Results 1 - 12 of 12) sorted by relevance

/gem5/src/systemc/ext/dt/bit/
H A Dsc_bv_base.hh249 int wi = i / SC_DIGIT_SIZE;
250 int bi = i % SC_DIGIT_SIZE;
257 int wi = i / SC_DIGIT_SIZE;
258 int bi = i % SC_DIGIT_SIZE;
276 int bi = m_len % SC_DIGIT_SIZE;
278 m_data[wi] &= ~SC_DIGIT_ZERO >> (SC_DIGIT_SIZE - bi);
H A Dsc_proxy.hh98 const int SC_DIGIT_SIZE = BITS_PER_BYTE * sizeof(sc_digit); member in namespace:sc_dt
828 set_words_(x, 1, ((sc_digit)(a >> SC_DIGIT_SIZE) & ~SC_DIGIT_ZERO),
845 ((sc_digit)((uint64)a >> SC_DIGIT_SIZE) & ~SC_DIGIT_ZERO),
889 set_words_(x, 1, ((sc_digit) (a >> SC_DIGIT_SIZE) & ~SC_DIGIT_ZERO),
906 ((sc_digit)((uint64)a >> SC_DIGIT_SIZE) & ~SC_DIGIT_ZERO),
1013 int wn = n / SC_DIGIT_SIZE;
1014 int bn = n % SC_DIGIT_SIZE;
1031 x_dw |= x.get_word(i - 1) >> (SC_DIGIT_SIZE - bn);
1033 x_cw |= x.get_cword(i - 1) >> (SC_DIGIT_SIZE - bn);
1063 int wn = n / SC_DIGIT_SIZE;
[all...]
H A Dsc_bit_proxies.hh135 int size() const { return ((length() - 1) / SC_DIGIT_SIZE + 1); }
630 int size() const { return ((length() - 1) / SC_DIGIT_SIZE + 1); }
1060 int size() const { return ((length() - 1) / SC_DIGIT_SIZE + 1); }
2245 n1 = m_lo - i * SC_DIGIT_SIZE;
2246 n2 = sc_max(n1 - SC_DIGIT_SIZE, m_hi - 1);
2251 n1 = m_lo + i * SC_DIGIT_SIZE;
2252 n2 = sc_min(n1 + SC_DIGIT_SIZE, m_hi + 1);
2268 n1 = m_lo - i * SC_DIGIT_SIZE;
2269 n2 = sc_max(n1 - SC_DIGIT_SIZE, m_hi - 1);
2276 n1 = m_lo + i * SC_DIGIT_SIZE;
[all...]
H A Dsc_lv_base.hh273 int wi = i / SC_DIGIT_SIZE;
274 int bi = i % SC_DIGIT_SIZE;
282 int wi = i / SC_DIGIT_SIZE; // word index
283 int bi = i % SC_DIGIT_SIZE; // bit index
295 int bi = m_len % SC_DIGIT_SIZE;
296 sc_digit mask = ~SC_DIGIT_ZERO >> (SC_DIGIT_SIZE - bi);
/gem5/ext/systemc/src/sysc/datatypes/bit/
H A Dsc_bv_base.cpp81 m_size = (m_len - 1) / SC_DIGIT_SIZE + 1;
195 int wn = n / SC_DIGIT_SIZE;
196 int bn = n % SC_DIGIT_SIZE;
211 m_data[i] |= m_data[i - 1] >> (SC_DIGIT_SIZE - bn);
240 int wn = n / SC_DIGIT_SIZE;
241 int bn = n % SC_DIGIT_SIZE;
256 m_data[i] |= m_data[i + 1] << (SC_DIGIT_SIZE - bn);
H A Dsc_bv_base.h300 int wi = i / SC_DIGIT_SIZE;
301 int bi = i % SC_DIGIT_SIZE;
309 int wi = i / SC_DIGIT_SIZE;
310 int bi = i % SC_DIGIT_SIZE;
332 int bi = m_len % SC_DIGIT_SIZE;
333 if ( bi != 0 ) m_data[wi] &= ~SC_DIGIT_ZERO >> (SC_DIGIT_SIZE - bi);
H A Dsc_proxy.h94 const int SC_DIGIT_SIZE = BITS_PER_BYTE * sizeof( sc_digit ); member in namespace:sc_dt
950 ((sc_digit) (a >> SC_DIGIT_SIZE) & ~SC_DIGIT_ZERO),
968 ((sc_digit) ((uint64) a >> SC_DIGIT_SIZE) & ~SC_DIGIT_ZERO),
1013 ((sc_digit) (a >> SC_DIGIT_SIZE) & ~SC_DIGIT_ZERO),
1031 ((sc_digit) ((uint64) a >> SC_DIGIT_SIZE) & ~SC_DIGIT_ZERO),
1155 int wn = n / SC_DIGIT_SIZE;
1156 int bn = n % SC_DIGIT_SIZE;
1173 x_dw |= x.get_word( i - 1 ) >> (SC_DIGIT_SIZE - bn);
1175 x_cw |= x.get_cword( i - 1 ) >> (SC_DIGIT_SIZE - bn);
1211 int wn = n / SC_DIGIT_SIZE;
[all...]
H A Dsc_lv_base.cpp80 m_size = (m_len - 1) / SC_DIGIT_SIZE + 1;
H A Dsc_bit_proxies.h123 { return ( (length() - 1) / SC_DIGIT_SIZE + 1 ); }
665 { return ( (length() - 1) / SC_DIGIT_SIZE + 1 ); }
1144 { return ( (length() - 1) / SC_DIGIT_SIZE + 1 ); }
2534 n1 = m_lo - i * SC_DIGIT_SIZE;
2535 n2 = sc_max( n1 - SC_DIGIT_SIZE, m_hi - 1 );
2540 n1 = m_lo + i * SC_DIGIT_SIZE;
2541 n2 = sc_min( n1 + SC_DIGIT_SIZE, m_hi + 1 );
2558 n1 = m_lo - i * SC_DIGIT_SIZE;
2559 n2 = sc_max( n1 - SC_DIGIT_SIZE, m_hi - 1 );
2566 n1 = m_lo + i * SC_DIGIT_SIZE;
[all...]
H A Dsc_lv_base.h320 int wi = i / SC_DIGIT_SIZE;
321 int bi = i % SC_DIGIT_SIZE;
330 int wi = i / SC_DIGIT_SIZE; // word index
331 int bi = i % SC_DIGIT_SIZE; // bit index
345 int bi = m_len % SC_DIGIT_SIZE;
346 sc_digit mask = ~SC_DIGIT_ZERO >> (SC_DIGIT_SIZE - bi);
/gem5/src/systemc/dt/bit/
H A Dsc_lv_base.cc99 m_size = (m_len - 1) / SC_DIGIT_SIZE + 1;
H A Dsc_bv_base.cc83 m_size = (m_len - 1) / SC_DIGIT_SIZE + 1;

Completed in 47 milliseconds