gem5
v20.1.0.0
|
#include <sc_fxval.hh>
Public Attributes | |
uint64 const sc_uint_base | int |
Protected Member Functions | |
sc_fxval_fast_observer * | observer () const |
sc_fxval_fast_observer * | lock_observer () const |
void | unlock_observer (sc_fxval_fast_observer *) const |
Static Protected Member Functions | |
static double | from_string (const char *) |
Private Attributes | |
double | m_val |
sc_fxval_fast_observer * | m_observer |
Friends | |
class | sc_fxnum_fast |
void | neg (sc_fxval_fast &, const sc_fxval_fast &) |
const friend sc_fxval_fast | operator/ (const sc_fxval_fast &, const sc_fxval_fast &) |
const friend sc_fxval_fast | operator>> (const sc_fxval_fast &, int) |
void | lshift (sc_fxval_fast &, const sc_fxval_fast &, int) |
void | rshift (sc_fxval_fast &, const sc_fxval_fast &, int) |
Definition at line 376 of file sc_fxval.hh.
|
inlineexplicit |
Definition at line 1316 of file sc_fxval.hh.
References SC_FXVAL_FAST_OBSERVER_CONSTRUCT_, and SC_FXVAL_FAST_OBSERVER_DEFAULT_.
Referenced by operator++(), operator-(), and operator--().
|
explicit |
|
explicit |
|
explicit |
|
explicit |
|
explicit |
|
explicit |
|
explicit |
sc_dt::sc_fxval_fast::sc_fxval_fast | ( | const sc_fxval & | , |
sc_fxval_fast_observer * | = 0 |
||
) |
|
inline |
Definition at line 1323 of file sc_fxval.hh.
References ArmISA::a, SC_FXVAL_FAST_OBSERVER_CONSTRUCT_, SC_FXVAL_FAST_OBSERVER_DEFAULT_, SC_FXVAL_FAST_OBSERVER_READ_, and SC_FXVAL_FAST_OBSERVER_WRITE_.
|
inline |
Definition at line 4261 of file sc_fxnum.hh.
References SC_FXVAL_FAST_OBSERVER_CONSTRUCT_, SC_FXVAL_FAST_OBSERVER_DEFAULT_, and SC_FXVAL_FAST_OBSERVER_WRITE_.
|
inline |
Definition at line 4270 of file sc_fxnum.hh.
References SC_FXVAL_FAST_OBSERVER_CONSTRUCT_, SC_FXVAL_FAST_OBSERVER_DEFAULT_, and SC_FXVAL_FAST_OBSERVER_WRITE_.
|
explicit |
|
explicit |
|
explicit |
|
explicit |
|
explicit |
|
explicit |
|
inline |
Definition at line 1370 of file sc_fxval.hh.
References SC_FXVAL_FAST_OBSERVER_DESTRUCT_.
uint64 sc_dt::sc_fxval_fast::DECL_BIN_OP_T | ( | / | , |
const sc_int_base & | |||
) |
uint64 const sc_uint_base& sc_dt::sc_fxval_fast::DECL_BIN_OP_T | ( | / | , |
const sc_signed & | |||
) | const & |
sc_dt::sc_fxval_fast::DECL_BIN_OP_T | ( | / | , |
int64 | |||
) |
void sc_dt::sc_fxval_fast::dump | ( | ::std::ostream & | os = ::std::cout | ) | const |
Definition at line 582 of file sc_fxval.cc.
|
staticprotected |
Definition at line 659 of file sc_fxval.cc.
bool sc_dt::sc_fxval_fast::get_bit | ( | int | i | ) | const |
Definition at line 600 of file sc_fxval.cc.
|
inline |
Definition at line 1377 of file sc_fxval.hh.
References m_val, and SC_FXVAL_FAST_OBSERVER_READ_.
|
inline |
Definition at line 1902 of file sc_fxval.hh.
References ArmISA::id, m_val, and SC_FXVAL_FAST_OBSERVER_READ_.
Referenced by print().
|
inline |
Definition at line 1894 of file sc_fxval.hh.
References ArmISA::id, m_val, and SC_FXVAL_FAST_OBSERVER_READ_.
Referenced by print().
|
inline |
Definition at line 1878 of file sc_fxval.hh.
References ArmISA::id, m_val, and SC_FXVAL_FAST_OBSERVER_READ_.
|
inline |
Definition at line 1910 of file sc_fxval.hh.
References ArmISA::id, is_zero(), m_val, and SC_FXVAL_FAST_OBSERVER_READ_.
Referenced by to_uint64().
|
inline |
Definition at line 1886 of file sc_fxval.hh.
References ArmISA::id, m_val, and SC_FXVAL_FAST_OBSERVER_READ_.
Referenced by is_normal(), and print().
|
protected |
Definition at line 637 of file sc_fxval.cc.
|
inlineprotected |
Definition at line 1309 of file sc_fxval.hh.
References sc_dt::sc_fxval::m_observer.
|
inline |
Definition at line 1783 of file sc_fxval.hh.
References m_val, and SC_FXVAL_FAST_OBSERVER_READ_.
|
inline |
Definition at line 1400 of file sc_fxval.hh.
|
inline |
Definition at line 1765 of file sc_fxval.hh.
References m_val, SC_FXVAL_FAST_OBSERVER_READ_, and SC_FXVAL_FAST_OBSERVER_WRITE_.
|
inline |
Definition at line 1743 of file sc_fxval.hh.
References ArmISA::c, m_val, sc_fxval_fast(), SC_FXVAL_FAST_OBSERVER_READ_, and SC_FXVAL_FAST_OBSERVER_WRITE_.
|
inline |
Definition at line 1393 of file sc_fxval.hh.
References m_val, sc_fxval_fast(), and SC_FXVAL_FAST_OBSERVER_READ_.
|
inline |
Definition at line 1774 of file sc_fxval.hh.
References m_val, SC_FXVAL_FAST_OBSERVER_READ_, and SC_FXVAL_FAST_OBSERVER_WRITE_.
|
inline |
Definition at line 1754 of file sc_fxval.hh.
References ArmISA::c, m_val, sc_fxval_fast(), SC_FXVAL_FAST_OBSERVER_READ_, and SC_FXVAL_FAST_OBSERVER_WRITE_.
void sc_dt::sc_fxval_fast::print | ( | ::std::ostream & | os = ::std::cout | ) | const |
Definition at line 568 of file sc_fxval.cc.
References ArmISA::id, is_inf(), is_nan(), is_zero(), and m_val.
|
inline |
Definition at line 1918 of file sc_fxval.hh.
void sc_dt::sc_fxval_fast::scan | ( | ::std::istream & | is = ::std::cin | ) |
Definition at line 574 of file sc_fxval.cc.
|
inline |
Definition at line 1385 of file sc_fxval.hh.
References m_val, and SC_FXVAL_FAST_OBSERVER_WRITE_.
const std::string sc_dt::sc_fxval_fast::to_bin | ( | ) | const |
Definition at line 547 of file sc_fxval.cc.
const std::string sc_dt::sc_fxval_fast::to_dec | ( | ) | const |
Definition at line 541 of file sc_fxval.cc.
References MipsISA::is, and ArmISA::s.
|
inline |
Definition at line 1870 of file sc_fxval.hh.
References m_val, and SC_FXVAL_FAST_OBSERVER_READ_.
|
inline |
Definition at line 1863 of file sc_fxval.hh.
References m_val, and SC_FXVAL_FAST_OBSERVER_READ_.
const std::string sc_dt::sc_fxval_fast::to_hex | ( | ) | const |
Definition at line 559 of file sc_fxval.cc.
|
inline |
Definition at line 1812 of file sc_fxval.hh.
References to_uint64().
|
inline |
Definition at line 1805 of file sc_fxval.hh.
References to_uint64().
|
inline |
Definition at line 1849 of file sc_fxval.hh.
References to_uint64().
const std::string sc_dt::sc_fxval_fast::to_oct | ( | ) | const |
Definition at line 553 of file sc_fxval.cc.
|
inline |
Definition at line 1791 of file sc_fxval.hh.
References to_uint64().
const std::string sc_dt::sc_fxval_fast::to_string | ( | ) | const |
Definition at line 503 of file sc_fxval.cc.
References m_val, and sc_dt::to_string().
const std::string sc_dt::sc_fxval_fast::to_string | ( | sc_fmt | fmt | ) | const |
Definition at line 522 of file sc_fxval.cc.
References m_val, sc_dt::SC_E, sc_dt::SC_OCT, and sc_dt::to_string().
const std::string sc_dt::sc_fxval_fast::to_string | ( | sc_numrep | numrep | ) | const |
Definition at line 509 of file sc_fxval.cc.
References m_val, sc_dt::SC_DEC, sc_dt::SC_E, and sc_dt::to_string().
const std::string sc_dt::sc_fxval_fast::to_string | ( | sc_numrep | numrep, |
bool | w_prefix | ||
) | const |
Definition at line 515 of file sc_fxval.cc.
References m_val, sc_dt::SC_BIN, sc_dt::SC_E, and sc_dt::to_string().
const std::string sc_dt::sc_fxval_fast::to_string | ( | sc_numrep | numrep, |
bool | w_prefix, | ||
sc_fmt | fmt | ||
) | const |
Definition at line 534 of file sc_fxval.cc.
References m_val, X86ISA::os, sc_dt::SC_DEC, sc_dt::SC_E, and sc_dt::to_string().
Definition at line 528 of file sc_fxval.cc.
References m_val, sc_dt::SC_E, sc_dt::SC_HEX, and sc_dt::to_string().
|
inline |
Definition at line 1819 of file sc_fxval.hh.
References to_uint64().
|
inline |
Definition at line 1826 of file sc_fxval.hh.
References is_normal(), m_val, and sc_dt::UINT64_ONE.
Referenced by to_int(), to_int64(), to_long(), to_short(), to_uint(), to_ulong(), and to_ushort().
|
inline |
Definition at line 1856 of file sc_fxval.hh.
References to_uint64().
|
inline |
Definition at line 1798 of file sc_fxval.hh.
References to_uint64().
|
protected |
Definition at line 646 of file sc_fxval.cc.
|
friend |
Definition at line 1564 of file sc_fxval.hh.
|
friend |
Definition at line 1408 of file sc_fxval.hh.
|
friend |
Definition at line 1464 of file sc_fxval.hh.
|
friend |
Definition at line 1501 of file sc_fxval.hh.
|
friend |
Definition at line 1572 of file sc_fxval.hh.
|
friend |
Definition at line 378 of file sc_fxval.hh.
uint64 const sc_uint_base sc_dt::sc_fxval_fast::int |
Definition at line 469 of file sc_fxval.hh.
|
mutableprivate |
Definition at line 645 of file sc_fxval.hh.
|
private |
Definition at line 643 of file sc_fxval.hh.
Referenced by get_val(), is_inf(), is_nan(), is_neg(), is_normal(), is_zero(), operator double(), operator++(), operator-(), operator--(), print(), set_val(), to_double(), to_float(), to_string(), and to_uint64().