gem5
v20.1.0.0
|
#include <iostream>
#include "../bit/sc_lv_base.hh"
#include "messages.hh"
#include "sc_fxnum_observer.hh"
#include "sc_fxval.hh"
#include "scfx_params.hh"
Go to the source code of this file.
Classes | |
class | sc_gem5::TraceValFxnumBase< T, Base > |
class | sc_dt::sc_fxnum_bitref |
class | sc_dt::sc_fxnum_fast_bitref |
class | sc_dt::sc_fxnum_subref |
class | sc_dt::sc_fxnum_fast_subref |
class | sc_dt::sc_fxnum |
class | sc_dt::sc_fxnum_fast |
Namespaces | |
sc_gem5 | |
sc_dt | |
Macros | |
#define | DECL_ASN_OP_T(op, tp) sc_fxnum_bitref &operator op (tp); |
#define | DECL_ASN_OP(op) |
#define | DECL_ASN_OP_T(op, tp) sc_fxnum_fast_bitref &operator op (tp); |
#define | DECL_ASN_OP(op) |
#define | DECL_ASN_OP_T(tp) sc_fxnum_subref &operator = (tp); |
#define | DECL_ASN_OP_T_A(op, tp) sc_fxnum_subref &operator op ## = (tp); |
#define | DECL_ASN_OP_A(op) |
#define | DECL_REL_OP_T(op, tp) |
#define | DECL_REL_OP(op) |
#define | DECL_ASN_OP_T(tp) sc_fxnum_fast_subref &operator = (tp); |
#define | DECL_ASN_OP_T_A(op, tp) sc_fxnum_fast_subref &operator op ## = (tp); |
#define | DECL_ASN_OP_A(op) |
#define | DECL_REL_OP_T(op, tp) |
#define | DECL_REL_OP(op) |
#define | DECL_CTOR_T(tp) |
#define | DECL_BIN_OP_T(op, tp) |
#define | DECL_BIN_OP_OTHER(op) |
#define | DECL_BIN_OP(op, dummy) |
#define | DECL_BIN_FNC_T(fnc, tp) |
#define | DECL_BIN_FNC_OTHER(fnc) |
#define | DECL_BIN_FNC(fnc) |
#define | DECL_REL_OP_T(op, tp) |
#define | DECL_REL_OP_OTHER(op) |
#define | DECL_REL_OP(op) |
#define | DECL_ASN_OP_T(op, tp) sc_fxnum &operator op(tp); |
#define | DECL_ASN_OP_OTHER(op) |
#define | DECL_ASN_OP(op) |
#define | DECL_CTOR_T(tp) |
#define | DECL_BIN_OP_T(op, tp) |
#define | DECL_BIN_OP_OTHER(op) |
#define | DECL_BIN_OP(op, dummy) |
#define | DECL_BIN_FNC_T(fnc, tp) |
#define | DECL_BIN_FNC_OTHER(fnc) |
#define | DECL_BIN_FNC(fnc) |
#define | DECL_REL_OP_T(op, tp) |
#define | DECL_REL_OP_OTHER(op) |
#define | DECL_REL_OP(op) |
#define | DECL_ASN_OP_T(op, tp) sc_fxnum_fast &operator op(tp); |
#define | DECL_ASN_OP_OTHER(op) |
#define | DECL_ASN_OP(op) |
#define | DEFN_ASN_OP_T(tp) |
#define | DEFN_ASN_OP_T(op, tp) |
#define | DEFN_ASN_OP(op) |
#define | DEFN_REL_OP_T(op, tp) |
#define | DEFN_REL_OP(op) |
#define | DEFN_RED_FNC(fnc) |
#define | DEFN_ASN_OP_T(tp) |
#define | DEFN_ASN_OP_T(op, tp) |
#define | DEFN_ASN_OP(op) |
#define | DEFN_REL_OP_T(op, tp) |
#define | DEFN_REL_OP(op) |
#define | DEFN_RED_FNC(fnc) |
#define | DEFN_CTOR_T(tp, arg) |
#define | DEFN_CTOR_T_A(tp) DEFN_CTOR_T(tp, a) |
#define | DEFN_CTOR_T_B(tp) DEFN_CTOR_T(tp, *a.m_rep) |
#define | DEFN_CTOR_T_C(tp) DEFN_CTOR_T(tp, a.to_double()) |
#define | DEFN_CTOR_T_D(tp) DEFN_CTOR_T(tp, a.value()) |
#define | DEFN_BIN_OP_T(op, fnc, tp) |
#define | DEFN_BIN_OP_OTHER(op, fnc) |
#define | DEFN_BIN_OP(op, fnc) |
#define | DEFN_BIN_FNC_T(fnc, tp) |
#define | DEFN_BIN_FNC_OTHER(fnc) |
#define | DEFN_BIN_FNC(fnc) |
#define | DEFN_REL_OP_T(op, ret, tp) |
#define | DEFN_REL_OP_OTHER(op, ret) |
#define | DEFN_REL_OP(op, ret) |
#define | DEFN_ASN_OP_T(tp) |
#define | DEFN_ASN_OP_T(op, fnc, tp) |
#define | DEFN_ASN_OP_OTHER(op, fnc) |
#define | DEFN_ASN_OP(op, fnc) |
#define | DEFN_CTOR_T(tp, arg) |
#define | DEFN_CTOR_T_A(tp) DEFN_CTOR_T(tp, static_cast<double>(a)) |
#define | DEFN_CTOR_T_B(tp) DEFN_CTOR_T(tp, sc_fxval_fast::from_string(a)) |
#define | DEFN_CTOR_T_C(tp) DEFN_CTOR_T(tp, a.to_double()) |
#define | DEFN_BIN_OP_T(op, tp) |
#define | DEFN_BIN_OP_OTHER(op) |
#define | DEFN_BIN_OP(op, dummy) |
#define | DEFN_BIN_FNC_T(fnc, op, tp) |
#define | DEFN_BIN_FNC_OTHER(fnc, op) |
#define | DEFN_BIN_FNC(fnc, op) |
#define | DEFN_REL_OP_T(op, tp) |
#define | DEFN_REL_OP_OTHER(op) |
#define | DEFN_REL_OP(op) |
#define | DEFN_ASN_OP_T(tp) |
#define | DEFN_ASN_OP_T(op, tp) |
#define | DEFN_ASN_OP_OTHER(op) |
#define | DEFN_ASN_OP(op) |
#define | DEFN_BIN_OP_T(op, fnc, tp) |
#define | DEFN_BIN_OP(op, fnc) DEFN_BIN_OP_T(op, fnc, const sc_fxnum_fast &) |
#define | DEFN_BIN_FNC_T(fnc, tp) |
#define | DEFN_BIN_FNC(fnc) DEFN_BIN_FNC_T(fnc, const sc_fxnum_fast &) |
#define | DEFN_REL_OP_T(op, ret, tp) |
#define | DEFN_REL_OP(op, ret) DEFN_REL_OP_T(op, ret, const sc_fxnum_fast &) |
#define | DEFN_ASN_OP_T(tp) |
#define | DEFN_ASN_OP_T(op, fnc, tp) |
#define | DEFN_ASN_OP(op, fnc) |
#define | DEFN_BIN_FNC_T(fnc, op, tp) |
#define | DEFN_BIN_FNC(fnc, op) |
#define | DEFN_ASN_OP_T(tp) |
#define | DEFN_ASN_OP_T(op, tp) |
#define | DEFN_ASN_OP(op) |
Functions | |
inline ::std::ostream & | sc_dt::operator<< (::std::ostream &os, const sc_fxnum_bitref &a) |
inline ::std::istream & | sc_dt::operator>> (::std::istream &is, sc_fxnum_bitref &a) |
inline ::std::ostream & | sc_dt::operator<< (::std::ostream &os, const sc_fxnum_fast_bitref &a) |
inline ::std::istream & | sc_dt::operator>> (::std::istream &is, sc_fxnum_fast_bitref &a) |
inline ::std::ostream & | sc_dt::operator<< (::std::ostream &os, const sc_fxnum_subref &a) |
inline ::std::istream & | sc_dt::operator>> (::std::istream &is, sc_fxnum_subref &a) |
inline ::std::ostream & | sc_dt::operator<< (::std::ostream &os, const sc_fxnum_fast_subref &a) |
inline ::std::istream & | sc_dt::operator>> (::std::istream &is, sc_fxnum_fast_subref &a) |
void | sc_dt::neg (sc_fxval &c, const sc_fxnum &a) |
void | sc_dt::neg (sc_fxnum &c, const sc_fxnum &a) |
const sc_fxval | sc_dt::operator/ (const sc_fxnum &a, const sc_fxnum &b) |
const sc_fxval | sc_dt::operator/ (const sc_fxnum &a, const sc_fxval &b) |
const sc_fxval | sc_dt::operator/ (const sc_fxval &a, const sc_fxnum &b) |
const sc_fxval | sc_dt::operator<< (const sc_fxnum &a, int b) |
const sc_fxval | sc_dt::operator>> (const sc_fxnum &a, int b) |
void | sc_dt::lshift (sc_fxval &c, const sc_fxnum &a, int b) |
void | sc_dt::rshift (sc_fxval &c, const sc_fxnum &a, int b) |
void | sc_dt::lshift (sc_fxnum &c, const sc_fxnum &a, int b) |
void | sc_dt::rshift (sc_fxnum &c, const sc_fxnum &a, int b) |
inline ::std::ostream & | sc_dt::operator<< (::std::ostream &os, const sc_fxnum &a) |
inline ::std::istream & | sc_dt::operator>> (::std::istream &is, sc_fxnum &a) |
void | sc_dt::neg (sc_fxval_fast &c, const sc_fxnum_fast &a) |
void | sc_dt::neg (sc_fxnum_fast &c, const sc_fxnum_fast &a) |
const sc_fxval_fast | sc_dt::operator/ (const sc_fxnum_fast &a, const sc_fxnum_fast &b) |
const sc_fxval_fast | sc_dt::operator/ (const sc_fxnum_fast &a, const sc_fxval_fast &b) |
const sc_fxval_fast | sc_dt::operator/ (const sc_fxval_fast &a, const sc_fxnum_fast &b) |
const sc_fxval_fast | sc_dt::operator<< (const sc_fxnum_fast &a, int b) |
const sc_fxval_fast | sc_dt::operator>> (const sc_fxnum_fast &a, int b) |
void | sc_dt::lshift (sc_fxval_fast &c, const sc_fxnum_fast &a, int b) |
void | sc_dt::rshift (sc_fxval_fast &c, const sc_fxnum_fast &a, int b) |
void | sc_dt::lshift (sc_fxnum_fast &c, const sc_fxnum_fast &a, int b) |
void | sc_dt::rshift (sc_fxnum_fast &c, const sc_fxnum_fast &a, int b) |
inline ::std::ostream & | sc_dt::operator<< (::std::ostream &os, const sc_fxnum_fast &a) |
inline ::std::istream & | sc_dt::operator>> (::std::istream &is, sc_fxnum_fast &a) |
#define DECL_ASN_OP | ( | op | ) |
Definition at line 1053 of file sc_fxnum.hh.
#define DECL_ASN_OP | ( | op | ) |
Definition at line 1053 of file sc_fxnum.hh.
#define DECL_ASN_OP | ( | op | ) |
#define DECL_ASN_OP | ( | op | ) |
#define DECL_ASN_OP_A | ( | op | ) |
Definition at line 393 of file sc_fxnum.hh.
#define DECL_ASN_OP_A | ( | op | ) |
Definition at line 393 of file sc_fxnum.hh.
#define DECL_ASN_OP_OTHER | ( | op | ) |
#define DECL_ASN_OP_OTHER | ( | op | ) |
#define DECL_ASN_OP_T | ( | op, | |
tp | |||
) | sc_fxnum_bitref &operator op (tp); |
Definition at line 1043 of file sc_fxnum.hh.
#define DECL_ASN_OP_T | ( | op, | |
tp | |||
) | sc_fxnum_fast_bitref &operator op (tp); |
Definition at line 1043 of file sc_fxnum.hh.
#define DECL_ASN_OP_T | ( | op, | |
tp | |||
) | sc_fxnum &operator op(tp); |
Definition at line 1043 of file sc_fxnum.hh.
#define DECL_ASN_OP_T | ( | op, | |
tp | |||
) | sc_fxnum_fast &operator op(tp); |
Definition at line 1043 of file sc_fxnum.hh.
#define DECL_ASN_OP_T | ( | tp | ) | sc_fxnum_subref &operator = (tp); |
Definition at line 1043 of file sc_fxnum.hh.
#define DECL_ASN_OP_T | ( | tp | ) | sc_fxnum_fast_subref &operator = (tp); |
Definition at line 1043 of file sc_fxnum.hh.
#define DECL_ASN_OP_T_A | ( | op, | |
tp | |||
) | sc_fxnum_subref &operator op ## = (tp); |
Definition at line 391 of file sc_fxnum.hh.
#define DECL_ASN_OP_T_A | ( | op, | |
tp | |||
) | sc_fxnum_fast_subref &operator op ## = (tp); |
Definition at line 391 of file sc_fxnum.hh.
#define DECL_BIN_FNC | ( | fnc | ) |
Definition at line 975 of file sc_fxnum.hh.
#define DECL_BIN_FNC | ( | fnc | ) |
Definition at line 975 of file sc_fxnum.hh.
#define DECL_BIN_FNC_OTHER | ( | fnc | ) |
Definition at line 967 of file sc_fxnum.hh.
#define DECL_BIN_FNC_OTHER | ( | fnc | ) |
Definition at line 967 of file sc_fxnum.hh.
#define DECL_BIN_FNC_T | ( | fnc, | |
tp | |||
) |
Definition at line 961 of file sc_fxnum.hh.
#define DECL_BIN_FNC_T | ( | fnc, | |
tp | |||
) |
Definition at line 961 of file sc_fxnum.hh.
#define DECL_BIN_OP | ( | op, | |
dummy | |||
) |
#define DECL_BIN_OP | ( | op, | |
dummy | |||
) |
#define DECL_BIN_OP_OTHER | ( | op | ) |
#define DECL_BIN_OP_OTHER | ( | op | ) |
#define DECL_BIN_OP_T | ( | op, | |
tp | |||
) |
#define DECL_BIN_OP_T | ( | op, | |
tp | |||
) |
Definition at line 905 of file sc_fxnum.hh.
#define DECL_CTOR_T | ( | tp | ) |
Definition at line 865 of file sc_fxnum.hh.
#define DECL_CTOR_T | ( | tp | ) |
Definition at line 865 of file sc_fxnum.hh.
#define DECL_REL_OP | ( | op | ) |
Definition at line 1019 of file sc_fxnum.hh.
#define DECL_REL_OP | ( | op | ) |
Definition at line 1019 of file sc_fxnum.hh.
#define DECL_REL_OP | ( | op | ) |
#define DECL_REL_OP | ( | op | ) |
#define DECL_REL_OP_OTHER | ( | op | ) |
#define DECL_REL_OP_OTHER | ( | op | ) |
#define DECL_REL_OP_T | ( | op, | |
tp | |||
) |
Definition at line 1007 of file sc_fxnum.hh.
#define DECL_REL_OP_T | ( | op, | |
tp | |||
) |
Definition at line 1007 of file sc_fxnum.hh.
#define DECL_REL_OP_T | ( | op, | |
tp | |||
) |
Definition at line 1007 of file sc_fxnum.hh.
#define DECL_REL_OP_T | ( | op, | |
tp | |||
) |
Definition at line 1007 of file sc_fxnum.hh.
#define DEFN_ASN_OP | ( | op | ) |
Definition at line 4347 of file sc_fxnum.hh.
#define DEFN_ASN_OP | ( | op | ) |
Definition at line 4347 of file sc_fxnum.hh.
#define DEFN_ASN_OP | ( | op | ) |
Definition at line 4347 of file sc_fxnum.hh.
#define DEFN_ASN_OP | ( | op | ) |
Definition at line 4347 of file sc_fxnum.hh.
#define DEFN_ASN_OP | ( | op, | |
fnc | |||
) |
Definition at line 4347 of file sc_fxnum.hh.
#define DEFN_ASN_OP | ( | op, | |
fnc | |||
) |
Definition at line 4347 of file sc_fxnum.hh.
#define DEFN_ASN_OP_OTHER | ( | op | ) |
#define DEFN_ASN_OP_OTHER | ( | op, | |
fnc | |||
) |
#define DEFN_ASN_OP_T | ( | op, | |
fnc, | |||
tp | |||
) |
Definition at line 4336 of file sc_fxnum.hh.
#define DEFN_ASN_OP_T | ( | op, | |
fnc, | |||
tp | |||
) |
Definition at line 4336 of file sc_fxnum.hh.
#define DEFN_ASN_OP_T | ( | op, | |
tp | |||
) |
#define DEFN_ASN_OP_T | ( | op, | |
tp | |||
) |
#define DEFN_ASN_OP_T | ( | op, | |
tp | |||
) |
#define DEFN_ASN_OP_T | ( | op, | |
tp | |||
) |
#define DEFN_ASN_OP_T | ( | tp | ) |
Definition at line 4336 of file sc_fxnum.hh.
#define DEFN_ASN_OP_T | ( | tp | ) |
Definition at line 4336 of file sc_fxnum.hh.
#define DEFN_ASN_OP_T | ( | tp | ) |
Definition at line 4336 of file sc_fxnum.hh.
#define DEFN_ASN_OP_T | ( | tp | ) |
Definition at line 4336 of file sc_fxnum.hh.
#define DEFN_ASN_OP_T | ( | tp | ) |
Definition at line 4336 of file sc_fxnum.hh.
#define DEFN_ASN_OP_T | ( | tp | ) |
Definition at line 4336 of file sc_fxnum.hh.
#define DEFN_BIN_FNC | ( | fnc | ) |
Definition at line 4300 of file sc_fxnum.hh.
#define DEFN_BIN_FNC | ( | fnc | ) | DEFN_BIN_FNC_T(fnc, const sc_fxnum_fast &) |
Definition at line 4300 of file sc_fxnum.hh.
#define DEFN_BIN_FNC | ( | fnc, | |
op | |||
) |
Definition at line 4300 of file sc_fxnum.hh.
#define DEFN_BIN_FNC | ( | fnc, | |
op | |||
) |
Definition at line 4300 of file sc_fxnum.hh.
#define DEFN_BIN_FNC_OTHER | ( | fnc | ) |
Definition at line 3413 of file sc_fxnum.hh.
#define DEFN_BIN_FNC_OTHER | ( | fnc, | |
op | |||
) |
#define DEFN_BIN_FNC_T | ( | fnc, | |
op, | |||
tp | |||
) |
Definition at line 4281 of file sc_fxnum.hh.
#define DEFN_BIN_FNC_T | ( | fnc, | |
op, | |||
tp | |||
) |
#define DEFN_BIN_FNC_T | ( | fnc, | |
tp | |||
) |
Definition at line 4281 of file sc_fxnum.hh.
#define DEFN_BIN_FNC_T | ( | fnc, | |
tp | |||
) |
Definition at line 4281 of file sc_fxnum.hh.
#define DEFN_BIN_OP | ( | op, | |
dummy | |||
) |
Definition at line 4113 of file sc_fxnum.hh.
#define DEFN_BIN_OP | ( | op, | |
fnc | |||
) |
Definition at line 4113 of file sc_fxnum.hh.
#define DEFN_BIN_OP | ( | op, | |
fnc | |||
) | DEFN_BIN_OP_T(op, fnc, const sc_fxnum_fast &) |
Definition at line 4113 of file sc_fxnum.hh.
#define DEFN_BIN_OP_OTHER | ( | op | ) |
#define DEFN_BIN_OP_OTHER | ( | op, | |
fnc | |||
) |
#define DEFN_BIN_OP_T | ( | op, | |
fnc, | |||
tp | |||
) |
#define DEFN_BIN_OP_T | ( | op, | |
fnc, | |||
tp | |||
) |
#define DEFN_BIN_OP_T | ( | op, | |
tp | |||
) |
#define DEFN_CTOR_T | ( | tp, | |
arg | |||
) |
Definition at line 3169 of file sc_fxnum.hh.
#define DEFN_CTOR_T | ( | tp, | |
arg | |||
) |
Definition at line 3169 of file sc_fxnum.hh.
#define DEFN_CTOR_T_A | ( | tp | ) | DEFN_CTOR_T(tp, a) |
Definition at line 3183 of file sc_fxnum.hh.
#define DEFN_CTOR_T_A | ( | tp | ) | DEFN_CTOR_T(tp, static_cast<double>(a)) |
Definition at line 3183 of file sc_fxnum.hh.
#define DEFN_CTOR_T_B | ( | tp | ) | DEFN_CTOR_T(tp, *a.m_rep) |
Definition at line 3184 of file sc_fxnum.hh.
#define DEFN_CTOR_T_B | ( | tp | ) | DEFN_CTOR_T(tp, sc_fxval_fast::from_string(a)) |
Definition at line 3184 of file sc_fxnum.hh.
#define DEFN_CTOR_T_C | ( | tp | ) | DEFN_CTOR_T(tp, a.to_double()) |
Definition at line 3185 of file sc_fxnum.hh.
#define DEFN_CTOR_T_C | ( | tp | ) | DEFN_CTOR_T(tp, a.to_double()) |
Definition at line 3185 of file sc_fxnum.hh.
#define DEFN_CTOR_T_D | ( | tp | ) | DEFN_CTOR_T(tp, a.value()) |
Definition at line 2211 of file sc_fxnum.hh.
#define DEFN_RED_FNC | ( | fnc | ) |
Definition at line 2044 of file sc_fxnum.hh.
#define DEFN_RED_FNC | ( | fnc | ) |
Definition at line 2044 of file sc_fxnum.hh.
#define DEFN_REL_OP | ( | op | ) |
#define DEFN_REL_OP | ( | op | ) |
#define DEFN_REL_OP | ( | op | ) |
Definition at line 4180 of file sc_fxnum.hh.
#define DEFN_REL_OP | ( | op, | |
ret | |||
) |
Definition at line 4180 of file sc_fxnum.hh.
#define DEFN_REL_OP | ( | op, | |
ret | |||
) | DEFN_REL_OP_T(op, ret, const sc_fxnum_fast &) |
Definition at line 4180 of file sc_fxnum.hh.
#define DEFN_REL_OP_OTHER | ( | op | ) |
#define DEFN_REL_OP_OTHER | ( | op, | |
ret | |||
) |
#define DEFN_REL_OP_T | ( | op, | |
ret, | |||
tp | |||
) |
Definition at line 4161 of file sc_fxnum.hh.
#define DEFN_REL_OP_T | ( | op, | |
ret, | |||
tp | |||
) |
Definition at line 4161 of file sc_fxnum.hh.
#define DEFN_REL_OP_T | ( | op, | |
tp | |||
) |
#define DEFN_REL_OP_T | ( | op, | |
tp | |||
) |