arch: Templatize the BasicDecodeCache.
authorGabe Black <gabe.black@gmail.com>
Fri, 29 Jan 2021 01:02:47 +0000 (17:02 -0800)
committerGabe Black <gabe.black@gmail.com>
Wed, 3 Feb 2021 03:54:34 +0000 (03:54 +0000)
commiteb7acc7c6567bbc47b3adaf6a5d84c25afa85bba
treeea332d8081dd3b2b0f80d6fed228973ad1be4d65
parentc9e069a2f279cb4b51cce13a9db5fc7978c4938c
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>
src/arch/arm/decoder.cc
src/arch/arm/decoder.hh
src/arch/generic/SConscript
src/arch/generic/decode_cache.cc [deleted file]
src/arch/generic/decode_cache.hh
src/arch/mips/decoder.cc
src/arch/mips/decoder.hh
src/arch/power/decoder.cc
src/arch/power/decoder.hh
src/arch/sparc/decoder.cc
src/arch/sparc/decoder.hh