gem5  v22.1.0.0
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 116 of file misc.hh.

Constructor & Destructor Documentation

◆ Float16() [1/3]

gem5::Float16::Float16 ( )
inline

Definition at line 121 of file misc.hh.

References val.

◆ Float16() [2/3]

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

Definition at line 123 of file misc.hh.

◆ Float16() [3/3]

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

Definition at line 125 of file misc.hh.

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

Member Function Documentation

◆ operator float()

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

Definition at line 153 of file misc.hh.

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

Member Data Documentation

◆ val

uint16_t gem5::Float16::val

Definition at line 119 of file misc.hh.

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


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

Generated on Wed Dec 21 2022 10:23:24 for gem5 by doxygen 1.9.1