cpu: HTM Implementation for O3CPU
JIRA: https://gem5.atlassian.net/browse/GEM5-587 Change-Id: I83787f4594963a15d856b81ad283b4f032d1c007 Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30328 Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
committed by
Giacomo Travaglini
parent
79df434187
commit
46d7fdf1b6
@@ -331,21 +331,24 @@ void
|
||||
O3ThreadContext<Impl>::htmAbortTransaction(uint64_t htmUid,
|
||||
HtmFailureFaultCause cause)
|
||||
{
|
||||
panic("function not implemented\n");
|
||||
cpu->htmSendAbortSignal(thread->threadId(), htmUid, cause);
|
||||
|
||||
conditionalSquash();
|
||||
}
|
||||
|
||||
template <class Impl>
|
||||
BaseHTMCheckpointPtr&
|
||||
O3ThreadContext<Impl>::getHtmCheckpointPtr()
|
||||
{
|
||||
panic("function not implemented\n");
|
||||
return thread->htmCheckpoint;
|
||||
}
|
||||
|
||||
template <class Impl>
|
||||
void
|
||||
O3ThreadContext<Impl>::setHtmCheckpointPtr(BaseHTMCheckpointPtr new_cpt)
|
||||
{
|
||||
panic("function not implemented\n");
|
||||
assert(!thread->htmCheckpoint->valid());
|
||||
thread->htmCheckpoint = std::move(new_cpt);
|
||||
}
|
||||
|
||||
#endif //__CPU_O3_THREAD_CONTEXT_IMPL_HH__
|
||||
|
||||
Reference in New Issue
Block a user