SConscript (10244:d2deb51a4abf) SConscript (10259:ebb376f73dd2)
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

--- 16 unchanged lines hidden (view full) ---

25# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28#
29# Authors: Steve Reinhardt
30
31Import('*')
32
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

--- 16 unchanged lines hidden (view full) ---

25# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28#
29# Authors: Steve Reinhardt
30
31Import('*')
32
33if 'InOrderCPU' in env['CPU_MODELS'] or 'O3CPU' in env['CPU_MODELS']:
33if 'InOrderCPU' in env['CPU_MODELS'] or 'O3CPU' in env['CPU_MODELS'] \
34 or 'Minor' in env['CPU_MODELS']:
34 SimObject('BranchPredictor.py')
35
36 Source('bpred_unit.cc')
37 Source('2bit_local.cc')
38 Source('btb.cc')
39 Source('ras.cc')
40 Source('tournament.cc')
41 Source ('bi_mode.cc')
42 DebugFlag('FreeList')
43 DebugFlag('Branch')
35 SimObject('BranchPredictor.py')
36
37 Source('bpred_unit.cc')
38 Source('2bit_local.cc')
39 Source('btb.cc')
40 Source('ras.cc')
41 Source('tournament.cc')
42 Source ('bi_mode.cc')
43 DebugFlag('FreeList')
44 DebugFlag('Branch')