Decoder: Remove the thread context get/set from the decoder.
authorGabe Black <gblack@eecs.umich.edu>
Sat, 5 Jan 2013 01:00:45 +0000 (19:00 -0600)
committerGabe Black <gblack@eecs.umich.edu>
Sat, 5 Jan 2013 01:00:45 +0000 (19:00 -0600)
commite17c375ddd32fbbef55a96c446a4b98b20df2ad5
tree42e917087dc0887f0aed3d74bad6196f27ab0d0c
parentd1965af22045d2a62b1cd1bc473b836413d79b46
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>
16 files changed:
src/arch/alpha/decoder.hh
src/arch/arm/decoder.cc
src/arch/arm/decoder.hh
src/arch/arm/isa.cc
src/arch/mips/decoder.hh
src/arch/power/decoder.hh
src/arch/sparc/decoder.hh
src/arch/sparc/isa.cc
src/arch/x86/decoder.cc
src/arch/x86/decoder.hh
src/cpu/checker/cpu_impl.hh
src/cpu/inorder/resources/fetch_unit.cc
src/cpu/legiontrace.cc
src/cpu/o3/fetch_impl.hh
src/cpu/simple/base.cc
src/cpu/simple_thread.cc