diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2013-01-04 19:00:45 -0600 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2013-01-04 19:00:45 -0600 |
commit | e17c375ddd32fbbef55a96c446a4b98b20df2ad5 (patch) | |
tree | 42e917087dc0887f0aed3d74bad6196f27ab0d0c /src/cpu/checker/cpu_impl.hh | |
parent | d1965af22045d2a62b1cd1bc473b836413d79b46 (diff) | |
download | gem5-e17c375ddd32fbbef55a96c446a4b98b20df2ad5.tar.xz |
Decoder: Remove the thread context get/set from the decoder.
This interface is no longer used, and getting rid of it simplifies the
decoders and code that sets up the decoders. The thread context had been used
to read architectural state which was used to contextualize the instruction
memory as it came in. That was changed so that the state is now sent to the
decoders to keep locally if/when it changes. That's significantly more
efficient.
Committed by: Nilay Vaish <nilay@cs.wisc.edu>
Diffstat (limited to 'src/cpu/checker/cpu_impl.hh')
-rw-r--r-- | src/cpu/checker/cpu_impl.hh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cpu/checker/cpu_impl.hh b/src/cpu/checker/cpu_impl.hh index 40f1cef6a..5637eb08b 100644 --- a/src/cpu/checker/cpu_impl.hh +++ b/src/cpu/checker/cpu_impl.hh @@ -306,7 +306,6 @@ Checker<Impl>::verify(DynInstPtr &completed_inst) StaticInstPtr instPtr = NULL; //Predecode, ie bundle up an ExtMachInst - thread->decoder.setTC(thread->getTC()); //If more fetch data is needed, pass it in. Addr fetchPC = (pcState.instAddr() & PCMask) + fetchOffset; thread->decoder.moreBytes(pcState, fetchPC, machInst); |