SConscript revision 5909
1955SN/A# -*- mode:python -*-
2955SN/A
313576Sciro.santilli@arm.com# Copyright (c) 2005-2006 The Regents of The University of Michigan
413576Sciro.santilli@arm.com# All rights reserved.
513576Sciro.santilli@arm.com#
613576Sciro.santilli@arm.com# Redistribution and use in source and binary forms, with or without
713576Sciro.santilli@arm.com# modification, are permitted provided that the following conditions are
813576Sciro.santilli@arm.com# met: redistributions of source code must retain the above copyright
913576Sciro.santilli@arm.com# notice, this list of conditions and the following disclaimer;
1013576Sciro.santilli@arm.com# redistributions in binary form must reproduce the above copyright
1113576Sciro.santilli@arm.com# notice, this list of conditions and the following disclaimer in the
1213576Sciro.santilli@arm.com# documentation and/or other materials provided with the distribution;
1313576Sciro.santilli@arm.com# neither the name of the copyright holders nor the names of its
141762SN/A# contributors may be used to endorse or promote products derived from
15955SN/A# this software without specific prior written permission.
16955SN/A#
17955SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18955SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19955SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20955SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21955SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22955SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23955SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24955SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25955SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26955SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27955SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28955SN/A#
29955SN/A# Authors: Gabe Black
30955SN/A
31955SN/A# Copyright (c) 2007-2008 The Hewlett-Packard Development Company
32955SN/A# All rights reserved.
33955SN/A#
34955SN/A# Redistribution and use of this software in source and binary forms,
35955SN/A# with or without modification, are permitted provided that the
36955SN/A# following conditions are met:
37955SN/A#
38955SN/A# The software must be used only for Non-Commercial Use which means any
392665Ssaidi@eecs.umich.edu# use which is NOT directed to receiving any direct monetary
404762Snate@binkert.org# compensation for, or commercial advantage from such use.  Illustrative
41955SN/A# examples of non-commercial use are academic research, personal study,
4212563Sgabeblack@google.com# teaching, education and corporate research & development.
4312563Sgabeblack@google.com# Illustrative examples of commercial use are distributing products for
445522Snate@binkert.org# commercial advantage and providing services using the software for
456143Snate@binkert.org# commercial advantage.
4612371Sgabeblack@google.com#
474762Snate@binkert.org# If you wish to use this software or functionality therein that may be
485522Snate@binkert.org# covered by patents for commercial use, please contact:
49955SN/A#     Director of Intellectual Property Licensing
505522Snate@binkert.org#     Office of Strategy and Technology
5111974Sgabeblack@google.com#     Hewlett-Packard Company
52955SN/A#     1501 Page Mill Road
535522Snate@binkert.org#     Palo Alto, California  94304
544202Sbinkertn@umich.edu#
555742Snate@binkert.org# Redistributions of source code must retain the above copyright notice,
56955SN/A# this list of conditions and the following disclaimer.  Redistributions
574381Sbinkertn@umich.edu# in binary form must reproduce the above copyright notice, this list of
584381Sbinkertn@umich.edu# conditions and the following disclaimer in the documentation and/or
5912246Sgabeblack@google.com# other materials provided with the distribution.  Neither the name of
6012246Sgabeblack@google.com# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its
618334Snate@binkert.org# contributors may be used to endorse or promote products derived from
62955SN/A# this software without specific prior written permission.  No right of
63955SN/A# sublicense is granted herewith.  Derivatives of the software and
644202Sbinkertn@umich.edu# output created using the software may be prepared, but only for
65955SN/A# Non-Commercial Uses.  Derivatives of the software may be shared with
664382Sbinkertn@umich.edu# others provided: (i) the others agree to abide by the list of
674382Sbinkertn@umich.edu# conditions herein which includes the Non-Commercial Use restrictions;
684382Sbinkertn@umich.edu# and (ii) such Derivatives of the software include the above copyright
696654Snate@binkert.org# notice to acknowledge the contribution from this software where
705517Snate@binkert.org# applicable, this list of conditions and the disclaimer below.
718614Sgblack@eecs.umich.edu#
727674Snate@binkert.org# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
736143Snate@binkert.org# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
746143Snate@binkert.org# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
756143Snate@binkert.org# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7612302Sgabeblack@google.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
7712302Sgabeblack@google.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
7812302Sgabeblack@google.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7912371Sgabeblack@google.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
8012371Sgabeblack@google.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
8112371Sgabeblack@google.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
8212371Sgabeblack@google.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8312371Sgabeblack@google.com#
8412371Sgabeblack@google.com# Authors: Gabe Black
8512371Sgabeblack@google.com
8612371Sgabeblack@google.comImport('*')
8712371Sgabeblack@google.com
8812371Sgabeblack@google.comif env['TARGET_ISA'] == 'x86':
8912371Sgabeblack@google.com    Source('cpuid.cc')
9012371Sgabeblack@google.com    Source('emulenv.cc')
9112371Sgabeblack@google.com    Source('floatregfile.cc')
9212371Sgabeblack@google.com    Source('faults.cc')
9312371Sgabeblack@google.com    Source('insts/microfpop.cc')
9412371Sgabeblack@google.com    Source('insts/microldstop.cc')
9512371Sgabeblack@google.com    Source('insts/microop.cc')
9612371Sgabeblack@google.com    Source('insts/microregop.cc')
9712371Sgabeblack@google.com    Source('insts/static_inst.cc')
9812371Sgabeblack@google.com    Source('intregfile.cc')
9912371Sgabeblack@google.com    Source('miscregfile.cc')
10012371Sgabeblack@google.com    Source('pagetable.cc')
10112371Sgabeblack@google.com    Source('predecoder.cc')
10212371Sgabeblack@google.com    Source('predecoder_tables.cc')
10312371Sgabeblack@google.com    Source('regfile.cc')
10412371Sgabeblack@google.com    Source('remote_gdb.cc')
10512371Sgabeblack@google.com    Source('tlb.cc')
10612371Sgabeblack@google.com    Source('utility.cc')
10712371Sgabeblack@google.com
10812371Sgabeblack@google.com    SimObject('X86TLB.py')
10912371Sgabeblack@google.com    TraceFlag('Predecoder', "Predecoder debug output")
11012371Sgabeblack@google.com    TraceFlag('X86', "Generic X86 ISA debugging")
11112371Sgabeblack@google.com
11212371Sgabeblack@google.com    if env['FULL_SYSTEM']:
11312371Sgabeblack@google.com        TraceFlag('LocalApic', "Local APIC debugging")
11412371Sgabeblack@google.com        TraceFlag('PageTableWalker', \
11512371Sgabeblack@google.com                  "Page table walker state machine debugging")
11612371Sgabeblack@google.com        TraceFlag('Faults', "Trace all faults/exceptions/traps")
11712371Sgabeblack@google.com
11812371Sgabeblack@google.com        SimObject('X86LocalApic.py')
11912371Sgabeblack@google.com        SimObject('X86System.py')
12012371Sgabeblack@google.com
12112371Sgabeblack@google.com        # Full-system sources
12212371Sgabeblack@google.com        Source('interrupts.cc')
12312371Sgabeblack@google.com        Source('linux/system.cc')
12412371Sgabeblack@google.com        Source('pagetable_walker.cc')
12512371Sgabeblack@google.com        Source('system.cc')
12612302Sgabeblack@google.com        Source('stacktrace.cc')
12712371Sgabeblack@google.com        Source('vtophys.cc')
12812302Sgabeblack@google.com    else:
12912371Sgabeblack@google.com        Source('process.cc')
13012302Sgabeblack@google.com
13112302Sgabeblack@google.com        Source('linux/linux.cc')
13212371Sgabeblack@google.com        Source('linux/process.cc')
13312371Sgabeblack@google.com        Source('linux/syscalls.cc')
13412371Sgabeblack@google.com
13512371Sgabeblack@google.com    python_files = (
13612302Sgabeblack@google.com        '__init__.py',
13712371Sgabeblack@google.com        'general_purpose/__init__.py',
13812371Sgabeblack@google.com        'general_purpose/arithmetic/__init__.py',
13912371Sgabeblack@google.com        'general_purpose/arithmetic/add_and_subtract.py',
14012371Sgabeblack@google.com        'general_purpose/arithmetic/increment_and_decrement.py',
14111983Sgabeblack@google.com        'general_purpose/arithmetic/multiply_and_divide.py',
1426143Snate@binkert.org        'general_purpose/cache_and_memory_management.py',
1438233Snate@binkert.org        'general_purpose/compare_and_test/__init__.py',
14412302Sgabeblack@google.com        'general_purpose/compare_and_test/bit_scan.py',
1456143Snate@binkert.org        'general_purpose/compare_and_test/bit_test.py',
1466143Snate@binkert.org        'general_purpose/compare_and_test/bounds.py',
14712302Sgabeblack@google.com        'general_purpose/compare_and_test/compare.py',
1484762Snate@binkert.org        'general_purpose/compare_and_test/set_byte_on_condition.py',
1496143Snate@binkert.org        'general_purpose/compare_and_test/test.py',
1508233Snate@binkert.org        'general_purpose/control_transfer/__init__.py',
1518233Snate@binkert.org        'general_purpose/control_transfer/call.py',
15212302Sgabeblack@google.com        'general_purpose/control_transfer/conditional_jump.py',
15312302Sgabeblack@google.com        'general_purpose/control_transfer/interrupts_and_exceptions.py',
1546143Snate@binkert.org        'general_purpose/control_transfer/jump.py',
15512362Sgabeblack@google.com        'general_purpose/control_transfer/loop.py',
15612362Sgabeblack@google.com        'general_purpose/control_transfer/xreturn.py',
15712362Sgabeblack@google.com        'general_purpose/data_conversion/__init__.py',
15812362Sgabeblack@google.com        'general_purpose/data_conversion/ascii_adjust.py',
15912302Sgabeblack@google.com        'general_purpose/data_conversion/bcd_adjust.py',
16012302Sgabeblack@google.com        'general_purpose/data_conversion/endian_conversion.py',
16112302Sgabeblack@google.com        'general_purpose/data_conversion/extract_sign_mask.py',
16212302Sgabeblack@google.com        'general_purpose/data_conversion/sign_extension.py',
16312302Sgabeblack@google.com        'general_purpose/data_conversion/translate.py',
16412363Sgabeblack@google.com        'general_purpose/data_transfer/__init__.py',
16512363Sgabeblack@google.com        'general_purpose/data_transfer/conditional_move.py',
16612363Sgabeblack@google.com        'general_purpose/data_transfer/move.py',
16712363Sgabeblack@google.com        'general_purpose/data_transfer/stack_operations.py',
16812302Sgabeblack@google.com        'general_purpose/data_transfer/xchg.py',
16912363Sgabeblack@google.com        'general_purpose/flags/__init__.py',
17012363Sgabeblack@google.com        'general_purpose/flags/load_and_store.py',
17112363Sgabeblack@google.com        'general_purpose/flags/push_and_pop.py',
17212363Sgabeblack@google.com        'general_purpose/flags/set_and_clear.py',
17312363Sgabeblack@google.com        'general_purpose/input_output/__init__.py',
1748233Snate@binkert.org        'general_purpose/input_output/general_io.py',
1756143Snate@binkert.org        'general_purpose/input_output/string_io.py',
1766143Snate@binkert.org        'general_purpose/load_effective_address.py',
1776143Snate@binkert.org        'general_purpose/load_segment_registers.py',
1786143Snate@binkert.org        'general_purpose/logical.py',
1796143Snate@binkert.org        'general_purpose/no_operation.py',
1806143Snate@binkert.org        'general_purpose/rotate_and_shift/__init__.py',
1816143Snate@binkert.org        'general_purpose/rotate_and_shift/rotate.py',
1826143Snate@binkert.org        'general_purpose/rotate_and_shift/shift.py',
1836143Snate@binkert.org        'general_purpose/semaphores.py',
1847065Snate@binkert.org        'general_purpose/string/__init__.py',
1856143Snate@binkert.org        'general_purpose/string/compare_strings.py',
18612362Sgabeblack@google.com        'general_purpose/string/load_string.py',
18712362Sgabeblack@google.com        'general_purpose/string/move_string.py',
18812362Sgabeblack@google.com        'general_purpose/string/scan_string.py',
18912362Sgabeblack@google.com        'general_purpose/string/store_string.py',
19012362Sgabeblack@google.com        'general_purpose/system_calls.py',
19112362Sgabeblack@google.com        'romutil.py',
19212362Sgabeblack@google.com        'system/__init__.py',
19312362Sgabeblack@google.com        'system/halt.py',
19412362Sgabeblack@google.com        'system/invlpg.py',
19512362Sgabeblack@google.com        'system/undefined_operation.py',
19612362Sgabeblack@google.com        'system/msrs.py',
19712362Sgabeblack@google.com        'system/segmentation.py',
1988233Snate@binkert.org        'simd128/__init__.py',
1998233Snate@binkert.org        'simd128/integer/__init__.py',
2008233Snate@binkert.org        'simd128/integer/data_transfer/__init__.py',
2018233Snate@binkert.org        'simd128/integer/data_transfer/move.py',
2028233Snate@binkert.org        'simd128/integer/data_transfer/move_non_temporal.py',
2038233Snate@binkert.org        'simd128/integer/data_transfer/move_mask.py',
2048233Snate@binkert.org        'simd128/integer/data_conversion/__init__.py',
2058233Snate@binkert.org        'simd128/integer/data_conversion/convert_mmx_integer_to_floating_point.py',
2068233Snate@binkert.org        'simd128/integer/data_conversion/convert_integer_to_floating_point.py',
2078233Snate@binkert.org        'simd128/integer/data_conversion/convert_gpr_integer_to_floating_point.py',
2088233Snate@binkert.org        'simd128/integer/data_reordering/__init__.py',
2098233Snate@binkert.org        'simd128/integer/data_reordering/unpack_and_interleave.py',
2108233Snate@binkert.org        'simd128/integer/data_reordering/pack_with_saturation.py',
2118233Snate@binkert.org        'simd128/integer/data_reordering/extract_and_insert.py',
2128233Snate@binkert.org        'simd128/integer/data_reordering/shuffle.py',
2138233Snate@binkert.org        'simd128/integer/arithmetic/__init__.py',
2148233Snate@binkert.org        'simd128/integer/arithmetic/subtraction.py',
2158233Snate@binkert.org        'simd128/integer/arithmetic/addition.py',
2168233Snate@binkert.org        'simd128/integer/arithmetic/multiplication.py',
2178233Snate@binkert.org        'simd128/integer/arithmetic/multiply_add.py',
2188233Snate@binkert.org        'simd128/integer/arithmetic/average.py',
2196143Snate@binkert.org        'simd128/integer/arithmetic/sum_of_absolute_differences.py',
2206143Snate@binkert.org        'simd128/integer/shift/__init__.py',
2216143Snate@binkert.org        'simd128/integer/shift/right_arithmetic_shift.py',
2226143Snate@binkert.org        'simd128/integer/shift/left_logical_shift.py',
2236143Snate@binkert.org        'simd128/integer/shift/right_logical_shift.py',
2246143Snate@binkert.org        'simd128/integer/compare/__init__.py',
2259982Satgutier@umich.edu        'simd128/integer/compare/compare_and_write_mask.py',
22613576Sciro.santilli@arm.com        'simd128/integer/compare/compare_and_write_minimum_or_maximum.py',
22713576Sciro.santilli@arm.com        'simd128/integer/logical/__init__.py',
22813576Sciro.santilli@arm.com        'simd128/integer/logical/pand.py',
22913576Sciro.santilli@arm.com        'simd128/integer/logical/por.py',
23013576Sciro.santilli@arm.com        'simd128/integer/logical/exclusive_or.py',
23113576Sciro.santilli@arm.com        'simd128/integer/save_and_restore_state/__init__.py',
23213576Sciro.santilli@arm.com        'simd128/integer/save_and_restore_state/save_and_restore_state.py',
23313576Sciro.santilli@arm.com        'simd128/integer/save_and_restore_state/save_and_restore_control_and_status.py',
23413576Sciro.santilli@arm.com        'simd128/floating_point/__init__.py',
23513576Sciro.santilli@arm.com        'simd128/floating_point/data_transfer/__init__.py',
23613576Sciro.santilli@arm.com        'simd128/floating_point/data_transfer/move_mask.py',
23713576Sciro.santilli@arm.com        'simd128/floating_point/data_transfer/move.py',
23813576Sciro.santilli@arm.com        'simd128/floating_point/data_transfer/move_with_duplication.py',
23913576Sciro.santilli@arm.com        'simd128/floating_point/data_transfer/move_non_temporal.py',
24013576Sciro.santilli@arm.com        'simd128/floating_point/data_conversion/__init__.py',
24113576Sciro.santilli@arm.com        'simd128/floating_point/data_conversion/convert_floating_point_to_floating_point.py',
24213576Sciro.santilli@arm.com        'simd128/floating_point/data_conversion/convert_floating_point_to_xmm_integer.py',
24313576Sciro.santilli@arm.com        'simd128/floating_point/data_conversion/convert_floating_point_to_mmx_integer.py',
24413576Sciro.santilli@arm.com        'simd128/floating_point/data_conversion/convert_floating_point_to_gpr_integer.py',
24513576Sciro.santilli@arm.com        'simd128/floating_point/data_reordering/__init__.py',
24613576Sciro.santilli@arm.com        'simd128/floating_point/data_reordering/unpack_and_interleave.py',
24713576Sciro.santilli@arm.com        'simd128/floating_point/data_reordering/shuffle.py',
24813576Sciro.santilli@arm.com        'simd128/floating_point/arithmetic/__init__.py',
24913576Sciro.santilli@arm.com        'simd128/floating_point/arithmetic/subtraction.py',
25013576Sciro.santilli@arm.com        'simd128/floating_point/arithmetic/addition.py',
25113576Sciro.santilli@arm.com        'simd128/floating_point/arithmetic/horizontal_subtraction.py',
25213576Sciro.santilli@arm.com        'simd128/floating_point/arithmetic/horizontal_addition.py',
25313576Sciro.santilli@arm.com        'simd128/floating_point/arithmetic/square_root.py',
25413576Sciro.santilli@arm.com        'simd128/floating_point/arithmetic/simultaneous_addition_and_subtraction.py',
25513576Sciro.santilli@arm.com        'simd128/floating_point/arithmetic/multiplication.py',
25613576Sciro.santilli@arm.com        'simd128/floating_point/arithmetic/division.py',
25713576Sciro.santilli@arm.com        'simd128/floating_point/arithmetic/reciprocal_square_root.py',
25813576Sciro.santilli@arm.com        'simd128/floating_point/arithmetic/reciprocal_estimation.py',
25913576Sciro.santilli@arm.com        'simd128/floating_point/compare/__init__.py',
26013576Sciro.santilli@arm.com        'simd128/floating_point/compare/compare_and_write_mask.py',
26113576Sciro.santilli@arm.com        'simd128/floating_point/compare/compare_and_write_rflags.py',
26213576Sciro.santilli@arm.com        'simd128/floating_point/compare/compare_and_write_minimum_or_maximum.py',
26313576Sciro.santilli@arm.com        'simd128/floating_point/logical/__init__.py',
26413576Sciro.santilli@arm.com        'simd128/floating_point/logical/andp.py',
26513576Sciro.santilli@arm.com        'simd128/floating_point/logical/orp.py',
26613576Sciro.santilli@arm.com        'simd128/floating_point/logical/exclusive_or.py',
26713576Sciro.santilli@arm.com        'simd64/__init__.py',
26813576Sciro.santilli@arm.com        'simd64/integer/__init__.py',
26913576Sciro.santilli@arm.com        'simd64/integer/data_transfer/__init__.py',
27013576Sciro.santilli@arm.com        'simd64/integer/data_transfer/move_mask.py',
27113576Sciro.santilli@arm.com        'simd64/integer/data_transfer/move.py',
27213576Sciro.santilli@arm.com        'simd64/integer/data_transfer/move_non_temporal.py',
27313576Sciro.santilli@arm.com        'simd64/integer/exit_media_state.py',
27413576Sciro.santilli@arm.com        'simd64/integer/data_reordering/__init__.py',
27513576Sciro.santilli@arm.com        'simd64/integer/data_reordering/unpack_and_interleave.py',
27613576Sciro.santilli@arm.com        'simd64/integer/data_reordering/pack_with_saturation.py',
27713576Sciro.santilli@arm.com        'simd64/integer/data_reordering/extract_and_insert.py',
27813576Sciro.santilli@arm.com        'simd64/integer/data_reordering/shuffle_and_swap.py',
27913576Sciro.santilli@arm.com        'simd64/integer/data_conversion.py',
28013576Sciro.santilli@arm.com        'simd64/integer/arithmetic/__init__.py',
28113576Sciro.santilli@arm.com        'simd64/integer/arithmetic/subtraction.py',
28213576Sciro.santilli@arm.com        'simd64/integer/arithmetic/addition.py',
28313576Sciro.santilli@arm.com        'simd64/integer/arithmetic/multiplication.py',
28413576Sciro.santilli@arm.com        'simd64/integer/arithmetic/multiply_add.py',
28513576Sciro.santilli@arm.com        'simd64/integer/arithmetic/average.py',
28613576Sciro.santilli@arm.com        'simd64/integer/arithmetic/sum_of_absolute_differences.py',
28713576Sciro.santilli@arm.com        'simd64/integer/shift/__init__.py',
28813576Sciro.santilli@arm.com        'simd64/integer/shift/right_arithmetic_shift.py',
28913576Sciro.santilli@arm.com        'simd64/integer/shift/left_logical_shift.py',
29013576Sciro.santilli@arm.com        'simd64/integer/shift/right_logical_shift.py',
29113576Sciro.santilli@arm.com        'simd64/integer/compare/__init__.py',
29213576Sciro.santilli@arm.com        'simd64/integer/compare/compare_and_write_mask.py',
29313576Sciro.santilli@arm.com        'simd64/integer/compare/compare_and_write_minimum_or_maximum.py',
29413576Sciro.santilli@arm.com        'simd64/integer/logical/__init__.py',
29513576Sciro.santilli@arm.com        'simd64/integer/logical/pand.py',
29613577Sciro.santilli@arm.com        'simd64/integer/logical/por.py',
29713577Sciro.santilli@arm.com        'simd64/integer/logical/exclusive_or.py',
29813577Sciro.santilli@arm.com        'simd64/integer/save_and_restore_state.py',
2996143Snate@binkert.org        'simd64/floating_point/__init__.py',
30012302Sgabeblack@google.com        'simd64/floating_point/arithmetic/__init__.py',
30112302Sgabeblack@google.com        'simd64/floating_point/arithmetic/subtraction.py',
30212302Sgabeblack@google.com        'simd64/floating_point/arithmetic/addition.py',
30312302Sgabeblack@google.com        'simd64/floating_point/arithmetic/reciprocal_estimation.py',
30412302Sgabeblack@google.com        'simd64/floating_point/arithmetic/multiplication.py',
30512302Sgabeblack@google.com        'simd64/floating_point/arithmetic/accumulation.py',
30612302Sgabeblack@google.com        'simd64/floating_point/arithmetic/reciprocal_square_root.py',
30712302Sgabeblack@google.com        'simd64/floating_point/data_conversion.py',
30811983Sgabeblack@google.com        'simd64/floating_point/compare/__init__.py',
30911983Sgabeblack@google.com        'simd64/floating_point/compare/compare_and_write_mask.py',
31011983Sgabeblack@google.com        'simd64/floating_point/compare/compare_and_write_minimum_or_maximum.py',
31112302Sgabeblack@google.com        'x87/__init__.py',
31212302Sgabeblack@google.com        'x87/data_transfer_and_conversion/__init__.py',
31312302Sgabeblack@google.com        'x87/data_transfer_and_conversion/convert_and_load_or_store_integer.py',
31412302Sgabeblack@google.com        'x87/data_transfer_and_conversion/load_or_store_floating_point.py',
31512302Sgabeblack@google.com        'x87/data_transfer_and_conversion/exchange.py',
31612302Sgabeblack@google.com        'x87/data_transfer_and_conversion/convert_and_load_or_store_bcd.py',
31711983Sgabeblack@google.com        'x87/data_transfer_and_conversion/conditional_move.py',
3186143Snate@binkert.org        'x87/data_transfer_and_conversion/extract.py',
31912305Sgabeblack@google.com        'x87/load_constants/__init__.py',
32012302Sgabeblack@google.com        'x87/load_constants/load_0_1_or_pi.py',
32112302Sgabeblack@google.com        'x87/load_constants/load_logarithm.py',
32212302Sgabeblack@google.com        'x87/arithmetic/__init__.py',
3236143Snate@binkert.org        'x87/arithmetic/subtraction.py',
3246143Snate@binkert.org        'x87/arithmetic/addition.py',
3256143Snate@binkert.org        'x87/arithmetic/partial_remainder.py',
3265522Snate@binkert.org        'x87/arithmetic/multiplication.py',
3276143Snate@binkert.org        'x87/arithmetic/division.py',
3286143Snate@binkert.org        'x87/arithmetic/change_sign.py',
3296143Snate@binkert.org        'x87/arithmetic/round.py',
3309982Satgutier@umich.edu        'x87/arithmetic/square_root.py',
33112302Sgabeblack@google.com        'x87/transcendental_functions/__init__.py',
33212302Sgabeblack@google.com        'x87/transcendental_functions/trigonometric_functions.py',
33312302Sgabeblack@google.com        'x87/transcendental_functions/logarithmic_functions.py',
3346143Snate@binkert.org        'x87/compare_and_test/__init__.py',
3356143Snate@binkert.org        'x87/compare_and_test/classify.py',
3366143Snate@binkert.org        'x87/compare_and_test/test.py',
3376143Snate@binkert.org        'x87/compare_and_test/floating_point_ordered_compare.py',
3385522Snate@binkert.org        'x87/compare_and_test/floating_point_unordered_compare.py',
3395522Snate@binkert.org        'x87/compare_and_test/integer_compare.py',
3405522Snate@binkert.org        'x87/stack_management/__init__.py',
3415522Snate@binkert.org        'x87/stack_management/stack_control.py',
3425604Snate@binkert.org        'x87/stack_management/clear_state.py',
3435604Snate@binkert.org        'x87/control/__init__.py',
3446143Snate@binkert.org        'x87/control/clear_exceptions.py',
3456143Snate@binkert.org        'x87/control/initialize.py',
3464762Snate@binkert.org        'x87/control/wait_for_exceptions.py',
3474762Snate@binkert.org        'x87/control/save_x87_status_word.py',
3486143Snate@binkert.org        'x87/control/save_and_restore_x87_control_word.py',
3496727Ssteve.reinhardt@amd.com        'x87/control/save_and_restore_x87_environment.py',
3506727Ssteve.reinhardt@amd.com        'x87/no_operation.py'
3516727Ssteve.reinhardt@amd.com        )
3524762Snate@binkert.org
3536143Snate@binkert.org
3546143Snate@binkert.org    # Add in files generated by the ISA description.
3556143Snate@binkert.org    isa_desc_files = env.ISADesc('isa/main.isa')
3566143Snate@binkert.org    for f in isa_desc_files:
3576727Ssteve.reinhardt@amd.com        # Add in python file dependencies that won't be caught otherwise
3586143Snate@binkert.org        for pyfile in python_files:
3597674Snate@binkert.org            env.Depends(f, "isa/insts/%s" % pyfile)
3607674Snate@binkert.org        # Only non-header files need to be compiled.
3615604Snate@binkert.org        if not f.path.endswith('.hh'):
3626143Snate@binkert.org            Source(f)
3636143Snate@binkert.org