arch: Create a base class for decoders.

This base class doesn't actually hold anything yet, it's just a place to
add shared functionality or interfaces later.

Change-Id: Ia33217bd78b1d1ff3df3b2202095576a4e5d8153
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32897
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Gabe Black
2020-08-18 00:09:42 -07:00
parent 34a03ba4cc
commit 65c8b246ba
7 changed files with 47 additions and 6 deletions

View File

@@ -30,6 +30,7 @@
#define __ARCH_MIPS_DECODER_HH__
#include "arch/generic/decode_cache.hh"
#include "arch/generic/decoder.hh"
#include "arch/mips/types.hh"
#include "base/logging.hh"
#include "base/types.hh"
@@ -39,7 +40,7 @@ namespace MipsISA
{
class ISA;
class Decoder
class Decoder : public InstDecoder
{
protected:
//The extended machine instruction being generated