gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::AtomicOpAnd< T > Class Template Reference

#include <amo.hh>

Inheritance diagram for gem5::AtomicOpAnd< T >:
gem5::TypedAtomicOpFunctor< T > gem5::AtomicOpFunctor

Public Member Functions

 AtomicOpAnd (T _a)
 
void execute (T *b)
 
AtomicOpFunctorclone ()
 
- Public Member Functions inherited from gem5::TypedAtomicOpFunctor< T >
void operator() (uint8_t *p)
 
- Public Member Functions inherited from gem5::AtomicOpFunctor
virtual ~AtomicOpFunctor ()
 

Public Attributes

a
 

Private Member Functions

template<typename B >
std::enable_if< std::is_integral< B >::value, void >::type executeImpl (B *b)
 
template<typename B >
std::enable_if<!std::is_integral< B >::value, void >::type executeImpl (B *b)
 

Detailed Description

template<typename T>
class gem5::AtomicOpAnd< T >

Definition at line 130 of file amo.hh.

Constructor & Destructor Documentation

◆ AtomicOpAnd()

template<typename T >
gem5::AtomicOpAnd< T >::AtomicOpAnd ( T _a)
inline

Definition at line 143 of file amo.hh.

Referenced by gem5::AtomicOpAnd< T >::clone().

Member Function Documentation

◆ clone()

template<typename T >
AtomicOpFunctor * gem5::AtomicOpAnd< T >::clone ( )
inlinevirtual

◆ execute()

template<typename T >
void gem5::AtomicOpAnd< T >::execute ( T * b)
inlinevirtual

Implements gem5::TypedAtomicOpFunctor< T >.

Definition at line 144 of file amo.hh.

References gem5::ArmISA::b, and gem5::AtomicOpAnd< T >::executeImpl().

◆ executeImpl() [1/2]

template<typename T >
template<typename B >
std::enable_if< std::is_integral< B >::value, void >::type gem5::AtomicOpAnd< T >::executeImpl ( B * b)
inlineprivate

Definition at line 135 of file amo.hh.

References gem5::AtomicOpAnd< T >::a, and gem5::ArmISA::b.

Referenced by gem5::AtomicOpAnd< T >::execute().

◆ executeImpl() [2/2]

template<typename T >
template<typename B >
std::enable_if<!std::is_integral< B >::value, void >::type gem5::AtomicOpAnd< T >::executeImpl ( B * b)
inlineprivate

Definition at line 139 of file amo.hh.

Member Data Documentation

◆ a

template<typename T >
T gem5::AtomicOpAnd< T >::a

Definition at line 142 of file amo.hh.

Referenced by gem5::AtomicOpAnd< T >::clone(), and gem5::AtomicOpAnd< T >::executeImpl().


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

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