gem5 v24.0.0.0
|
#include <scfx_mant.hh>
Public Member Functions | |
scfx_mant (std::size_t) | |
scfx_mant (const scfx_mant &) | |
scfx_mant & | operator= (const scfx_mant &) |
~scfx_mant () | |
void | clear () |
void | resize_to (int, int=0) |
int | size () const |
word | operator[] (int) const |
word & | operator[] (int) |
half_word | half_at (int) const |
half_word & | half_at (int) |
half_word * | half_addr (int=0) const |
Static Private Member Functions | |
static word * | alloc (std::size_t) |
static void | free (word *, std::size_t) |
static word * | alloc_word (std::size_t size) |
static void | free_word (word *array, std::size_t size) |
Private Attributes | |
word * | m_array |
int | m_size |
Definition at line 75 of file scfx_mant.hh.
|
inlineexplicit |
Definition at line 157 of file scfx_mant.hh.
|
inline |
Definition at line 162 of file scfx_mant.hh.
|
inline |
Definition at line 187 of file scfx_mant.hh.
|
inlinestaticprivate |
Definition at line 116 of file scfx_mant.hh.
References alloc_word(), and size().
Referenced by operator=(), resize_to(), scfx_mant(), and scfx_mant().
|
staticprivate |
Definition at line 82 of file scfx_mant.cc.
References sc_dt::free_words, sc_dt::word_list::m_next_p, sc_dt::next_pow2_index(), size(), and sc_dt::UINT64_ONE.
Referenced by alloc().
|
inline |
Definition at line 195 of file scfx_mant.hh.
References m_size.
Referenced by sc_dt::scfx_rep::from_string(), sc_dt::scfx_rep::o_set_low(), sc_dt::scfx_rep::resize(), sc_dt::scfx_rep::scfx_rep(), sc_dt::scfx_rep::scfx_rep(), sc_dt::scfx_rep::scfx_rep(), sc_dt::scfx_rep::scfx_rep(), sc_dt::scfx_rep::scfx_rep(), sc_dt::scfx_rep::scfx_rep(), sc_dt::scfx_rep::scfx_rep(), sc_dt::scfx_rep::scfx_rep(), sc_dt::scfx_rep::scfx_rep(), and sc_dt::scfx_rep::set_zero().
|
inlinestaticprivate |
Definition at line 126 of file scfx_mant.hh.
References free_word(), and size().
Referenced by operator=(), resize_to(), and ~scfx_mant().
|
staticprivate |
Definition at line 106 of file scfx_mant.cc.
References sc_dt::free_words, sc_dt::word_list::m_next_p, sc_dt::next_pow2_index(), and size().
Referenced by free().
|
inline |
Definition at line 282 of file scfx_mant.hh.
References m_array, m_size, and SC_ASSERT_.
|
inline |
Definition at line 270 of file scfx_mant.hh.
References m_array, m_size, and SC_ASSERT_.
|
inline |
Definition at line 258 of file scfx_mant.hh.
References m_array, m_size, and SC_ASSERT_.
|
inline |
Definition at line 147 of file scfx_mant.hh.
References m_array, m_size, and SC_ASSERT_.
|
inline |
Definition at line 136 of file scfx_mant.hh.
References m_array, m_size, and SC_ASSERT_.
|
inline |
Definition at line 203 of file scfx_mant.hh.
References alloc(), free(), m_array, m_size, sc_dt::sc_min(), and size().
Referenced by sc_dt::scfx_rep::resize_to(), sc_dt::scfx_rep::set_inf(), and sc_dt::scfx_rep::set_nan().
|
inline |
Definition at line 113 of file scfx_mant.hh.
References m_size.
Referenced by alloc(), alloc_word(), free(), free_word(), sc_dt::scfx_rep::from_string(), sc_dt::inc(), sc_dt::scfx_rep::multiply_by_ten(), resize_to(), sc_dt::scfx_rep::size(), and sc_dt::scfx_rep::toggle_tc().
|
private |
Definition at line 77 of file scfx_mant.hh.
Referenced by half_addr(), half_at(), half_at(), operator=(), operator[](), operator[](), resize_to(), scfx_mant(), scfx_mant(), and ~scfx_mant().
|
private |
Definition at line 78 of file scfx_mant.hh.
Referenced by clear(), half_addr(), half_at(), half_at(), operator=(), operator[](), operator[](), resize_to(), scfx_mant(), size(), and ~scfx_mant().