cpu: Pull more arch specialization to the top of BaseCPU.py.
authorGabe Black <gabeblack@google.com>
Thu, 8 Aug 2019 00:40:57 +0000 (17:40 -0700)
committerGabe Black <gabeblack@google.com>
Sat, 10 Aug 2019 07:12:37 +0000 (07:12 +0000)
commitcc3d89b6c13af76c5805ac2bebc8d44817b923b4
tree202f29d3bb621c3db39f39b6120ab1d8623a3036
parentf320cba1dfcc31b12ed5346c4d773888b18e0f43
cpu: Pull more arch specialization to the top of BaseCPU.py.

This simplifies the logic of the CPU python class, and brings us ever
so slightly closer to factoring hardcoded ISA behavior out of non-ISA
specific components.

Change-Id: I7e4511dd4e6076f5c214be5af2a0e33af0142563
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19889
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/cpu/BaseCPU.py