arch: Templatize the BasicDecodeCache.
While the arch/generic directory is in arch/, it still shouldn't assume any particular ISA. This change templatizes away the ISA specific types so it can be used in multiple ISAs at a time. Change-Id: I1abb4f5081a0a25f743be786ad8e7e3d55cfc67a Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40097 Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
namespace ArmISA
|
||||
{
|
||||
|
||||
GenericISA::BasicDecodeCache Decoder::defaultCache;
|
||||
GenericISA::BasicDecodeCache<Decoder, ExtMachInst> Decoder::defaultCache;
|
||||
|
||||
Decoder::Decoder(ISA* isa)
|
||||
: data(0), fpscrLen(0), fpscrStride(0),
|
||||
|
||||
Reference in New Issue
Block a user