Transaction-Level Modeling Framework for Space Applications
#include "testmod.h"
Classes | |
struct | dp3_type |
struct | sp3_type |
Macros | |
#define | FTT_CEXC 0x1c01f |
#define | FTT 0x1c000 |
#define | IEEE754EXC (1 << 14) |
#define | UNFINEXC (1 << 15) |
#define | NX 1 |
#define | DZ 2 |
#define | UF 4 |
#define | OF 8 |
#define | NV 16 |
#define | EQ 0 |
#define | LT 1 |
#define | GT 2 |
#define | UN 3 |
Typedefs | |
typedef unsigned long long | uint64 |
Functions | |
void | grfpu_fdivd (uint64 *a, uint64 *b, uint64 *c) |
void | grfpu_ttrap () |
void | divident (uint64 *a) |
void | divromtst (uint64 *a, uint64 *b) |
unsigned int | grfpu_fitos (int a) |
uint64 | grfpu_fitod (int a) |
unsigned int | grfpu_fdtoi (uint64 a) |
unsigned int | grfpu_fstoi (unsigned int a) |
unsigned int | grfpu_fdtos (uint64 a) |
uint64 | grfpu_fstod (unsigned int a) |
int | grfpu_fcmpd (uint64 a, uint64 b) |
int | grfpu_fcmped (uint64 a, uint64 b) |
uint64 | grfpu_fsubd (uint64 a, uint64 b) |
void | grfpc_dpdep_tst (uint64 *a) |
void | grfpc_spdep_tst (unsigned int *a) |
void | grfpc_spdpdep_tst (uint64 *a) |
void | grfpc_spdpdep_tst2 (uint64 *a) |
void | initfpreg () |
int | grfpc_edac_test () |
int | grfpu_test () |
Variables | |
volatile unsigned int | fsr1 |
volatile unsigned int | fq1 |
volatile unsigned int | tfsr |
volatile unsigned int | grfpufq |
uint64 | denorm = 0x0000000000010000LL |
uint64 | nzero = 0x8000000000000000LL |
uint64 | inf = 0xfff0000000000000LL |
uint64 | ninf = 0xfff0000000000000LL |
uint64 | pinf = 0x7ff0000000000000LL |
uint64 | qnan = 0x7ff8000000000000LL |
unsigned int | qnan_sp = 0x7fc00000 |
uint64 | snan = 0x7ff4000000000000LL |
uint64 | qsnan = 0x7fffe00000000000LL |
unsigned long int | qsnan_sp = 0x7fff0000 |
unsigned int | divisor [256] |
unsigned int | divres [512] |
unsigned int | sqrtres [256] |
struct dp3_type | faddd_tv [16] |
struct dp3_type | fmuld_tv [11] |
unsigned int | fsr |
uint64 | z |
unsigned int | fl |
double | dbl |
uint64 | dpres = 0xbff8000000000000LL |
uint64 | spdpres = 0x3fefdff00ffc484aLL |
unsigned int | fptrap |
#define DZ 2 |
Referenced by grfpu_test().
#define EQ 0 |
Referenced by grfpu_test().
#define FTT 0x1c000 |
Referenced by grfpu_test().
#define FTT_CEXC 0x1c01f |
Referenced by grfpu_test().
#define GT 2 |
Referenced by grfpu_test().
#define IEEE754EXC (1 << 14) |
Referenced by grfpu_test().
#define LT 1 |
Referenced by grfpu_test().
#define NV 16 |
Referenced by grfpu_test().
#define NX 1 |
#define OF 8 |
Referenced by grfpu_test().
#define UF 4 |
Referenced by grfpu_test().
#define UN 3 |
Referenced by grfpu_test().
#define UNFINEXC (1 << 15) |
Referenced by grfpu_test().
typedef unsigned long long uint64 |
void divident | ( | uint64 * | a | ) |
Referenced by grfpu_test().
Referenced by grfpu_test().
void grfpc_dpdep_tst | ( | uint64 * | a | ) |
Referenced by grfpu_test().
int grfpc_edac_test | ( | ) |
void grfpc_spdep_tst | ( | unsigned int * | a | ) |
Referenced by grfpu_test().
void grfpc_spdpdep_tst | ( | uint64 * | a | ) |
Referenced by grfpu_test().
void grfpc_spdpdep_tst2 | ( | uint64 * | a | ) |
Referenced by grfpu_test().
Referenced by grfpu_test().
Referenced by grfpu_test().
Referenced by grfpu_test().
Referenced by grfpu_test().
Referenced by grfpu_test().
Referenced by grfpu_test().
Referenced by grfpu_test().
Referenced by grfpu_test().
Referenced by grfpu_test().
int grfpu_test | ( | ) |
References denorm, divident(), divromtst(), DZ, EQ, faddd_tv, fail, fmuld_tv, FTT, FTT_CEXC, get_asr17, get_tbr, grfpc_dpdep_tst(), grfpc_spdep_tst(), grfpc_spdep_tst2, grfpc_spdpdep_tst(), grfpu_fabss, grfpu_faddd, grfpu_fadds, grfpu_fcmpd(), grfpu_fcmped(), grfpu_fcmpes, grfpu_fcmps, grfpu_fdivd(), grfpu_fdivs, grfpu_fdtoi(), grfpu_fdtos(), grfpu_fitod(), grfpu_fitos(), grfpu_fmovs, grfpu_fmuld, grfpu_fmuls, grfpu_fnegs, grfpu_fsmuld, grfpu_fsqrts, grfpu_fstod(), grfpu_fstoi(), grfpu_fsubd(), grfpu_fsubs, grfpu_sqrtd, GRFPU_TEST, GT, i, IEEE754EXC, inf, initfpreg(), LT, ninf, NV, nzero, OF, dp3_type::op1, dp3_type::op2, pinf, qnan, qsnan, qsnan_sp, report_subtest(), dp3_type::res, snan, UF, UN, UNFINEXC, x, y, and z.
Referenced by leon3_test().
void grfpu_ttrap | ( | ) |
void initfpreg | ( | ) |
Referenced by grfpu_test().
double dbl |
uint64 denorm = 0x0000000000010000LL |
Referenced by grfpu_test().
unsigned int divisor |
unsigned int divres |
uint64 dpres = 0xbff8000000000000LL |
struct dp3_type faddd_tv |
Referenced by grfpu_test().
unsigned int fl |
struct dp3_type fmuld_tv |
Referenced by grfpu_test().
unsigned int fptrap |
volatile unsigned int fq1 |
unsigned int fsr |
volatile unsigned int fsr1 |
volatile unsigned int grfpufq |
uint64 inf = 0xfff0000000000000LL |
Referenced by grfpu_test().
uint64 ninf = 0xfff0000000000000LL |
Referenced by grfpu_test().
uint64 nzero = 0x8000000000000000LL |
Referenced by grfpu_test().
uint64 pinf = 0x7ff0000000000000LL |
Referenced by grfpu_test().
uint64 qnan = 0x7ff8000000000000LL |
Referenced by grfpu_test().
unsigned int qnan_sp = 0x7fc00000 |
uint64 qsnan = 0x7fffe00000000000LL |
Referenced by grfpu_test().
unsigned long int qsnan_sp = 0x7fff0000 |
Referenced by grfpu_test().
uint64 snan = 0x7ff4000000000000LL |
Referenced by grfpu_test().
uint64 spdpres = 0x3fefdff00ffc484aLL |
unsigned int sqrtres |
volatile unsigned int tfsr |
uint64 z |
Referenced by grfpu_test(), trap::OSEmulator< issueWidth >::initSysCalls(), p3(), and whetstones().