gem5 v24.0.0.0
Loading...
Searching...
No Matches
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::ArmISA::s, val, and gem5::RiscvISA::x.

Member Function Documentation

◆ operator float()

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

Definition at line 153 of file misc.hh.

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

Member Data Documentation

◆ val

uint16_t gem5::Float16::val

Definition at line 119 of file misc.hh.

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


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

Generated on Tue Jun 18 2024 16:24:11 for gem5 by doxygen 1.11.0