SConscript revision 5124
1955SN/A# -*- mode:python -*-
2955SN/A
31762SN/A# Copyright (c) 2005-2006 The Regents of The University of Michigan
4955SN/A# All rights reserved.
5955SN/A#
6955SN/A# Redistribution and use in source and binary forms, with or without
7955SN/A# modification, are permitted provided that the following conditions are
8955SN/A# met: redistributions of source code must retain the above copyright
9955SN/A# notice, this list of conditions and the following disclaimer;
10955SN/A# redistributions in binary form must reproduce the above copyright
11955SN/A# notice, this list of conditions and the following disclaimer in the
12955SN/A# documentation and/or other materials provided with the distribution;
13955SN/A# neither the name of the copyright holders nor the names of its
14955SN/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.
282665Ssaidi@eecs.umich.edu#
294762Snate@binkert.org# Authors: Gabe Black
30955SN/A
315522Snate@binkert.org# Copyright (c) 2007 The Hewlett-Packard Development Company
326143Snate@binkert.org# All rights reserved.
334762Snate@binkert.org#
345522Snate@binkert.org# Redistribution and use of this software in source and binary forms,
35955SN/A# with or without modification, are permitted provided that the
365522Snate@binkert.org# following conditions are met:
37955SN/A#
385522Snate@binkert.org# The software must be used only for Non-Commercial Use which means any
394202Sbinkertn@umich.edu# use which is NOT directed to receiving any direct monetary
405742Snate@binkert.org# compensation for, or commercial advantage from such use.  Illustrative
41955SN/A# examples of non-commercial use are academic research, personal study,
424381Sbinkertn@umich.edu# teaching, education and corporate research & development.
434381Sbinkertn@umich.edu# Illustrative examples of commercial use are distributing products for
448334Snate@binkert.org# commercial advantage and providing services using the software for
45955SN/A# commercial advantage.
46955SN/A#
474202Sbinkertn@umich.edu# If you wish to use this software or functionality therein that may be
48955SN/A# covered by patents for commercial use, please contact:
494382Sbinkertn@umich.edu#     Director of Intellectual Property Licensing
504382Sbinkertn@umich.edu#     Office of Strategy and Technology
514382Sbinkertn@umich.edu#     Hewlett-Packard Company
526654Snate@binkert.org#     1501 Page Mill Road
535517Snate@binkert.org#     Palo Alto, California  94304
548614Sgblack@eecs.umich.edu#
557674Snate@binkert.org# Redistributions of source code must retain the above copyright notice,
566143Snate@binkert.org# this list of conditions and the following disclaimer.  Redistributions
576143Snate@binkert.org# in binary form must reproduce the above copyright notice, this list of
586143Snate@binkert.org# conditions and the following disclaimer in the documentation and/or
598233Snate@binkert.org# other materials provided with the distribution.  Neither the name of
608233Snate@binkert.org# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its
618233Snate@binkert.org# contributors may be used to endorse or promote products derived from
628233Snate@binkert.org# this software without specific prior written permission.  No right of
638233Snate@binkert.org# sublicense is granted herewith.  Derivatives of the software and
648334Snate@binkert.org# output created using the software may be prepared, but only for
658334Snate@binkert.org# Non-Commercial Uses.  Derivatives of the software may be shared with
6610453SAndrew.Bardsley@arm.com# others provided: (i) the others agree to abide by the list of
6710453SAndrew.Bardsley@arm.com# conditions herein which includes the Non-Commercial Use restrictions;
688233Snate@binkert.org# and (ii) such Derivatives of the software include the above copyright
698233Snate@binkert.org# notice to acknowledge the contribution from this software where
708233Snate@binkert.org# applicable, this list of conditions and the disclaimer below.
718233Snate@binkert.org#
728233Snate@binkert.org# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
738233Snate@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
758233Snate@binkert.org# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
768233Snate@binkert.org# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
778233Snate@binkert.org# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
786143Snate@binkert.org# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
796143Snate@binkert.org# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
806143Snate@binkert.org# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
8111308Santhony.gutierrez@amd.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
828233Snate@binkert.org# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
838233Snate@binkert.org#
848233Snate@binkert.org# Authors: Gabe Black
856143Snate@binkert.org
868233Snate@binkert.orgImport('*')
878233Snate@binkert.org
888233Snate@binkert.orgif env['TARGET_ISA'] == 'x86':
898233Snate@binkert.org    Source('emulenv.cc')
906143Snate@binkert.org    Source('floatregfile.cc')
916143Snate@binkert.org    Source('faults.cc')
926143Snate@binkert.org    Source('insts/microfpop.cc')
934762Snate@binkert.org    Source('insts/microldstop.cc')
946143Snate@binkert.org    Source('insts/microop.cc')
958233Snate@binkert.org    Source('insts/microregop.cc')
968233Snate@binkert.org    Source('insts/static_inst.cc')
978233Snate@binkert.org    Source('intregfile.cc')
988233Snate@binkert.org    Source('miscregfile.cc')
998233Snate@binkert.org    Source('pagetable.cc')
1006143Snate@binkert.org    Source('predecoder.cc')
1018233Snate@binkert.org    Source('predecoder_tables.cc')
1028233Snate@binkert.org    Source('regfile.cc')
1038233Snate@binkert.org    Source('remote_gdb.cc')
1048233Snate@binkert.org    Source('tlb.cc')
1056143Snate@binkert.org
1066143Snate@binkert.org    SimObject('X86TLB.py')
1076143Snate@binkert.org
1086143Snate@binkert.org    if env['FULL_SYSTEM']:
1096143Snate@binkert.org        # Full-system sources
1106143Snate@binkert.org        Source('stacktrace.cc')
1116143Snate@binkert.org        Source('utility.cc')
1126143Snate@binkert.org        Source('vtophys.cc')
1136143Snate@binkert.org    else:
1147065Snate@binkert.org        Source('process.cc')
1156143Snate@binkert.org
1168233Snate@binkert.org        Source('linux/linux.cc')
1178233Snate@binkert.org        Source('linux/process.cc')
1188233Snate@binkert.org        Source('linux/syscalls.cc')
1198233Snate@binkert.org
1208233Snate@binkert.org    python_files = (
1218233Snate@binkert.org        '__init__.py',
1228233Snate@binkert.org        'general_purpose/__init__.py',
1238233Snate@binkert.org        'general_purpose/arithmetic/__init__.py',
1248233Snate@binkert.org        'general_purpose/arithmetic/add_and_subtract.py',
1258233Snate@binkert.org        'general_purpose/arithmetic/increment_and_decrement.py',
1268233Snate@binkert.org        'general_purpose/arithmetic/multiply_and_divide.py',
1278233Snate@binkert.org        'general_purpose/cache_and_memory_management.py',
1288233Snate@binkert.org        'general_purpose/compare_and_test/__init__.py',
1298233Snate@binkert.org        'general_purpose/compare_and_test/bit_scan.py',
1308233Snate@binkert.org        'general_purpose/compare_and_test/bit_test.py',
1318233Snate@binkert.org        'general_purpose/compare_and_test/bounds.py',
1328233Snate@binkert.org        'general_purpose/compare_and_test/compare.py',
1338233Snate@binkert.org        'general_purpose/compare_and_test/set_byte_on_condition.py',
1348233Snate@binkert.org        'general_purpose/compare_and_test/test.py',
1358233Snate@binkert.org        'general_purpose/control_transfer/__init__.py',
1368233Snate@binkert.org        'general_purpose/control_transfer/call.py',
1378233Snate@binkert.org        'general_purpose/control_transfer/conditional_jump.py',
1388233Snate@binkert.org        'general_purpose/control_transfer/interrupts_and_exceptions.py',
1398233Snate@binkert.org        'general_purpose/control_transfer/jump.py',
1408233Snate@binkert.org        'general_purpose/control_transfer/loop.py',
1418233Snate@binkert.org        'general_purpose/control_transfer/xreturn.py',
1428233Snate@binkert.org        'general_purpose/data_conversion/__init__.py',
1438233Snate@binkert.org        'general_purpose/data_conversion/ascii_adjust.py',
1448233Snate@binkert.org        'general_purpose/data_conversion/bcd_adjust.py',
1458233Snate@binkert.org        'general_purpose/data_conversion/endian_conversion.py',
1468233Snate@binkert.org        'general_purpose/data_conversion/extract_sign_mask.py',
1476143Snate@binkert.org        'general_purpose/data_conversion/sign_extension.py',
1486143Snate@binkert.org        'general_purpose/data_conversion/translate.py',
1496143Snate@binkert.org        'general_purpose/data_transfer/__init__.py',
1506143Snate@binkert.org        'general_purpose/data_transfer/conditional_move.py',
1516143Snate@binkert.org        'general_purpose/data_transfer/move.py',
1526143Snate@binkert.org        'general_purpose/data_transfer/stack_operations.py',
1539982Satgutier@umich.edu        'general_purpose/data_transfer/xchg.py',
15410196SCurtis.Dunham@arm.com        'general_purpose/flags/__init__.py',
15510196SCurtis.Dunham@arm.com        'general_purpose/flags/load_and_store.py',
15610196SCurtis.Dunham@arm.com        'general_purpose/flags/push_and_pop.py',
15710196SCurtis.Dunham@arm.com        'general_purpose/flags/set_and_clear.py',
15810196SCurtis.Dunham@arm.com        'general_purpose/input_output/__init__.py',
15910196SCurtis.Dunham@arm.com        'general_purpose/input_output/general_io.py',
16010196SCurtis.Dunham@arm.com        'general_purpose/input_output/string_io.py',
16110196SCurtis.Dunham@arm.com        'general_purpose/load_effective_address.py',
1626143Snate@binkert.org        'general_purpose/load_segment_registers.py',
1636143Snate@binkert.org        'general_purpose/logical.py',
1648945Ssteve.reinhardt@amd.com        'general_purpose/no_operation.py',
1658233Snate@binkert.org        'general_purpose/processor_information.py',
1668233Snate@binkert.org        'general_purpose/rotate_and_shift/__init__.py',
1676143Snate@binkert.org        'general_purpose/rotate_and_shift/rotate.py',
1688945Ssteve.reinhardt@amd.com        'general_purpose/rotate_and_shift/shift.py',
1696143Snate@binkert.org        'general_purpose/semaphores.py',
1706143Snate@binkert.org        'general_purpose/string/__init__.py',
1716143Snate@binkert.org        'general_purpose/string/compare_strings.py',
1726143Snate@binkert.org        'general_purpose/string/load_string.py',
1735522Snate@binkert.org        'general_purpose/string/move_string.py',
1746143Snate@binkert.org        'general_purpose/string/scan_string.py',
1756143Snate@binkert.org        'general_purpose/string/store_string.py',
1766143Snate@binkert.org        'general_purpose/system_calls.py',
1779982Satgutier@umich.edu        'system/__init__.py',
1788233Snate@binkert.org        'system/undefined_operation.py',
1798233Snate@binkert.org        'simd128/__init__.py',
1808233Snate@binkert.org        'simd128/integer/__init__.py',
1816143Snate@binkert.org        'simd128/integer/data_transfer/__init__.py',
1826143Snate@binkert.org        'simd128/integer/data_transfer/move.py',
1836143Snate@binkert.org        'simd128/integer/data_transfer/move_non_temporal.py',
1846143Snate@binkert.org        'simd128/integer/data_transfer/move_mask.py',
1855522Snate@binkert.org        'simd128/integer/data_conversion/__init__.py',
1865522Snate@binkert.org        'simd128/integer/data_conversion/convert_mmx_integer_to_floating_point.py',
1875522Snate@binkert.org        'simd128/integer/data_conversion/convert_integer_to_floating_point.py',
1885522Snate@binkert.org        'simd128/integer/data_conversion/convert_gpr_integer_to_floating_point.py',
1895604Snate@binkert.org        'simd128/integer/data_reordering/__init__.py',
1905604Snate@binkert.org        'simd128/integer/data_reordering/unpack_and_interleave.py',
1916143Snate@binkert.org        'simd128/integer/data_reordering/pack_with_saturation.py',
1926143Snate@binkert.org        'simd128/integer/data_reordering/extract_and_insert.py',
1934762Snate@binkert.org        'simd128/integer/data_reordering/shuffle.py',
1944762Snate@binkert.org        'simd128/integer/arithmetic/__init__.py',
1956143Snate@binkert.org        'simd128/integer/arithmetic/subtraction.py',
1966727Ssteve.reinhardt@amd.com        'simd128/integer/arithmetic/addition.py',
1976727Ssteve.reinhardt@amd.com        'simd128/integer/arithmetic/multiplication.py',
1986727Ssteve.reinhardt@amd.com        'simd128/integer/arithmetic/multiply_add.py',
1994762Snate@binkert.org        'simd128/integer/arithmetic/average.py',
2006143Snate@binkert.org        'simd128/integer/arithmetic/sum_of_absolute_differences.py',
2016143Snate@binkert.org        'simd128/integer/shift/__init__.py',
2026143Snate@binkert.org        'simd128/integer/shift/right_arithmetic_shift.py',
2036143Snate@binkert.org        'simd128/integer/shift/left_logical_shift.py',
2046727Ssteve.reinhardt@amd.com        'simd128/integer/shift/right_logical_shift.py',
2056143Snate@binkert.org        'simd128/integer/compare/__init__.py',
2067674Snate@binkert.org        'simd128/integer/compare/compare_and_write_mask.py',
2077674Snate@binkert.org        'simd128/integer/compare/compare_and_write_minimum_or_maximum.py',
2085604Snate@binkert.org        'simd128/integer/logical/__init__.py',
2096143Snate@binkert.org        'simd128/integer/logical/pand.py',
2106143Snate@binkert.org        'simd128/integer/logical/por.py',
2116143Snate@binkert.org        'simd128/integer/logical/exclusive_or.py',
2124762Snate@binkert.org        'simd128/integer/save_and_restore_state/__init__.py',
2136143Snate@binkert.org        'simd128/integer/save_and_restore_state/save_and_restore_state.py',
2144762Snate@binkert.org        'simd128/integer/save_and_restore_state/save_and_restore_control_and_status.py',
2154762Snate@binkert.org        'simd128/floating_point/__init__.py',
2164762Snate@binkert.org        'simd128/floating_point/data_transfer/__init__.py',
2176143Snate@binkert.org        'simd128/floating_point/data_transfer/move_mask.py',
2186143Snate@binkert.org        'simd128/floating_point/data_transfer/move.py',
2194762Snate@binkert.org        'simd128/floating_point/data_transfer/move_with_duplication.py',
2208233Snate@binkert.org        'simd128/floating_point/data_transfer/move_non_temporal.py',
2218233Snate@binkert.org        'simd128/floating_point/data_conversion/__init__.py',
2228233Snate@binkert.org        'simd128/floating_point/data_conversion/convert_floating_point_to_floating_point.py',
2238233Snate@binkert.org        'simd128/floating_point/data_conversion/convert_floating_point_to_xmm_integer.py',
2246143Snate@binkert.org        'simd128/floating_point/data_conversion/convert_floating_point_to_mmx_integer.py',
2256143Snate@binkert.org        'simd128/floating_point/data_conversion/convert_floating_point_to_gpr_integer.py',
2264762Snate@binkert.org        'simd128/floating_point/data_reordering/__init__.py',
2276143Snate@binkert.org        'simd128/floating_point/data_reordering/unpack_and_interleave.py',
2284762Snate@binkert.org        'simd128/floating_point/data_reordering/shuffle.py',
2296143Snate@binkert.org        'simd128/floating_point/arithmetic/__init__.py',
2304762Snate@binkert.org        'simd128/floating_point/arithmetic/subtraction.py',
2316143Snate@binkert.org        'simd128/floating_point/arithmetic/addition.py',
2328233Snate@binkert.org        'simd128/floating_point/arithmetic/horizontal_subtraction.py',
2338233Snate@binkert.org        'simd128/floating_point/arithmetic/horizontal_addition.py',
23410453SAndrew.Bardsley@arm.com        'simd128/floating_point/arithmetic/square_root.py',
2356143Snate@binkert.org        'simd128/floating_point/arithmetic/simultaneous_addition_and_subtraction.py',
2366143Snate@binkert.org        'simd128/floating_point/arithmetic/multiplication.py',
2376143Snate@binkert.org        'simd128/floating_point/arithmetic/division.py',
2386143Snate@binkert.org        'simd128/floating_point/arithmetic/reciprocal_square_root.py',
23911548Sandreas.hansson@arm.com        'simd128/floating_point/arithmetic/reciprocal_estimation.py',
2406143Snate@binkert.org        'simd128/floating_point/compare/__init__.py',
2416143Snate@binkert.org        'simd128/floating_point/compare/compare_and_write_mask.py',
2426143Snate@binkert.org        'simd128/floating_point/compare/compare_and_write_rflags.py',
2436143Snate@binkert.org        'simd128/floating_point/compare/compare_and_write_minimum_or_maximum.py',
24410453SAndrew.Bardsley@arm.com        'simd128/floating_point/logical/__init__.py',
24510453SAndrew.Bardsley@arm.com        'simd128/floating_point/logical/andp.py',
246955SN/A        'simd128/floating_point/logical/orp.py',
2479396Sandreas.hansson@arm.com        'simd128/floating_point/logical/exclusive_or.py',
2489396Sandreas.hansson@arm.com        'simd64/__init__.py',
2499396Sandreas.hansson@arm.com        'simd64/integer/__init__.py',
2509396Sandreas.hansson@arm.com        'simd64/integer/data_transfer/__init__.py',
2519396Sandreas.hansson@arm.com        'simd64/integer/data_transfer/move_mask.py',
2529396Sandreas.hansson@arm.com        'simd64/integer/data_transfer/move.py',
2539396Sandreas.hansson@arm.com        'simd64/integer/data_transfer/move_non_temporal.py',
2549396Sandreas.hansson@arm.com        'simd64/integer/exit_media_state.py',
2559396Sandreas.hansson@arm.com        'simd64/integer/data_reordering/__init__.py',
2569396Sandreas.hansson@arm.com        'simd64/integer/data_reordering/unpack_and_interleave.py',
2579396Sandreas.hansson@arm.com        'simd64/integer/data_reordering/pack_with_saturation.py',
2589396Sandreas.hansson@arm.com        'simd64/integer/data_reordering/extract_and_insert.py',
2599396Sandreas.hansson@arm.com        'simd64/integer/data_reordering/shuffle_and_swap.py',
2609930Sandreas.hansson@arm.com        'simd64/integer/data_conversion.py',
2619930Sandreas.hansson@arm.com        'simd64/integer/arithmetic/__init__.py',
2629396Sandreas.hansson@arm.com        'simd64/integer/arithmetic/subtraction.py',
2638235Snate@binkert.org        'simd64/integer/arithmetic/addition.py',
2648235Snate@binkert.org        'simd64/integer/arithmetic/multiplication.py',
2656143Snate@binkert.org        'simd64/integer/arithmetic/multiply_add.py',
2668235Snate@binkert.org        'simd64/integer/arithmetic/average.py',
2679003SAli.Saidi@ARM.com        'simd64/integer/arithmetic/sum_of_absolute_differences.py',
2688235Snate@binkert.org        'simd64/integer/shift/__init__.py',
2698235Snate@binkert.org        'simd64/integer/shift/right_arithmetic_shift.py',
2708235Snate@binkert.org        'simd64/integer/shift/left_logical_shift.py',
2718235Snate@binkert.org        'simd64/integer/shift/right_logical_shift.py',
2728235Snate@binkert.org        'simd64/integer/compare/__init__.py',
2738235Snate@binkert.org        'simd64/integer/compare/compare_and_write_mask.py',
2748235Snate@binkert.org        'simd64/integer/compare/compare_and_write_minimum_or_maximum.py',
2758235Snate@binkert.org        'simd64/integer/logical/__init__.py',
2768235Snate@binkert.org        'simd64/integer/logical/pand.py',
2778235Snate@binkert.org        'simd64/integer/logical/por.py',
2788235Snate@binkert.org        'simd64/integer/logical/exclusive_or.py',
2798235Snate@binkert.org        'simd64/integer/save_and_restore_state.py',
2808235Snate@binkert.org        'simd64/floating_point/__init__.py',
2818235Snate@binkert.org        'simd64/floating_point/arithmetic/__init__.py',
2829003SAli.Saidi@ARM.com        'simd64/floating_point/arithmetic/subtraction.py',
2838235Snate@binkert.org        'simd64/floating_point/arithmetic/addition.py',
2845584Snate@binkert.org        'simd64/floating_point/arithmetic/reciprocal_estimation.py',
2854382Sbinkertn@umich.edu        'simd64/floating_point/arithmetic/multiplication.py',
2864202Sbinkertn@umich.edu        'simd64/floating_point/arithmetic/accumulation.py',
2874382Sbinkertn@umich.edu        'simd64/floating_point/arithmetic/reciprocal_square_root.py',
2884382Sbinkertn@umich.edu        'simd64/floating_point/data_conversion.py',
2894382Sbinkertn@umich.edu        'simd64/floating_point/compare/__init__.py',
2909396Sandreas.hansson@arm.com        'simd64/floating_point/compare/compare_and_write_mask.py',
2915584Snate@binkert.org        'simd64/floating_point/compare/compare_and_write_minimum_or_maximum.py',
2924382Sbinkertn@umich.edu        'x87/__init__.py',
2934382Sbinkertn@umich.edu        'x87/data_transfer_and_conversion/__init__.py',
2944382Sbinkertn@umich.edu        'x87/data_transfer_and_conversion/convert_and_load_or_store_integer.py',
2958232Snate@binkert.org        'x87/data_transfer_and_conversion/load_or_store_floating_point.py',
2965192Ssaidi@eecs.umich.edu        'x87/data_transfer_and_conversion/exchange.py',
2978232Snate@binkert.org        'x87/data_transfer_and_conversion/convert_and_load_or_store_bcd.py',
2988232Snate@binkert.org        'x87/data_transfer_and_conversion/conditional_move.py',
2998232Snate@binkert.org        'x87/data_transfer_and_conversion/extract.py',
3005192Ssaidi@eecs.umich.edu        'x87/load_constants/__init__.py',
3018232Snate@binkert.org        'x87/load_constants/load_0_1_or_pi.py',
3025192Ssaidi@eecs.umich.edu        'x87/load_constants/load_logarithm.py',
3035799Snate@binkert.org        'x87/arithmetic/__init__.py',
3048232Snate@binkert.org        'x87/arithmetic/subtraction.py',
3055192Ssaidi@eecs.umich.edu        'x87/arithmetic/addition.py',
3065192Ssaidi@eecs.umich.edu        'x87/arithmetic/partial_remainder.py',
3075192Ssaidi@eecs.umich.edu        'x87/arithmetic/multiplication.py',
3088232Snate@binkert.org        'x87/arithmetic/division.py',
3095192Ssaidi@eecs.umich.edu        'x87/arithmetic/change_sign.py',
3108232Snate@binkert.org        'x87/arithmetic/round.py',
3115192Ssaidi@eecs.umich.edu        'x87/arithmetic/square_root.py',
3125192Ssaidi@eecs.umich.edu        'x87/transcendental_functions/__init__.py',
3135192Ssaidi@eecs.umich.edu        'x87/transcendental_functions/trigonometric_functions.py',
3145192Ssaidi@eecs.umich.edu        'x87/transcendental_functions/logarithmic_functions.py',
3154382Sbinkertn@umich.edu        'x87/compare_and_test/__init__.py',
3164382Sbinkertn@umich.edu        'x87/compare_and_test/classify.py',
3174382Sbinkertn@umich.edu        'x87/compare_and_test/test.py',
3182667Sstever@eecs.umich.edu        'x87/compare_and_test/floating_point_ordered_compare.py',
3192667Sstever@eecs.umich.edu        'x87/compare_and_test/floating_point_unordered_compare.py',
3202667Sstever@eecs.umich.edu        'x87/compare_and_test/integer_compare.py',
3212667Sstever@eecs.umich.edu        'x87/stack_management/__init__.py',
3222667Sstever@eecs.umich.edu        'x87/stack_management/stack_control.py',
3232667Sstever@eecs.umich.edu        'x87/stack_management/clear_state.py',
3245742Snate@binkert.org        'x87/control/__init__.py',
3255742Snate@binkert.org        'x87/control/clear_exceptions.py',
3265742Snate@binkert.org        'x87/control/initialize.py',
3275793Snate@binkert.org        'x87/control/wait_for_exceptions.py',
3288334Snate@binkert.org        'x87/control/save_x87_status_word.py',
3295793Snate@binkert.org        'x87/control/save_and_restore_x87_control_word.py',
3305793Snate@binkert.org        'x87/control/save_and_restore_x87_environment.py',
3315793Snate@binkert.org        'x87/no_operation.py'
3324382Sbinkertn@umich.edu        )
3334762Snate@binkert.org
3345344Sstever@gmail.com
3354382Sbinkertn@umich.edu    # Add in files generated by the ISA description.
3365341Sstever@gmail.com    isa_desc_files = env.ISADesc('isa/main.isa')
3375742Snate@binkert.org    for f in isa_desc_files:
3385742Snate@binkert.org        # Add in python file dependencies that won't be caught otherwise
3395742Snate@binkert.org        for pyfile in python_files:
3405742Snate@binkert.org            env.Depends(f, "isa/insts/%s" % pyfile)
3415742Snate@binkert.org        # Only non-header files need to be compiled.
3424762Snate@binkert.org        if not f.path.endswith('.hh'):
3435742Snate@binkert.org            Source(f)
3445742Snate@binkert.org