diff options
author | Nathan Binkert <nate@binkert.org> | 2011-04-15 10:44:06 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2011-04-15 10:44:06 -0700 |
commit | 39a055645f77e0fa7bf49406635dba6bd65e361f (patch) | |
tree | a7df44358c75ff2de6e6f1549755f72cddb7d735 /src/cpu/inorder | |
parent | 50fda09ac79b2dc1aa31fbced8d19b23d683fbab (diff) | |
download | gem5-39a055645f77e0fa7bf49406635dba6bd65e361f.tar.xz |
includes: sort all includes
Diffstat (limited to 'src/cpu/inorder')
50 files changed, 133 insertions, 135 deletions
diff --git a/src/cpu/inorder/cpu.cc b/src/cpu/inorder/cpu.cc index 1c2fc6333..f7fff05d3 100644 --- a/src/cpu/inorder/cpu.cc +++ b/src/cpu/inorder/cpu.cc @@ -34,17 +34,17 @@ #include "arch/utility.hh" #include "config/full_system.hh" #include "config/the_isa.hh" -#include "cpu/activity.hh" -#include "cpu/base.hh" -#include "cpu/exetrace.hh" +#include "cpu/inorder/resources/resource_list.hh" #include "cpu/inorder/cpu.hh" #include "cpu/inorder/first_stage.hh" #include "cpu/inorder/inorder_dyn_inst.hh" #include "cpu/inorder/pipeline_traits.hh" #include "cpu/inorder/resource_pool.hh" -#include "cpu/inorder/resources/resource_list.hh" #include "cpu/inorder/thread_context.hh" #include "cpu/inorder/thread_state.hh" +#include "cpu/activity.hh" +#include "cpu/base.hh" +#include "cpu/exetrace.hh" #include "cpu/simple_thread.hh" #include "cpu/thread_context.hh" #include "mem/translating_port.hh" diff --git a/src/cpu/inorder/cpu.hh b/src/cpu/inorder/cpu.hh index 403c931b2..af2fa5ced 100644 --- a/src/cpu/inorder/cpu.hh +++ b/src/cpu/inorder/cpu.hh @@ -39,23 +39,23 @@ #include <vector> #include "arch/isa_traits.hh" -#include "arch/types.hh" #include "arch/registers.hh" +#include "arch/types.hh" #include "base/statistics.hh" -#include "cpu/timebuf.hh" #include "base/types.hh" #include "config/full_system.hh" #include "config/the_isa.hh" -#include "cpu/activity.hh" -#include "cpu/base.hh" -#include "cpu/simple_thread.hh" #include "cpu/inorder/inorder_dyn_inst.hh" -#include "cpu/inorder/pipeline_traits.hh" #include "cpu/inorder/pipeline_stage.hh" -#include "cpu/inorder/thread_state.hh" +#include "cpu/inorder/pipeline_traits.hh" #include "cpu/inorder/reg_dep_map.hh" +#include "cpu/inorder/thread_state.hh" #include "cpu/o3/dep_graph.hh" #include "cpu/o3/rename_map.hh" +#include "cpu/activity.hh" +#include "cpu/base.hh" +#include "cpu/simple_thread.hh" +#include "cpu/timebuf.hh" #include "mem/packet.hh" #include "mem/port.hh" #include "mem/request.hh" diff --git a/src/cpu/inorder/first_stage.cc b/src/cpu/inorder/first_stage.cc index b656ca1c7..bf57681a7 100644 --- a/src/cpu/inorder/first_stage.cc +++ b/src/cpu/inorder/first_stage.cc @@ -30,10 +30,10 @@ */ #include "base/str.hh" -#include "cpu/inorder/first_stage.hh" #include "cpu/inorder/resources/resource_list.hh" -#include "cpu/inorder/resource_pool.hh" #include "cpu/inorder/cpu.hh" +#include "cpu/inorder/first_stage.hh" +#include "cpu/inorder/resource_pool.hh" #include "params/InOrderTrace.hh" using namespace std; diff --git a/src/cpu/inorder/first_stage.hh b/src/cpu/inorder/first_stage.hh index 26151075c..5e8aecfea 100644 --- a/src/cpu/inorder/first_stage.hh +++ b/src/cpu/inorder/first_stage.hh @@ -36,12 +36,12 @@ #include <vector> #include "base/statistics.hh" -#include "cpu/timebuf.hh" -#include "cpu/inorder/inorder_dyn_inst.hh" #include "cpu/inorder/comm.hh" +#include "cpu/inorder/inorder_dyn_inst.hh" #include "cpu/inorder/params.hh" -#include "cpu/inorder/pipeline_traits.hh" #include "cpu/inorder/pipeline_stage.hh" +#include "cpu/inorder/pipeline_traits.hh" +#include "cpu/timebuf.hh" class InOrderCPU; diff --git a/src/cpu/inorder/inorder_cpu_builder.cc b/src/cpu/inorder/inorder_cpu_builder.cc index a19137dd8..99729577e 100644 --- a/src/cpu/inorder/inorder_cpu_builder.cc +++ b/src/cpu/inorder/inorder_cpu_builder.cc @@ -31,12 +31,12 @@ #include <string> -#include "cpu/base.hh" -#include "cpu/inst_seq.hh" -#include "cpu/static_inst.hh" #include "cpu/inorder/cpu.hh" #include "cpu/inorder/inorder_dyn_inst.hh" #include "cpu/inorder/pipeline_traits.hh" +#include "cpu/base.hh" +#include "cpu/inst_seq.hh" +#include "cpu/static_inst.hh" #include "params/InOrderCPU.hh" InOrderCPU * diff --git a/src/cpu/inorder/inorder_dyn_inst.cc b/src/cpu/inorder/inorder_dyn_inst.cc index ebd7b7cbb..90134f533 100644 --- a/src/cpu/inorder/inorder_dyn_inst.cc +++ b/src/cpu/inorder/inorder_dyn_inst.cc @@ -31,16 +31,16 @@ #include <iostream> #include <set> -#include <string> #include <sstream> +#include <string> #include "arch/faults.hh" #include "base/cprintf.hh" #include "base/trace.hh" #include "config/the_isa.hh" -#include "cpu/exetrace.hh" #include "cpu/inorder/cpu.hh" #include "cpu/inorder/inorder_dyn_inst.hh" +#include "cpu/exetrace.hh" #include "mem/request.hh" using namespace std; diff --git a/src/cpu/inorder/inorder_dyn_inst.hh b/src/cpu/inorder/inorder_dyn_inst.hh index 830244ae8..1fbc476e8 100644 --- a/src/cpu/inorder/inorder_dyn_inst.hh +++ b/src/cpu/inorder/inorder_dyn_inst.hh @@ -47,12 +47,12 @@ #include "base/types.hh" #include "config/full_system.hh" #include "config/the_isa.hh" -#include "cpu/exetrace.hh" #include "cpu/inorder/inorder_trace.hh" #include "cpu/inorder/pipeline_traits.hh" #include "cpu/inorder/resource.hh" #include "cpu/inorder/resource_sked.hh" #include "cpu/inorder/thread_state.hh" +#include "cpu/exetrace.hh" #include "cpu/inst_seq.hh" #include "cpu/op_class.hh" #include "cpu/static_inst.hh" diff --git a/src/cpu/inorder/inorder_trace.cc b/src/cpu/inorder/inorder_trace.cc index 75f6be63d..8d40451bd 100644 --- a/src/cpu/inorder/inorder_trace.cc +++ b/src/cpu/inorder/inorder_trace.cc @@ -32,10 +32,10 @@ #include <iomanip> #include "config/the_isa.hh" -#include "cpu/exetrace.hh" #include "cpu/inorder/inorder_trace.hh" -#include "cpu/static_inst.hh" #include "cpu/inorder/pipeline_traits.hh" +#include "cpu/exetrace.hh" +#include "cpu/static_inst.hh" #include "cpu/thread_context.hh" #include "params/InOrderTrace.hh" diff --git a/src/cpu/inorder/pipeline_stage.cc b/src/cpu/inorder/pipeline_stage.cc index b267ac00e..b9e21e20f 100644 --- a/src/cpu/inorder/pipeline_stage.cc +++ b/src/cpu/inorder/pipeline_stage.cc @@ -31,9 +31,9 @@ #include "base/str.hh" #include "config/the_isa.hh" +#include "cpu/inorder/cpu.hh" #include "cpu/inorder/pipeline_stage.hh" #include "cpu/inorder/resource_pool.hh" -#include "cpu/inorder/cpu.hh" using namespace std; using namespace ThePipeline; diff --git a/src/cpu/inorder/pipeline_stage.hh b/src/cpu/inorder/pipeline_stage.hh index ec70fefc5..d0d9112c0 100644 --- a/src/cpu/inorder/pipeline_stage.hh +++ b/src/cpu/inorder/pipeline_stage.hh @@ -36,11 +36,11 @@ #include <vector> #include "base/statistics.hh" -#include "cpu/timebuf.hh" -#include "cpu/inorder/inorder_dyn_inst.hh" #include "cpu/inorder/comm.hh" -#include "params/InOrderCPU.hh" +#include "cpu/inorder/inorder_dyn_inst.hh" #include "cpu/inorder/pipeline_traits.hh" +#include "cpu/timebuf.hh" +#include "params/InOrderCPU.hh" class InOrderCPU; diff --git a/src/cpu/inorder/pipeline_traits.5stage.cc b/src/cpu/inorder/pipeline_traits.5stage.cc index 50c30af1e..f15a3cb11 100644 --- a/src/cpu/inorder/pipeline_traits.5stage.cc +++ b/src/cpu/inorder/pipeline_traits.5stage.cc @@ -29,9 +29,9 @@ * */ -#include "cpu/inorder/pipeline_traits.hh" -#include "cpu/inorder/inorder_dyn_inst.hh" #include "cpu/inorder/resources/resource_list.hh" +#include "cpu/inorder/inorder_dyn_inst.hh" +#include "cpu/inorder/pipeline_traits.hh" using namespace std; diff --git a/src/cpu/inorder/pipeline_traits.5stage.hh b/src/cpu/inorder/pipeline_traits.5stage.hh index aea6eff37..5e5ef6efd 100644 --- a/src/cpu/inorder/pipeline_traits.5stage.hh +++ b/src/cpu/inorder/pipeline_traits.5stage.hh @@ -39,7 +39,6 @@ #include "arch/isa_traits.hh" #include "cpu/inorder/params.hh" - class InOrderDynInst; /* This Namespace contains constants, typedefs, functions and diff --git a/src/cpu/inorder/pipeline_traits.9stage.cc b/src/cpu/inorder/pipeline_traits.9stage.cc index d686bb3bc..e8ff3acd4 100644 --- a/src/cpu/inorder/pipeline_traits.9stage.cc +++ b/src/cpu/inorder/pipeline_traits.9stage.cc @@ -29,9 +29,9 @@ * */ -#include "cpu/inorder/pipeline_traits.hh" -#include "cpu/inorder/inorder_dyn_inst.hh" #include "cpu/inorder/resources/resource_list.hh" +#include "cpu/inorder/inorder_dyn_inst.hh" +#include "cpu/inorder/pipeline_traits.hh" using namespace std; diff --git a/src/cpu/inorder/pipeline_traits.9stage.hh b/src/cpu/inorder/pipeline_traits.9stage.hh index 91e537366..d4125baea 100644 --- a/src/cpu/inorder/pipeline_traits.9stage.hh +++ b/src/cpu/inorder/pipeline_traits.9stage.hh @@ -33,14 +33,13 @@ #define __CPU_INORDER_PIPELINE_IMPL_HH__ #include <list> +#include <map> #include <queue> #include <vector> -#include <map> #include "arch/isa_traits.hh" #include "cpu/inorder/params.hh" - class InOrderDynInst; /* This Namespace contains constants, typedefs, functions and diff --git a/src/cpu/inorder/pipeline_traits.9stage.smt2.cc b/src/cpu/inorder/pipeline_traits.9stage.smt2.cc index 9d2ed8e61..68c1d0eab 100644 --- a/src/cpu/inorder/pipeline_traits.9stage.smt2.cc +++ b/src/cpu/inorder/pipeline_traits.9stage.smt2.cc @@ -29,9 +29,9 @@ * */ -#include "cpu/inorder/pipeline_traits.hh" -#include "cpu/inorder/inorder_dyn_inst.hh" #include "cpu/inorder/resources/resource_list.hh" +#include "cpu/inorder/inorder_dyn_inst.hh" +#include "cpu/inorder/pipeline_traits.hh" using namespace std; diff --git a/src/cpu/inorder/pipeline_traits.9stage.smt2.hh b/src/cpu/inorder/pipeline_traits.9stage.smt2.hh index 22da4ea0f..f620289c3 100644 --- a/src/cpu/inorder/pipeline_traits.9stage.smt2.hh +++ b/src/cpu/inorder/pipeline_traits.9stage.smt2.hh @@ -33,14 +33,13 @@ #define __CPU_INORDER_PIPELINE_IMPL_HH__ #include <list> +#include <map> #include <queue> #include <vector> -#include <map> #include "arch/isa_traits.hh" #include "cpu/inorder/params.hh" - class InOrderDynInst; /* This Namespace contains constants, typedefs, functions and diff --git a/src/cpu/inorder/pipeline_traits.hh b/src/cpu/inorder/pipeline_traits.hh index 573c0200a..dd12a8f1d 100644 --- a/src/cpu/inorder/pipeline_traits.hh +++ b/src/cpu/inorder/pipeline_traits.hh @@ -38,7 +38,6 @@ #include "arch/isa_traits.hh" #include "cpu/base.hh" - #include "params/InOrderCPU.hh" class InOrderDynInst; diff --git a/src/cpu/inorder/reg_dep_map.cc b/src/cpu/inorder/reg_dep_map.cc index 48820b50e..8eb7a3111 100644 --- a/src/cpu/inorder/reg_dep_map.cc +++ b/src/cpu/inorder/reg_dep_map.cc @@ -31,10 +31,10 @@ #include "arch/isa_traits.hh" #include "config/the_isa.hh" +#include "cpu/inorder/cpu.hh" +#include "cpu/inorder/inorder_dyn_inst.hh" #include "cpu/inorder/pipeline_traits.hh" #include "cpu/inorder/reg_dep_map.hh" -#include "cpu/inorder/inorder_dyn_inst.hh" -#include "cpu/inorder/cpu.hh" using namespace std; using namespace TheISA; diff --git a/src/cpu/inorder/resource.cc b/src/cpu/inorder/resource.cc index 24211532e..b72dbd14f 100644 --- a/src/cpu/inorder/resource.cc +++ b/src/cpu/inorder/resource.cc @@ -29,12 +29,12 @@ * */ -#include <vector> #include <list> +#include <vector> #include "base/str.hh" -#include "cpu/inorder/resource.hh" #include "cpu/inorder/cpu.hh" +#include "cpu/inorder/resource.hh" using namespace std; Resource::Resource(string res_name, int res_id, int res_width, diff --git a/src/cpu/inorder/resource.hh b/src/cpu/inorder/resource.hh index 7899a215f..0f2cde7d1 100644 --- a/src/cpu/inorder/resource.hh +++ b/src/cpu/inorder/resource.hh @@ -32,14 +32,14 @@ #ifndef __CPU_INORDER_RESOURCE_HH__ #define __CPU_INORDER_RESOURCE_HH__ -#include <vector> #include <list> #include <string> +#include <vector> #include "base/types.hh" -#include "cpu/inst_seq.hh" #include "cpu/inorder/inorder_dyn_inst.hh" #include "cpu/inorder/pipeline_traits.hh" +#include "cpu/inst_seq.hh" #include "sim/eventq.hh" #include "sim/sim_object.hh" diff --git a/src/cpu/inorder/resource_pool.9stage.cc b/src/cpu/inorder/resource_pool.9stage.cc index 746d3f33b..93b0ac4e4 100644 --- a/src/cpu/inorder/resource_pool.9stage.cc +++ b/src/cpu/inorder/resource_pool.9stage.cc @@ -29,11 +29,11 @@ * */ -#include "cpu/inorder/resource_pool.hh" -#include "cpu/inorder/resources/resource_list.hh" - -#include <vector> #include <list> +#include <vector> + +#include "cpu/inorder/resources/resource_list.hh" +#include "cpu/inorder/resource_pool.hh" using namespace std; using namespace ThePipeline; diff --git a/src/cpu/inorder/resource_pool.cc b/src/cpu/inorder/resource_pool.cc index 4e2f930ab..a9eb742f4 100644 --- a/src/cpu/inorder/resource_pool.cc +++ b/src/cpu/inorder/resource_pool.cc @@ -29,11 +29,11 @@ * */ -#include "cpu/inorder/resource_pool.hh" -#include "cpu/inorder/resources/resource_list.hh" - -#include <vector> #include <list> +#include <vector> + +#include "cpu/inorder/resources/resource_list.hh" +#include "cpu/inorder/resource_pool.hh" using namespace std; using namespace ThePipeline; diff --git a/src/cpu/inorder/resource_pool.hh b/src/cpu/inorder/resource_pool.hh index fde38b4e9..9d9439665 100644 --- a/src/cpu/inorder/resource_pool.hh +++ b/src/cpu/inorder/resource_pool.hh @@ -32,17 +32,17 @@ #ifndef __CPU_INORDER_RESOURCE_POOL_HH__ #define __CPU_INORDER_RESOURCE_POOL_HH__ -#include <vector> #include <list> #include <string> +#include <vector> -#include "cpu/inst_seq.hh" +#include "cpu/inorder/cpu.hh" #include "cpu/inorder/inorder_dyn_inst.hh" -#include "cpu/inorder/resource.hh" -#include "cpu/inorder/pipeline_traits.hh" #include "cpu/inorder/params.hh" +#include "cpu/inorder/pipeline_traits.hh" +#include "cpu/inorder/resource.hh" +#include "cpu/inst_seq.hh" #include "params/InOrderCPU.hh" -#include "cpu/inorder/cpu.hh" #include "sim/eventq.hh" #include "sim/sim_object.hh" diff --git a/src/cpu/inorder/resource_sked.cc b/src/cpu/inorder/resource_sked.cc index 4cf791228..443500870 100644 --- a/src/cpu/inorder/resource_sked.cc +++ b/src/cpu/inorder/resource_sked.cc @@ -29,12 +29,12 @@ * */ -#include "cpu/inorder/resource_sked.hh" -#include "cpu/inorder/pipeline_traits.hh" - -#include <vector> -#include <list> #include <cstdio> +#include <list> +#include <vector> + +#include "cpu/inorder/pipeline_traits.hh" +#include "cpu/inorder/resource_sked.hh" using namespace std; using namespace ThePipeline; diff --git a/src/cpu/inorder/resource_sked.hh b/src/cpu/inorder/resource_sked.hh index bd002e161..6338e8e9b 100644 --- a/src/cpu/inorder/resource_sked.hh +++ b/src/cpu/inorder/resource_sked.hh @@ -32,9 +32,9 @@ #ifndef __CPU_INORDER_RESOURCE_SKED_HH__ #define __CPU_INORDER_RESOURCE_SKED_HH__ -#include <vector> -#include <list> #include <cstdlib> +#include <list> +#include <vector> /** ScheduleEntry class represents a single function that an instruction wants to do at any pipeline stage. For example, if an instruction diff --git a/src/cpu/inorder/resources/agen_unit.hh b/src/cpu/inorder/resources/agen_unit.hh index 7c9c5fd89..f208ec680 100644 --- a/src/cpu/inorder/resources/agen_unit.hh +++ b/src/cpu/inorder/resources/agen_unit.hh @@ -32,15 +32,15 @@ #ifndef __CPU_INORDER_AGEN_UNIT_HH__ #define __CPU_INORDER_AGEN_UNIT_HH__ -#include <vector> #include <list> #include <string> +#include <vector> -#include "cpu/inorder/resource.hh" -#include "cpu/inorder/inorder_dyn_inst.hh" -#include "cpu/inorder/pipeline_traits.hh" #include "cpu/inorder/cpu.hh" +#include "cpu/inorder/inorder_dyn_inst.hh" #include "cpu/inorder/params.hh" +#include "cpu/inorder/pipeline_traits.hh" +#include "cpu/inorder/resource.hh" class AGENUnit : public Resource { public: diff --git a/src/cpu/inorder/resources/bpred_unit.hh b/src/cpu/inorder/resources/bpred_unit.hh index 3b1c0f4ef..33ca4a0c6 100644 --- a/src/cpu/inorder/resources/bpred_unit.hh +++ b/src/cpu/inorder/resources/bpred_unit.hh @@ -36,7 +36,6 @@ #include "arch/isa_traits.hh" #include "base/statistics.hh" -#include "cpu/inst_seq.hh" #include "cpu/inorder/inorder_dyn_inst.hh" #include "cpu/inorder/pipeline_traits.hh" #include "cpu/inorder/resource.hh" @@ -44,6 +43,7 @@ #include "cpu/pred/btb.hh" #include "cpu/pred/ras.hh" #include "cpu/pred/tournament.hh" +#include "cpu/inst_seq.hh" #include "params/InOrderCPU.hh" /** diff --git a/src/cpu/inorder/resources/branch_predictor.hh b/src/cpu/inorder/resources/branch_predictor.hh index 00915fd0d..72b216806 100644 --- a/src/cpu/inorder/resources/branch_predictor.hh +++ b/src/cpu/inorder/resources/branch_predictor.hh @@ -32,15 +32,15 @@ #ifndef __CPU_INORDER_BRANCH_PREDICTOR_HH__ #define __CPU_INORDER_BRANCH_PREDICTOR_HH__ -#include <vector> #include <list> #include <string> +#include <vector> -#include "cpu/inorder/resource.hh" -#include "cpu/inorder/inorder_dyn_inst.hh" -#include "cpu/inorder/pipeline_traits.hh" #include "cpu/inorder/resources/bpred_unit.hh" #include "cpu/inorder/cpu.hh" +#include "cpu/inorder/inorder_dyn_inst.hh" +#include "cpu/inorder/pipeline_traits.hh" +#include "cpu/inorder/resource.hh" class BranchPredictor : public Resource { public: diff --git a/src/cpu/inorder/resources/cache_unit.cc b/src/cpu/inorder/resources/cache_unit.cc index e98b27d62..ce4c538da 100644 --- a/src/cpu/inorder/resources/cache_unit.cc +++ b/src/cpu/inorder/resources/cache_unit.cc @@ -29,17 +29,17 @@ * */ -#include <vector> #include <list> +#include <vector> #include "arch/isa_traits.hh" #include "arch/locked_mem.hh" -#include "arch/utility.hh" #include "arch/predecoder.hh" +#include "arch/utility.hh" #include "config/the_isa.hh" #include "cpu/inorder/resources/cache_unit.hh" -#include "cpu/inorder/pipeline_traits.hh" #include "cpu/inorder/cpu.hh" +#include "cpu/inorder/pipeline_traits.hh" #include "cpu/inorder/resource_pool.hh" #include "mem/request.hh" diff --git a/src/cpu/inorder/resources/cache_unit.hh b/src/cpu/inorder/resources/cache_unit.hh index 1aab099e9..c4a5dc0bd 100644 --- a/src/cpu/inorder/resources/cache_unit.hh +++ b/src/cpu/inorder/resources/cache_unit.hh @@ -32,9 +32,9 @@ #ifndef __CPU_INORDER_CACHE_UNIT_HH__ #define __CPU_INORDER_CACHE_UNIT_HH__ -#include <vector> #include <list> #include <string> +#include <vector> #include "arch/predecoder.hh" #include "arch/tlb.hh" diff --git a/src/cpu/inorder/resources/decode_unit.hh b/src/cpu/inorder/resources/decode_unit.hh index 1c4dc0523..3742af3e2 100644 --- a/src/cpu/inorder/resources/decode_unit.hh +++ b/src/cpu/inorder/resources/decode_unit.hh @@ -32,15 +32,15 @@ #ifndef __CPU_INORDER_DECODE_UNIT_HH__ #define __CPU_INORDER_DECODE_UNIT_HH__ -#include <vector> #include <list> #include <string> +#include <vector> -#include "cpu/inorder/resource.hh" +#include "cpu/inorder/cpu.hh" #include "cpu/inorder/inorder_dyn_inst.hh" #include "cpu/inorder/pipeline_traits.hh" -#include "cpu/inorder/cpu.hh" #include "cpu/inorder/reg_dep_map.hh" +#include "cpu/inorder/resource.hh" class DecodeUnit : public Resource { public: diff --git a/src/cpu/inorder/resources/execution_unit.cc b/src/cpu/inorder/resources/execution_unit.cc index 311add9f8..2ec340749 100644 --- a/src/cpu/inorder/resources/execution_unit.cc +++ b/src/cpu/inorder/resources/execution_unit.cc @@ -29,11 +29,12 @@ * */ -#include <vector> #include <list> +#include <vector> + #include "cpu/inorder/resources/execution_unit.hh" -#include "cpu/inorder/resource_pool.hh" #include "cpu/inorder/cpu.hh" +#include "cpu/inorder/resource_pool.hh" using namespace std; using namespace ThePipeline; diff --git a/src/cpu/inorder/resources/execution_unit.hh b/src/cpu/inorder/resources/execution_unit.hh index b03a6655e..ed645ec3b 100644 --- a/src/cpu/inorder/resources/execution_unit.hh +++ b/src/cpu/inorder/resources/execution_unit.hh @@ -32,14 +32,14 @@ #ifndef __CPU_INORDER_EXECUTION_UNIT_HH__ #define __CPU_INORDER_EXECUTION_UNIT_HH__ -#include <vector> #include <list> #include <string> +#include <vector> -#include "cpu/func_unit.hh" #include "cpu/inorder/first_stage.hh" -#include "cpu/inorder/resource.hh" #include "cpu/inorder/inorder_dyn_inst.hh" +#include "cpu/inorder/resource.hh" +#include "cpu/func_unit.hh" class ExecutionUnit : public Resource { public: diff --git a/src/cpu/inorder/resources/fetch_seq_unit.hh b/src/cpu/inorder/resources/fetch_seq_unit.hh index a258dc0e5..be3c59a13 100644 --- a/src/cpu/inorder/resources/fetch_seq_unit.hh +++ b/src/cpu/inorder/resources/fetch_seq_unit.hh @@ -32,15 +32,15 @@ #ifndef __CPU_INORDER_FETCH_SEQ_UNIT_HH__ #define __CPU_INORDER_FETCH_SEQ_UNIT_HH__ -#include <vector> #include <list> #include <string> +#include <vector> #include "config/the_isa.hh" -#include "cpu/inorder/resource.hh" +#include "cpu/inorder/cpu.hh" #include "cpu/inorder/inorder_dyn_inst.hh" #include "cpu/inorder/pipeline_traits.hh" -#include "cpu/inorder/cpu.hh" +#include "cpu/inorder/resource.hh" class FetchSeqUnit : public Resource { public: diff --git a/src/cpu/inorder/resources/fetch_unit.cc b/src/cpu/inorder/resources/fetch_unit.cc index d6038415e..899fa8c08 100644 --- a/src/cpu/inorder/resources/fetch_unit.cc +++ b/src/cpu/inorder/resources/fetch_unit.cc @@ -29,18 +29,18 @@ * */ -#include <vector> #include <list> +#include <vector> #include "arch/isa_traits.hh" #include "arch/locked_mem.hh" -#include "arch/utility.hh" #include "arch/predecoder.hh" +#include "arch/utility.hh" #include "config/the_isa.hh" #include "cpu/inorder/resources/cache_unit.hh" #include "cpu/inorder/resources/fetch_unit.hh" -#include "cpu/inorder/pipeline_traits.hh" #include "cpu/inorder/cpu.hh" +#include "cpu/inorder/pipeline_traits.hh" #include "cpu/inorder/resource_pool.hh" #include "mem/request.hh" diff --git a/src/cpu/inorder/resources/fetch_unit.hh b/src/cpu/inorder/resources/fetch_unit.hh index fa133b9eb..3075e726d 100644 --- a/src/cpu/inorder/resources/fetch_unit.hh +++ b/src/cpu/inorder/resources/fetch_unit.hh @@ -32,17 +32,17 @@ #ifndef __CPU_INORDER_FETCH_UNIT_HH__ #define __CPU_INORDER_FETCH_UNIT_HH__ -#include <vector> #include <list> #include <string> +#include <vector> #include "arch/predecoder.hh" #include "arch/tlb.hh" #include "config/the_isa.hh" +#include "cpu/inorder/resources/cache_unit.hh" #include "cpu/inorder/inorder_dyn_inst.hh" #include "cpu/inorder/pipeline_traits.hh" #include "cpu/inorder/resource.hh" -#include "cpu/inorder/resources/cache_unit.hh" #include "mem/packet.hh" #include "mem/packet_access.hh" #include "mem/port.hh" diff --git a/src/cpu/inorder/resources/graduation_unit.hh b/src/cpu/inorder/resources/graduation_unit.hh index 59631bfcb..043e375e7 100644 --- a/src/cpu/inorder/resources/graduation_unit.hh +++ b/src/cpu/inorder/resources/graduation_unit.hh @@ -32,14 +32,14 @@ #ifndef __CPU_INORDER_GRAD_UNIT_HH__ #define __CPU_INORDER_GRAD_UNIT_HH__ -#include <vector> #include <list> #include <string> +#include <vector> -#include "cpu/inorder/resource.hh" +#include "cpu/inorder/cpu.hh" #include "cpu/inorder/inorder_dyn_inst.hh" #include "cpu/inorder/pipeline_traits.hh" -#include "cpu/inorder/cpu.hh" +#include "cpu/inorder/resource.hh" class GraduationUnit : public Resource { public: diff --git a/src/cpu/inorder/resources/inst_buffer.cc b/src/cpu/inorder/resources/inst_buffer.cc index 46f5cce72..e0405879b 100644 --- a/src/cpu/inorder/resources/inst_buffer.cc +++ b/src/cpu/inorder/resources/inst_buffer.cc @@ -29,14 +29,14 @@ * */ -#include <vector> #include <list> +#include <vector> #include "arch/isa_traits.hh" #include "config/the_isa.hh" -#include "cpu/inorder/pipeline_traits.hh" #include "cpu/inorder/resources/inst_buffer.hh" #include "cpu/inorder/cpu.hh" +#include "cpu/inorder/pipeline_traits.hh" using namespace std; using namespace TheISA; diff --git a/src/cpu/inorder/resources/inst_buffer.hh b/src/cpu/inorder/resources/inst_buffer.hh index fcbdc20df..d0047e013 100644 --- a/src/cpu/inorder/resources/inst_buffer.hh +++ b/src/cpu/inorder/resources/inst_buffer.hh @@ -32,14 +32,14 @@ #ifndef __CPU_INORDER_INST_BUFF_UNIT_HH__ #define __CPU_INORDER_INST_BUFF_UNIT_HH__ -#include <vector> #include <list> #include <string> +#include <vector> -#include "cpu/inorder/resource.hh" +#include "cpu/inorder/cpu.hh" #include "cpu/inorder/inorder_dyn_inst.hh" #include "cpu/inorder/pipeline_traits.hh" -#include "cpu/inorder/cpu.hh" +#include "cpu/inorder/resource.hh" class InstBuffer : public Resource { public: diff --git a/src/cpu/inorder/resources/mem_dep_unit.hh b/src/cpu/inorder/resources/mem_dep_unit.hh index 018593eaf..387bee0b9 100644 --- a/src/cpu/inorder/resources/mem_dep_unit.hh +++ b/src/cpu/inorder/resources/mem_dep_unit.hh @@ -32,14 +32,14 @@ #ifndef __CPU_INORDER_MEM_DEP_UNIT_HH__ #define __CPU_INORDER_MEM_DEP_UNIT_HH__ -#include <vector> #include <list> #include <string> +#include <vector> -#include "cpu/inorder/resource.hh" +#include "cpu/inorder/cpu.hh" #include "cpu/inorder/inorder_dyn_inst.hh" #include "cpu/inorder/pipeline_traits.hh" -#include "cpu/inorder/cpu.hh" +#include "cpu/inorder/resource.hh" class MemDepUnit : public Resource { public: diff --git a/src/cpu/inorder/resources/mult_div_unit.cc b/src/cpu/inorder/resources/mult_div_unit.cc index ad8b2b47b..8fbfc231e 100644 --- a/src/cpu/inorder/resources/mult_div_unit.cc +++ b/src/cpu/inorder/resources/mult_div_unit.cc @@ -29,11 +29,12 @@ * */ -#include <vector> #include <list> +#include <vector> + #include "cpu/inorder/resources/mult_div_unit.hh" -#include "cpu/inorder/resource_pool.hh" #include "cpu/inorder/cpu.hh" +#include "cpu/inorder/resource_pool.hh" #include "cpu/op_class.hh" using namespace std; diff --git a/src/cpu/inorder/resources/mult_div_unit.hh b/src/cpu/inorder/resources/mult_div_unit.hh index d243eebea..753bc64a6 100644 --- a/src/cpu/inorder/resources/mult_div_unit.hh +++ b/src/cpu/inorder/resources/mult_div_unit.hh @@ -32,15 +32,15 @@ #ifndef __CPU_INORDER_MULT_DIV_UNIT_HH__ #define __CPU_INORDER_MULT_DIV_UNIT_HH__ -#include <vector> #include <list> #include <string> +#include <vector> -#include "cpu/func_unit.hh" -#include "cpu/op_class.hh" #include "cpu/inorder/first_stage.hh" -#include "cpu/inorder/resource.hh" #include "cpu/inorder/inorder_dyn_inst.hh" +#include "cpu/inorder/resource.hh" +#include "cpu/func_unit.hh" +#include "cpu/op_class.hh" class MDUEvent; diff --git a/src/cpu/inorder/resources/resource_list.hh b/src/cpu/inorder/resources/resource_list.hh index 5568ad470..ae6b4ecaf 100644 --- a/src/cpu/inorder/resources/resource_list.hh +++ b/src/cpu/inorder/resources/resource_list.hh @@ -32,17 +32,17 @@ #ifndef CPU_INORDER_RESOURCE_LIST_HH #define CPU_INORDER_RESOURCE_LIST_HH +#include "cpu/inorder/resources/agen_unit.hh" +#include "cpu/inorder/resources/branch_predictor.hh" #include "cpu/inorder/resources/cache_unit.hh" -#include "cpu/inorder/resources/fetch_unit.hh" -#include "cpu/inorder/resources/execution_unit.hh" -#include "cpu/inorder/resources/use_def.hh" -#include "cpu/inorder/resources/inst_buffer.hh" #include "cpu/inorder/resources/decode_unit.hh" -#include "cpu/inorder/resources/graduation_unit.hh" -#include "cpu/inorder/resources/tlb_unit.hh" +#include "cpu/inorder/resources/execution_unit.hh" #include "cpu/inorder/resources/fetch_seq_unit.hh" -#include "cpu/inorder/resources/branch_predictor.hh" -#include "cpu/inorder/resources/agen_unit.hh" +#include "cpu/inorder/resources/fetch_unit.hh" +#include "cpu/inorder/resources/graduation_unit.hh" +#include "cpu/inorder/resources/inst_buffer.hh" #include "cpu/inorder/resources/mult_div_unit.hh" +#include "cpu/inorder/resources/tlb_unit.hh" +#include "cpu/inorder/resources/use_def.hh" #endif diff --git a/src/cpu/inorder/resources/tlb_unit.cc b/src/cpu/inorder/resources/tlb_unit.cc index 9a0c9fe32..c07f6ae5f 100644 --- a/src/cpu/inorder/resources/tlb_unit.cc +++ b/src/cpu/inorder/resources/tlb_unit.cc @@ -29,15 +29,15 @@ * */ -#include <vector> #include <list> +#include <vector> #include "arch/isa_traits.hh" #include "config/the_isa.hh" -#include "cpu/inorder/pipeline_traits.hh" -#include "cpu/inorder/first_stage.hh" #include "cpu/inorder/resources/tlb_unit.hh" #include "cpu/inorder/cpu.hh" +#include "cpu/inorder/first_stage.hh" +#include "cpu/inorder/pipeline_traits.hh" using namespace std; using namespace TheISA; diff --git a/src/cpu/inorder/resources/tlb_unit.hh b/src/cpu/inorder/resources/tlb_unit.hh index 904ac3eba..caccb5a9f 100644 --- a/src/cpu/inorder/resources/tlb_unit.hh +++ b/src/cpu/inorder/resources/tlb_unit.hh @@ -32,15 +32,15 @@ #ifndef __CPU_INORDER_TLB_UNIT_HH__ #define __CPU_INORDER_TLB_UNIT_HH__ -#include <vector> #include <list> #include <string> +#include <vector> #include "config/the_isa.hh" #include "cpu/inorder/resources/inst_buffer.hh" +#include "cpu/inorder/cpu.hh" #include "cpu/inorder/inorder_dyn_inst.hh" #include "cpu/inorder/pipeline_traits.hh" -#include "cpu/inorder/cpu.hh" class TLBUnit : public Resource { diff --git a/src/cpu/inorder/resources/use_def.cc b/src/cpu/inorder/resources/use_def.cc index c687024ce..8a00ab704 100644 --- a/src/cpu/inorder/resources/use_def.cc +++ b/src/cpu/inorder/resources/use_def.cc @@ -29,14 +29,14 @@ * */ -#include <vector> #include <list> +#include <vector> #include "arch/isa_traits.hh" #include "config/the_isa.hh" -#include "cpu/inorder/pipeline_traits.hh" #include "cpu/inorder/resources/use_def.hh" #include "cpu/inorder/cpu.hh" +#include "cpu/inorder/pipeline_traits.hh" using namespace std; using namespace TheISA; diff --git a/src/cpu/inorder/resources/use_def.hh b/src/cpu/inorder/resources/use_def.hh index 21770cec6..bd423d01a 100644 --- a/src/cpu/inorder/resources/use_def.hh +++ b/src/cpu/inorder/resources/use_def.hh @@ -32,16 +32,16 @@ #ifndef __CPU_INORDER_USE_DEF_UNIT_HH__ #define __CPU_INORDER_USE_DEF_UNIT_HH__ -#include <vector> #include <list> #include <string> +#include <vector> -#include "cpu/func_unit.hh" #include "cpu/inorder/first_stage.hh" -#include "cpu/inorder/resource.hh" #include "cpu/inorder/inorder_dyn_inst.hh" #include "cpu/inorder/pipeline_traits.hh" #include "cpu/inorder/reg_dep_map.hh" +#include "cpu/inorder/resource.hh" +#include "cpu/func_unit.hh" class UseDefUnit : public Resource { public: diff --git a/src/cpu/inorder/thread_context.cc b/src/cpu/inorder/thread_context.cc index bbccf626a..636bcee22 100644 --- a/src/cpu/inorder/thread_context.cc +++ b/src/cpu/inorder/thread_context.cc @@ -31,8 +31,8 @@ #include "arch/isa_traits.hh" #include "config/the_isa.hh" -#include "cpu/exetrace.hh" #include "cpu/inorder/thread_context.hh" +#include "cpu/exetrace.hh" using namespace TheISA; diff --git a/src/cpu/inorder/thread_context.hh b/src/cpu/inorder/thread_context.hh index 21f1e5835..d178fd1d5 100644 --- a/src/cpu/inorder/thread_context.hh +++ b/src/cpu/inorder/thread_context.hh @@ -33,10 +33,10 @@ #define __CPU_INORDER_THREAD_CONTEXT_HH__ #include "config/the_isa.hh" +#include "cpu/inorder/cpu.hh" +#include "cpu/inorder/thread_state.hh" #include "cpu/exetrace.hh" #include "cpu/thread_context.hh" -#include "cpu/inorder/thread_state.hh" -#include "cpu/inorder/cpu.hh" class TranslatingPort; diff --git a/src/cpu/inorder/thread_state.cc b/src/cpu/inorder/thread_state.cc index b3a54efb1..b17f05c7d 100644 --- a/src/cpu/inorder/thread_state.cc +++ b/src/cpu/inorder/thread_state.cc @@ -30,9 +30,9 @@ */ #include "arch/isa_traits.hh" -#include "cpu/exetrace.hh" -#include "cpu/inorder/thread_state.hh" #include "cpu/inorder/cpu.hh" +#include "cpu/inorder/thread_state.hh" +#include "cpu/exetrace.hh" using namespace TheISA; |