gem5  v20.1.0.0
Functions | Variables
fenv.c File Reference
#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}
 

Function Documentation

◆ m5_fegetround()

int m5_fegetround ( )

Definition at line 44 of file fenv.c.

References m5_round_ops, ArmISA::rm, and RiscvISA::x.

◆ m5_fesetround()

void m5_fesetround ( int  rm)

Definition at line 38 of file fenv.c.

References m5_round_ops, and ArmISA::rm.

Variable Documentation

◆ m5_round_ops

const int m5_round_ops[] = {FE_DOWNWARD, FE_TONEAREST, FE_TOWARDZERO, FE_UPWARD}
static

Definition at line 36 of file fenv.c.

Referenced by m5_fegetround(), and m5_fesetround().


Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17