Tuan Ta has uploaded a new patch set (#3). ( https://gem5-review.googlesource.com/9626 )

Change subject: cpu: fix how branching is handled when a thread is suspended in MinorCPU
......................................................................

cpu: fix how branching is handled when a thread is suspended in MinorCPU

When a thread is suspended, all instructions after the suspension need
to be discarded since the thread will take a different execution stream
when it wakes up.

To do that, in MinorCPU, whenever a thread gets suspended, we change the
current execution stream by updating the current branch with
BranchData::SuspendThread reason.

Change-Id: I7cdcda22c1cf6e8ac8db8800b7d9ec052433fdf3
---
M src/cpu/minor/execute.cc
1 file changed, 9 insertions(+), 3 deletions(-)


--
To view, visit https://gem5-review.googlesource.com/9626
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I7cdcda22c1cf6e8ac8db8800b7d9ec052433fdf3
Gerrit-Change-Number: 9626
Gerrit-PatchSet: 3
Gerrit-Owner: Tuan Ta <[email protected]>
Gerrit-MessageType: newpatchset
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to