gem5 v24.0.0.0
|
A generic atomic op class. More...
#include <amo.hh>
Public Member Functions | |
AtomicGenericOp (T _a, std::function< void(T *, T)> _op) | |
AtomicOpFunctor * | clone () |
void | execute (T *b) |
Public Member Functions inherited from gem5::TypedAtomicOpFunctor< T > | |
void | operator() (uint8_t *p) |
Public Member Functions inherited from gem5::AtomicOpFunctor | |
virtual | ~AtomicOpFunctor () |
Private Attributes | |
T | a |
std::function< void(T *, T)> | op |
A generic atomic op class.
|
inline |
Definition at line 128 of file amo.hh.
Referenced by gem5::RiscvISA::AtomicGenericOp< T >::clone().
|
inlinevirtual |
Implements gem5::TypedAtomicOpFunctor< T >.
Definition at line 130 of file amo.hh.
References gem5::RiscvISA::AtomicGenericOp< T >::AtomicGenericOp().
|
inlinevirtual |
Implements gem5::TypedAtomicOpFunctor< T >.
Definition at line 131 of file amo.hh.
References gem5::RiscvISA::AtomicGenericOp< T >::a, gem5::ArmISA::b, and gem5::RiscvISA::AtomicGenericOp< T >::op.
|
private |
Definition at line 133 of file amo.hh.
Referenced by gem5::RiscvISA::AtomicGenericOp< T >::execute().
|
private |
Definition at line 134 of file amo.hh.
Referenced by gem5::RiscvISA::AtomicGenericOp< T >::execute().