gem5  v22.1.0.0
Protected Member Functions | List of all members
gem5::bitfield_backend::Signed< Storage, first, last > Class Template Reference

#include <bitunion.hh>

Protected Member Functions

int64_t getter (const Storage &storage) const
 
void setter (Storage &storage, int64_t val)
 

Detailed Description

template<class Storage, int first, int last>
class gem5::bitfield_backend::Signed< Storage, first, last >

Definition at line 197 of file bitunion.hh.

Member Function Documentation

◆ getter()

template<class Storage , int first, int last>
int64_t gem5::bitfield_backend::Signed< Storage, first, last >::getter ( const Storage &  storage) const
inlineprotected

Definition at line 204 of file bitunion.hh.

References gem5::bits(), and gem5::sext().

◆ setter()

template<class Storage , int first, int last>
void gem5::bitfield_backend::Signed< Storage, first, last >::setter ( Storage &  storage,
int64_t  val 
)
inlineprotected

Definition at line 210 of file bitunion.hh.

References gem5::replaceBits(), and gem5::X86ISA::val.


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

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