gem5
v20.1.0.0
|
#include <assert.h>
#include <fenv.h>
#include <stdlib.h>
Go to the source code of this file.
Functions | |
void | m5_fesetround (int rm) |
int | m5_fegetround () |
Variables | |
static const int | m5_round_ops [] = {FE_DOWNWARD, FE_TONEAREST, FE_TOWARDZERO, FE_UPWARD} |
int m5_fegetround | ( | ) |
Definition at line 44 of file fenv.c.
References m5_round_ops, ArmISA::rm, and RiscvISA::x.
void m5_fesetround | ( | int | rm | ) |
Definition at line 38 of file fenv.c.
References m5_round_ops, and ArmISA::rm.
|
static |
Definition at line 36 of file fenv.c.
Referenced by m5_fegetround(), and m5_fesetround().