gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
Float16 Class Reference

#include <misc.hh>

Public Member Functions

 Float16 ()
 
 Float16 (const Float16 &x)
 
 Float16 (float x)
 
 operator float () const
 

Public Attributes

uint16_t val
 

Detailed Description

Definition at line 113 of file misc.hh.

Constructor & Destructor Documentation

◆ Float16() [1/3]

Float16::Float16 ( )
inline

Definition at line 118 of file misc.hh.

References val.

◆ Float16() [2/3]

Float16::Float16 ( const Float16 x)
inline

Definition at line 120 of file misc.hh.

◆ Float16() [3/3]

Float16::Float16 ( float  x)
inline

Definition at line 122 of file misc.hh.

References X86ISA::s, val, and RiscvISA::x.

Member Function Documentation

◆ operator float()

Float16::operator float ( ) const
inline

Definition at line 150 of file misc.hh.

References X86ISA::s, and val.

Member Data Documentation

◆ val

uint16_t Float16::val

Definition at line 116 of file misc.hh.

Referenced by Float16(), and operator float().


The documentation for this class was generated from the following file:

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