gem5  v21.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Macros
fp_inst.hh File Reference

Go to the source code of this file.

Macros

#define RM_REQUIRED
 

Macro Definition Documentation

◆ RM_REQUIRED

#define RM_REQUIRED
Value:
uint_fast8_t rm = ROUND_MODE; \
uint_fast8_t frm = xc->readMiscReg(MISCREG_FRM); \
if (rm == 7) \
rm = frm; \
if (rm > 4) \
fault = std::make_shared<IllegalInstFault>("RM fault", machInst);\
softfloat_roundingMode = rm; \

Definition at line 34 of file fp_inst.hh.

RiscvISA::MISCREG_FRM
@ MISCREG_FRM
Definition: registers.hh:277
ArmISA::rm
Bitfield< 3, 0 > rm
Definition: types.hh:127

Generated on Tue Mar 23 2021 19:41:31 for gem5 by doxygen 1.8.17