cpu: Move FuncUnit.py, its .cc and StaticInstFlags.py above Return.

These two files can be used even with the NULL ISA since they don't
depend on anything that would require a NULL ISA specific definition.

Change-Id: Ie7d83fccf39218c40bd741c76a1c6c0ac7fe2f87
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/51831
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Gabe Black
2021-10-20 09:52:40 -07:00
parent f65a704296
commit 2af3045e17

View File

@@ -79,8 +79,12 @@ CompoundFlag('Exec', [ 'ExecEnable', 'ExecOpClass', 'ExecThread',
'ExecFaulting', 'ExecUser', 'ExecKernel' ])
CompoundFlag('ExecNoTicks', [ 'Exec', 'FmtTicksOff' ])
Source('func_unit.cc')
Source('pc_event.cc')
SimObject('FuncUnit.py')
SimObject('StaticInstFlags.py')
if env['TARGET_ISA'] == 'null':
Return()
@@ -93,13 +97,11 @@ SimObject('CheckerCPU.py')
SimObject('BaseCPU.py')
SimObject('CPUTracers.py')
SimObject('FuncUnit.py')
SimObject('TimingExpr.py')
Source('activity.cc')
Source('base.cc')
Source('exetrace.cc')
Source('func_unit.cc')
Source('inteltrace.cc')
Source('nativetrace.cc')
Source('nop_static_inst.cc')
@@ -113,6 +115,5 @@ Source('thread_state.cc')
Source('timing_expr.cc')
SimObject('DummyChecker.py')
SimObject('StaticInstFlags.py')
Source('checker/cpu.cc')
DebugFlag('Checker')