cpu: Move the instruction port into o3's fetch stage.
authorGabe Black <gabeblack@google.com>
Sat, 17 Aug 2019 08:32:23 +0000 (01:32 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 28 Aug 2019 02:14:53 +0000 (02:14 +0000)
commitb16e525e4073b27f70bf6cf960313ea76cf6ed54
treea48adae9a66d1f563cdc100d2697a49709474f1a
parentb4e3e2f4a4dfa3a05d068ab33eb50a749326f2c5
cpu: Move the instruction port into o3's fetch stage.

That's where it's used, and that avoids having to pass it around using
the top level getInstPort accessor.

Change-Id: I489a3f3239b3116292f3dcd78a3945fb468c6311
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20239
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/cpu/o3/cpu.cc
src/cpu/o3/cpu.hh
src/cpu/o3/fetch.hh
src/cpu/o3/fetch_impl.hh