1# -*- mode:python -*- 2 3# Copyright (c) 2006 The Regents of The University of Michigan 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 100 unchanged lines hidden (view full) --- 109 110################################################################# 111# 112# Include CPU-model-specific files based on set of models 113# specified in CPU_MODELS build option. 114# 115################################################################# 116 |
117# Keep a list of CPU models that support SMT 118env['SMT_CPU_MODELS'] = [] 119 |
120sources = [] 121 122need_simple_base = False 123if 'AtomicSimpleCPU' in env['CPU_MODELS']: 124 need_simple_base = True 125 sources += Split('simple/atomic.cc') 126 127if 'TimingSimpleCPU' in env['CPU_MODELS']: --- 27 unchanged lines hidden (view full) --- 155 o3/rename.cc 156 o3/rename_map.cc 157 o3/rob.cc 158 o3/scoreboard.cc 159 o3/store_set.cc 160 ''') 161 if env['USE_CHECKER']: 162 sources += Split('o3/checker_builder.cc') |
163 env['SMT_CPU_MODELS'].append('O3CPU') |
164 165if 'OzoneCPU' in env['CPU_MODELS']: 166 need_bp_unit = True 167 sources += Split(''' 168 ozone/base_dyn_inst.cc 169 ozone/bpred_unit.cc 170 ozone/cpu.cc 171 ozone/cpu_builder.cc --- 40 unchanged lines hidden --- |