gem5  v21.1.0.2
Public Member Functions | Public Attributes | List of all members
gem5::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 118 of file misc.hh.

Constructor & Destructor Documentation

◆ Float16() [1/3]

gem5::Float16::Float16 ( )
inline

Definition at line 123 of file misc.hh.

References val.

◆ Float16() [2/3]

gem5::Float16::Float16 ( const Float16 x)
inline

Definition at line 125 of file misc.hh.

◆ Float16() [3/3]

gem5::Float16::Float16 ( float  x)
inline

Definition at line 127 of file misc.hh.

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

Member Function Documentation

◆ operator float()

gem5::Float16::operator float ( ) const
inline

Definition at line 155 of file misc.hh.

References gem5::X86ISA::s, and val.

Member Data Documentation

◆ val

uint16_t gem5::Float16::val

Definition at line 121 of file misc.hh.

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


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

Generated on Tue Sep 21 2021 12:27:35 for gem5 by doxygen 1.8.17