gem5
v20.1.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 TypedAtomicOpFunctor< T > | |
void | operator() (uint8_t *p) |
Public Member Functions inherited from AtomicOpFunctor | |
virtual | ~AtomicOpFunctor () |
Private Attributes | |
T | a |
std::function< void(T *, T)> | op |
A generic atomic op class.
|
inline |
|
inlinevirtual |
Implements TypedAtomicOpFunctor< T >.
|
inlinevirtual |
Implements TypedAtomicOpFunctor< T >.
Definition at line 128 of file amo.hh.
References RiscvISA::AtomicGenericOp< T >::a, ArmISA::b, and RiscvISA::AtomicGenericOp< T >::op.
|
private |
Definition at line 130 of file amo.hh.
Referenced by RiscvISA::AtomicGenericOp< T >::execute().
|
private |
Definition at line 131 of file amo.hh.
Referenced by RiscvISA::AtomicGenericOp< T >::execute().