cpu: Result refactoring
Review Request #3756 - Created Dec. 9, 2016 and updated
| Information | |
|---|---|
| Rekai Gonzalez Alberquilla | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 11761:58decfdf9c7b --------------------------- cpu: Result refactoring The Result union used to collect the result of an instruction is now a class of its own, with its constructor, and explicit casting methods for cleanliness. This is also a stepping stone to have vector registers, and instructions that produce a vector register as output. Change-Id: I6f40c11cb5e835d8b11f7804a4e967aff18025b9 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Builtin regressions
Review request changed
Updated (Jan. 16, 2017, 3:52 a.m.)
Description: |
|
||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+206 -79) |
Posted (Jan. 19, 2017, 2:18 p.m.)
Does converting this to a class have any impact on performance?
-
src/cpu/base_dyn_inst.hh (Diff revision 2) -
Why is this now a deque? Seems like you still only push_back and pop_front.
Review request changed
Updated (Jan. 26, 2017, 5:40 a.m.)
Description: |
|
||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 3 (+205 -78) |
