gem5
|
#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 46 of file fenv.c.
References m5_round_ops, ArmISA::rm, and X86ISA::x.
void m5_fesetround | ( | int | rm | ) |
Definition at line 40 of file fenv.c.
References m5_round_ops.
|
static |
Definition at line 38 of file fenv.c.
Referenced by m5_fegetround(), and m5_fesetround().