From 19df4e94ee4f2323e5fe1b915f7e81a6034cfc56 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 26 May 2012 13:45:12 -0700 Subject: ISA,CPU: Generalize and split out the components of the decode cache. This will allow it to be specialized by the ISAs. The existing caching scheme is provided by the BasicDecodeCache in the GenericISA namespace and is built from the generalized components. --HG-- rename : src/cpu/decode_cache.cc => src/arch/generic/decode_cache.cc --- src/arch/sparc/decoder.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/arch/sparc/decoder.hh') diff --git a/src/arch/sparc/decoder.hh b/src/arch/sparc/decoder.hh index 999a605a7..ea0793286 100644 --- a/src/arch/sparc/decoder.hh +++ b/src/arch/sparc/decoder.hh @@ -31,10 +31,10 @@ #ifndef __ARCH_SPARC_DECODER_HH__ #define __ARCH_SPARC_DECODER_HH__ +#include "arch/generic/decode_cache.hh" #include "arch/sparc/registers.hh" #include "arch/types.hh" -#include "cpu/decode_cache.hh" -#include "cpu/static_inst_fwd.hh" +#include "cpu/static_inst.hh" #include "cpu/thread_context.hh" class ThreadContext; @@ -109,7 +109,7 @@ class Decoder protected: /// A cache of decoded instruction objects. - static DecodeCache defaultCache; + static GenericISA::BasicDecodeCache defaultCache; public: StaticInstPtr decodeInst(ExtMachInst mach_inst); -- cgit v1.2.3