SConscript revision 9384
14120Sgblack@eecs.umich.edu# -*- mode:python -*-
24120Sgblack@eecs.umich.edu
37087Snate@binkert.org# Copyright (c) 2007-2008 The Hewlett-Packard Development Company
47087Snate@binkert.org# All rights reserved.
57087Snate@binkert.org#
67087Snate@binkert.org# The license below extends only to copyright in the software and shall
77087Snate@binkert.org# not be construed as granting a license to any other intellectual
87087Snate@binkert.org# property including but not limited to intellectual property relating
97087Snate@binkert.org# to a hardware implementation of the functionality of the software
107087Snate@binkert.org# licensed hereunder.  You may use the software subject to the license
117087Snate@binkert.org# terms below provided that you ensure that this notice is replicated
127087Snate@binkert.org# unmodified and in its entirety in all distributions of the software,
137087Snate@binkert.org# modified or unmodified, in source code or in binary form.
147087Snate@binkert.org#
154120Sgblack@eecs.umich.edu# Copyright (c) 2005-2006 The Regents of The University of Michigan
164120Sgblack@eecs.umich.edu# All rights reserved.
174120Sgblack@eecs.umich.edu#
184120Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
194120Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are
204120Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright
214120Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
224120Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
234120Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
244120Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution;
254120Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
264120Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
274120Sgblack@eecs.umich.edu# this software without specific prior written permission.
284120Sgblack@eecs.umich.edu#
294120Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
304120Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
314120Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
324120Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
334120Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
344120Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
354120Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
364120Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
374120Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
384120Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
394120Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
404120Sgblack@eecs.umich.edu#
414120Sgblack@eecs.umich.edu# Authors: Gabe Black
424120Sgblack@eecs.umich.edu
434202Sbinkertn@umich.eduImport('*')
445069Sgblack@eecs.umich.edu
454202Sbinkertn@umich.eduif env['TARGET_ISA'] == 'x86':
465659Sgblack@eecs.umich.edu    Source('cpuid.cc')
479022Sgblack@eecs.umich.edu    Source('decoder.cc')
489023Sgblack@eecs.umich.edu    Source('decoder_tables.cc')
494601Sgblack@eecs.umich.edu    Source('emulenv.cc')
505124Sgblack@eecs.umich.edu    Source('faults.cc')
517966Sgblack@eecs.umich.edu    Source('insts/badmicroop.cc')
525083Sgblack@eecs.umich.edu    Source('insts/microfpop.cc')
534679Sgblack@eecs.umich.edu    Source('insts/microldstop.cc')
546515Sgblack@eecs.umich.edu    Source('insts/micromediaop.cc')
555083Sgblack@eecs.umich.edu    Source('insts/microop.cc')
564679Sgblack@eecs.umich.edu    Source('insts/microregop.cc')
574679Sgblack@eecs.umich.edu    Source('insts/static_inst.cc')
588745Sgblack@eecs.umich.edu    Source('interrupts.cc')
596313Sgblack@eecs.umich.edu    Source('isa.cc')
608771Sgblack@eecs.umich.edu    Source('linux/linux.cc')
618771Sgblack@eecs.umich.edu    Source('linux/process.cc')
628771Sgblack@eecs.umich.edu    Source('linux/syscalls.cc')
638771Sgblack@eecs.umich.edu    Source('linux/system.cc')
646365Sgblack@eecs.umich.edu    Source('nativetrace.cc')
655124Sgblack@eecs.umich.edu    Source('pagetable.cc')
668752Sgblack@eecs.umich.edu    Source('pagetable_walker.cc')
678771Sgblack@eecs.umich.edu    Source('process.cc')
684202Sbinkertn@umich.edu    Source('remote_gdb.cc')
698771Sgblack@eecs.umich.edu    Source('stacktrace.cc')
708771Sgblack@eecs.umich.edu    Source('system.cc')
714997Sgblack@eecs.umich.edu    Source('tlb.cc')
727624Sgblack@eecs.umich.edu    Source('types.cc')
735135Sgblack@eecs.umich.edu    Source('utility.cc')
748753Sgblack@eecs.umich.edu    Source('vtophys.cc')
754997Sgblack@eecs.umich.edu
769384SAndreas.Sandberg@arm.com    SimObject('X86ISA.py')
778745Sgblack@eecs.umich.edu    SimObject('X86LocalApic.py')
786365Sgblack@eecs.umich.edu    SimObject('X86NativeTrace.py')
798771Sgblack@eecs.umich.edu    SimObject('X86System.py')
808740Sgblack@eecs.umich.edu    SimObject('X86TLB.py')
816365Sgblack@eecs.umich.edu
828740Sgblack@eecs.umich.edu    DebugFlag('Faults', "Trace all faults/exceptions/traps")
838745Sgblack@eecs.umich.edu    DebugFlag('LocalApic', "Local APIC debugging")
848752Sgblack@eecs.umich.edu    DebugFlag('PageTableWalker', \
858752Sgblack@eecs.umich.edu              "Page table walker state machine debugging")
869023Sgblack@eecs.umich.edu    DebugFlag('Decoder', "Decoder debug output")
878335Snate@binkert.org    DebugFlag('X86', "Generic X86 ISA debugging")
884120Sgblack@eecs.umich.edu
895069Sgblack@eecs.umich.edu    python_files = (
905081Sgblack@eecs.umich.edu        '__init__.py',
915081Sgblack@eecs.umich.edu        'general_purpose/__init__.py',
925081Sgblack@eecs.umich.edu        'general_purpose/arithmetic/__init__.py',
935081Sgblack@eecs.umich.edu        'general_purpose/arithmetic/add_and_subtract.py',
945081Sgblack@eecs.umich.edu        'general_purpose/arithmetic/increment_and_decrement.py',
955081Sgblack@eecs.umich.edu        'general_purpose/arithmetic/multiply_and_divide.py',
965081Sgblack@eecs.umich.edu        'general_purpose/cache_and_memory_management.py',
975081Sgblack@eecs.umich.edu        'general_purpose/compare_and_test/__init__.py',
985081Sgblack@eecs.umich.edu        'general_purpose/compare_and_test/bit_scan.py',
995081Sgblack@eecs.umich.edu        'general_purpose/compare_and_test/bit_test.py',
1005081Sgblack@eecs.umich.edu        'general_purpose/compare_and_test/bounds.py',
1015081Sgblack@eecs.umich.edu        'general_purpose/compare_and_test/compare.py',
1025081Sgblack@eecs.umich.edu        'general_purpose/compare_and_test/set_byte_on_condition.py',
1035081Sgblack@eecs.umich.edu        'general_purpose/compare_and_test/test.py',
1045081Sgblack@eecs.umich.edu        'general_purpose/control_transfer/__init__.py',
1055081Sgblack@eecs.umich.edu        'general_purpose/control_transfer/call.py',
1065081Sgblack@eecs.umich.edu        'general_purpose/control_transfer/conditional_jump.py',
1075081Sgblack@eecs.umich.edu        'general_purpose/control_transfer/interrupts_and_exceptions.py',
1085081Sgblack@eecs.umich.edu        'general_purpose/control_transfer/jump.py',
1095081Sgblack@eecs.umich.edu        'general_purpose/control_transfer/loop.py',
1105081Sgblack@eecs.umich.edu        'general_purpose/control_transfer/xreturn.py',
1115081Sgblack@eecs.umich.edu        'general_purpose/data_conversion/__init__.py',
1125081Sgblack@eecs.umich.edu        'general_purpose/data_conversion/ascii_adjust.py',
1135081Sgblack@eecs.umich.edu        'general_purpose/data_conversion/bcd_adjust.py',
1145081Sgblack@eecs.umich.edu        'general_purpose/data_conversion/endian_conversion.py',
1155081Sgblack@eecs.umich.edu        'general_purpose/data_conversion/extract_sign_mask.py',
1165081Sgblack@eecs.umich.edu        'general_purpose/data_conversion/sign_extension.py',
1175081Sgblack@eecs.umich.edu        'general_purpose/data_conversion/translate.py',
1185081Sgblack@eecs.umich.edu        'general_purpose/data_transfer/__init__.py',
1195081Sgblack@eecs.umich.edu        'general_purpose/data_transfer/conditional_move.py',
1205081Sgblack@eecs.umich.edu        'general_purpose/data_transfer/move.py',
1215081Sgblack@eecs.umich.edu        'general_purpose/data_transfer/stack_operations.py',
1225081Sgblack@eecs.umich.edu        'general_purpose/data_transfer/xchg.py',
1235081Sgblack@eecs.umich.edu        'general_purpose/flags/__init__.py',
1245081Sgblack@eecs.umich.edu        'general_purpose/flags/load_and_store.py',
1255081Sgblack@eecs.umich.edu        'general_purpose/flags/push_and_pop.py',
1265081Sgblack@eecs.umich.edu        'general_purpose/flags/set_and_clear.py',
1275081Sgblack@eecs.umich.edu        'general_purpose/input_output/__init__.py',
1285081Sgblack@eecs.umich.edu        'general_purpose/input_output/general_io.py',
1295081Sgblack@eecs.umich.edu        'general_purpose/input_output/string_io.py',
1305081Sgblack@eecs.umich.edu        'general_purpose/load_effective_address.py',
1315081Sgblack@eecs.umich.edu        'general_purpose/load_segment_registers.py',
1325081Sgblack@eecs.umich.edu        'general_purpose/logical.py',
1335081Sgblack@eecs.umich.edu        'general_purpose/no_operation.py',
1345081Sgblack@eecs.umich.edu        'general_purpose/rotate_and_shift/__init__.py',
1355081Sgblack@eecs.umich.edu        'general_purpose/rotate_and_shift/rotate.py',
1365081Sgblack@eecs.umich.edu        'general_purpose/rotate_and_shift/shift.py',
1375081Sgblack@eecs.umich.edu        'general_purpose/semaphores.py',
1385081Sgblack@eecs.umich.edu        'general_purpose/string/__init__.py',
1395081Sgblack@eecs.umich.edu        'general_purpose/string/compare_strings.py',
1405081Sgblack@eecs.umich.edu        'general_purpose/string/load_string.py',
1415081Sgblack@eecs.umich.edu        'general_purpose/string/move_string.py',
1425081Sgblack@eecs.umich.edu        'general_purpose/string/scan_string.py',
1435081Sgblack@eecs.umich.edu        'general_purpose/string/store_string.py',
1445081Sgblack@eecs.umich.edu        'general_purpose/system_calls.py',
1455680Sgblack@eecs.umich.edu        'romutil.py',
1465081Sgblack@eecs.umich.edu        'system/__init__.py',
1475933Sgblack@eecs.umich.edu        'system/control_registers.py',
1485173Sgblack@eecs.umich.edu        'system/halt.py',
1495359Sgblack@eecs.umich.edu        'system/invlpg.py',
1505081Sgblack@eecs.umich.edu        'system/undefined_operation.py',
1515149Sgblack@eecs.umich.edu        'system/msrs.py',
1525298Sgblack@eecs.umich.edu        'system/segmentation.py',
1535081Sgblack@eecs.umich.edu        'simd128/__init__.py',
1545081Sgblack@eecs.umich.edu        'simd128/integer/__init__.py',
1555081Sgblack@eecs.umich.edu        'simd128/integer/data_transfer/__init__.py',
1565081Sgblack@eecs.umich.edu        'simd128/integer/data_transfer/move.py',
1575081Sgblack@eecs.umich.edu        'simd128/integer/data_transfer/move_non_temporal.py',
1585081Sgblack@eecs.umich.edu        'simd128/integer/data_transfer/move_mask.py',
1595081Sgblack@eecs.umich.edu        'simd128/integer/data_conversion/__init__.py',
1605081Sgblack@eecs.umich.edu        'simd128/integer/data_conversion/convert_mmx_integer_to_floating_point.py',
1615081Sgblack@eecs.umich.edu        'simd128/integer/data_conversion/convert_integer_to_floating_point.py',
1625081Sgblack@eecs.umich.edu        'simd128/integer/data_conversion/convert_gpr_integer_to_floating_point.py',
1635081Sgblack@eecs.umich.edu        'simd128/integer/data_reordering/__init__.py',
1645081Sgblack@eecs.umich.edu        'simd128/integer/data_reordering/unpack_and_interleave.py',
1655081Sgblack@eecs.umich.edu        'simd128/integer/data_reordering/pack_with_saturation.py',
1665081Sgblack@eecs.umich.edu        'simd128/integer/data_reordering/extract_and_insert.py',
1675081Sgblack@eecs.umich.edu        'simd128/integer/data_reordering/shuffle.py',
1685081Sgblack@eecs.umich.edu        'simd128/integer/arithmetic/__init__.py',
1695081Sgblack@eecs.umich.edu        'simd128/integer/arithmetic/subtraction.py',
1705081Sgblack@eecs.umich.edu        'simd128/integer/arithmetic/addition.py',
1715081Sgblack@eecs.umich.edu        'simd128/integer/arithmetic/multiplication.py',
1725081Sgblack@eecs.umich.edu        'simd128/integer/arithmetic/multiply_add.py',
1735081Sgblack@eecs.umich.edu        'simd128/integer/arithmetic/average.py',
1745081Sgblack@eecs.umich.edu        'simd128/integer/arithmetic/sum_of_absolute_differences.py',
1755081Sgblack@eecs.umich.edu        'simd128/integer/shift/__init__.py',
1765081Sgblack@eecs.umich.edu        'simd128/integer/shift/right_arithmetic_shift.py',
1775081Sgblack@eecs.umich.edu        'simd128/integer/shift/left_logical_shift.py',
1785081Sgblack@eecs.umich.edu        'simd128/integer/shift/right_logical_shift.py',
1795081Sgblack@eecs.umich.edu        'simd128/integer/compare/__init__.py',
1805081Sgblack@eecs.umich.edu        'simd128/integer/compare/compare_and_write_mask.py',
1815081Sgblack@eecs.umich.edu        'simd128/integer/compare/compare_and_write_minimum_or_maximum.py',
1825081Sgblack@eecs.umich.edu        'simd128/integer/logical/__init__.py',
1835081Sgblack@eecs.umich.edu        'simd128/integer/logical/pand.py',
1845081Sgblack@eecs.umich.edu        'simd128/integer/logical/por.py',
1855081Sgblack@eecs.umich.edu        'simd128/integer/logical/exclusive_or.py',
1865081Sgblack@eecs.umich.edu        'simd128/integer/save_and_restore_state/__init__.py',
1875081Sgblack@eecs.umich.edu        'simd128/integer/save_and_restore_state/save_and_restore_state.py',
1885081Sgblack@eecs.umich.edu        'simd128/integer/save_and_restore_state/save_and_restore_control_and_status.py',
1895081Sgblack@eecs.umich.edu        'simd128/floating_point/__init__.py',
1905081Sgblack@eecs.umich.edu        'simd128/floating_point/data_transfer/__init__.py',
1915081Sgblack@eecs.umich.edu        'simd128/floating_point/data_transfer/move_mask.py',
1925081Sgblack@eecs.umich.edu        'simd128/floating_point/data_transfer/move.py',
1935081Sgblack@eecs.umich.edu        'simd128/floating_point/data_transfer/move_with_duplication.py',
1945081Sgblack@eecs.umich.edu        'simd128/floating_point/data_transfer/move_non_temporal.py',
1955081Sgblack@eecs.umich.edu        'simd128/floating_point/data_conversion/__init__.py',
1965081Sgblack@eecs.umich.edu        'simd128/floating_point/data_conversion/convert_floating_point_to_floating_point.py',
1975081Sgblack@eecs.umich.edu        'simd128/floating_point/data_conversion/convert_floating_point_to_xmm_integer.py',
1985081Sgblack@eecs.umich.edu        'simd128/floating_point/data_conversion/convert_floating_point_to_mmx_integer.py',
1995081Sgblack@eecs.umich.edu        'simd128/floating_point/data_conversion/convert_floating_point_to_gpr_integer.py',
2005081Sgblack@eecs.umich.edu        'simd128/floating_point/data_reordering/__init__.py',
2015081Sgblack@eecs.umich.edu        'simd128/floating_point/data_reordering/unpack_and_interleave.py',
2025081Sgblack@eecs.umich.edu        'simd128/floating_point/data_reordering/shuffle.py',
2035081Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/__init__.py',
2045081Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/subtraction.py',
2055081Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/addition.py',
2065081Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/horizontal_subtraction.py',
2075081Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/horizontal_addition.py',
2085081Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/square_root.py',
2095081Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/simultaneous_addition_and_subtraction.py',
2105081Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/multiplication.py',
2115081Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/division.py',
2125081Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/reciprocal_square_root.py',
2135081Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/reciprocal_estimation.py',
2145081Sgblack@eecs.umich.edu        'simd128/floating_point/compare/__init__.py',
2155081Sgblack@eecs.umich.edu        'simd128/floating_point/compare/compare_and_write_mask.py',
2165081Sgblack@eecs.umich.edu        'simd128/floating_point/compare/compare_and_write_rflags.py',
2175081Sgblack@eecs.umich.edu        'simd128/floating_point/compare/compare_and_write_minimum_or_maximum.py',
2185081Sgblack@eecs.umich.edu        'simd128/floating_point/logical/__init__.py',
2195081Sgblack@eecs.umich.edu        'simd128/floating_point/logical/andp.py',
2205081Sgblack@eecs.umich.edu        'simd128/floating_point/logical/orp.py',
2215081Sgblack@eecs.umich.edu        'simd128/floating_point/logical/exclusive_or.py',
2225081Sgblack@eecs.umich.edu        'simd64/__init__.py',
2235081Sgblack@eecs.umich.edu        'simd64/integer/__init__.py',
2245081Sgblack@eecs.umich.edu        'simd64/integer/data_transfer/__init__.py',
2255081Sgblack@eecs.umich.edu        'simd64/integer/data_transfer/move_mask.py',
2265081Sgblack@eecs.umich.edu        'simd64/integer/data_transfer/move.py',
2275081Sgblack@eecs.umich.edu        'simd64/integer/data_transfer/move_non_temporal.py',
2285081Sgblack@eecs.umich.edu        'simd64/integer/exit_media_state.py',
2295081Sgblack@eecs.umich.edu        'simd64/integer/data_reordering/__init__.py',
2305081Sgblack@eecs.umich.edu        'simd64/integer/data_reordering/unpack_and_interleave.py',
2315081Sgblack@eecs.umich.edu        'simd64/integer/data_reordering/pack_with_saturation.py',
2325081Sgblack@eecs.umich.edu        'simd64/integer/data_reordering/extract_and_insert.py',
2335081Sgblack@eecs.umich.edu        'simd64/integer/data_reordering/shuffle_and_swap.py',
2345081Sgblack@eecs.umich.edu        'simd64/integer/data_conversion.py',
2355081Sgblack@eecs.umich.edu        'simd64/integer/arithmetic/__init__.py',
2365081Sgblack@eecs.umich.edu        'simd64/integer/arithmetic/subtraction.py',
2375081Sgblack@eecs.umich.edu        'simd64/integer/arithmetic/addition.py',
2385081Sgblack@eecs.umich.edu        'simd64/integer/arithmetic/multiplication.py',
2395081Sgblack@eecs.umich.edu        'simd64/integer/arithmetic/multiply_add.py',
2405081Sgblack@eecs.umich.edu        'simd64/integer/arithmetic/average.py',
2415081Sgblack@eecs.umich.edu        'simd64/integer/arithmetic/sum_of_absolute_differences.py',
2425081Sgblack@eecs.umich.edu        'simd64/integer/shift/__init__.py',
2435081Sgblack@eecs.umich.edu        'simd64/integer/shift/right_arithmetic_shift.py',
2445081Sgblack@eecs.umich.edu        'simd64/integer/shift/left_logical_shift.py',
2455081Sgblack@eecs.umich.edu        'simd64/integer/shift/right_logical_shift.py',
2465081Sgblack@eecs.umich.edu        'simd64/integer/compare/__init__.py',
2475081Sgblack@eecs.umich.edu        'simd64/integer/compare/compare_and_write_mask.py',
2485081Sgblack@eecs.umich.edu        'simd64/integer/compare/compare_and_write_minimum_or_maximum.py',
2495081Sgblack@eecs.umich.edu        'simd64/integer/logical/__init__.py',
2505081Sgblack@eecs.umich.edu        'simd64/integer/logical/pand.py',
2515081Sgblack@eecs.umich.edu        'simd64/integer/logical/por.py',
2525081Sgblack@eecs.umich.edu        'simd64/integer/logical/exclusive_or.py',
2535081Sgblack@eecs.umich.edu        'simd64/integer/save_and_restore_state.py',
2545081Sgblack@eecs.umich.edu        'simd64/floating_point/__init__.py',
2555081Sgblack@eecs.umich.edu        'simd64/floating_point/arithmetic/__init__.py',
2565081Sgblack@eecs.umich.edu        'simd64/floating_point/arithmetic/subtraction.py',
2575081Sgblack@eecs.umich.edu        'simd64/floating_point/arithmetic/addition.py',
2585081Sgblack@eecs.umich.edu        'simd64/floating_point/arithmetic/reciprocal_estimation.py',
2595081Sgblack@eecs.umich.edu        'simd64/floating_point/arithmetic/multiplication.py',
2605081Sgblack@eecs.umich.edu        'simd64/floating_point/arithmetic/accumulation.py',
2615081Sgblack@eecs.umich.edu        'simd64/floating_point/arithmetic/reciprocal_square_root.py',
2625081Sgblack@eecs.umich.edu        'simd64/floating_point/data_conversion.py',
2635081Sgblack@eecs.umich.edu        'simd64/floating_point/compare/__init__.py',
2645081Sgblack@eecs.umich.edu        'simd64/floating_point/compare/compare_and_write_mask.py',
2655081Sgblack@eecs.umich.edu        'simd64/floating_point/compare/compare_and_write_minimum_or_maximum.py',
2665081Sgblack@eecs.umich.edu        'x87/__init__.py',
2675081Sgblack@eecs.umich.edu        'x87/data_transfer_and_conversion/__init__.py',
2685081Sgblack@eecs.umich.edu        'x87/data_transfer_and_conversion/convert_and_load_or_store_integer.py',
2695081Sgblack@eecs.umich.edu        'x87/data_transfer_and_conversion/load_or_store_floating_point.py',
2705081Sgblack@eecs.umich.edu        'x87/data_transfer_and_conversion/exchange.py',
2715081Sgblack@eecs.umich.edu        'x87/data_transfer_and_conversion/convert_and_load_or_store_bcd.py',
2725081Sgblack@eecs.umich.edu        'x87/data_transfer_and_conversion/conditional_move.py',
2735081Sgblack@eecs.umich.edu        'x87/data_transfer_and_conversion/extract.py',
2745081Sgblack@eecs.umich.edu        'x87/load_constants/__init__.py',
2755081Sgblack@eecs.umich.edu        'x87/load_constants/load_0_1_or_pi.py',
2765081Sgblack@eecs.umich.edu        'x87/load_constants/load_logarithm.py',
2775081Sgblack@eecs.umich.edu        'x87/arithmetic/__init__.py',
2785081Sgblack@eecs.umich.edu        'x87/arithmetic/subtraction.py',
2795081Sgblack@eecs.umich.edu        'x87/arithmetic/addition.py',
2805081Sgblack@eecs.umich.edu        'x87/arithmetic/partial_remainder.py',
2815081Sgblack@eecs.umich.edu        'x87/arithmetic/multiplication.py',
2825081Sgblack@eecs.umich.edu        'x87/arithmetic/division.py',
2835081Sgblack@eecs.umich.edu        'x87/arithmetic/change_sign.py',
2845081Sgblack@eecs.umich.edu        'x87/arithmetic/round.py',
2855081Sgblack@eecs.umich.edu        'x87/arithmetic/square_root.py',
2865081Sgblack@eecs.umich.edu        'x87/transcendental_functions/__init__.py',
2875081Sgblack@eecs.umich.edu        'x87/transcendental_functions/trigonometric_functions.py',
2885081Sgblack@eecs.umich.edu        'x87/transcendental_functions/logarithmic_functions.py',
2895081Sgblack@eecs.umich.edu        'x87/compare_and_test/__init__.py',
2905081Sgblack@eecs.umich.edu        'x87/compare_and_test/classify.py',
2915081Sgblack@eecs.umich.edu        'x87/compare_and_test/test.py',
2925081Sgblack@eecs.umich.edu        'x87/compare_and_test/floating_point_ordered_compare.py',
2935081Sgblack@eecs.umich.edu        'x87/compare_and_test/floating_point_unordered_compare.py',
2945081Sgblack@eecs.umich.edu        'x87/compare_and_test/integer_compare.py',
2955081Sgblack@eecs.umich.edu        'x87/stack_management/__init__.py',
2965081Sgblack@eecs.umich.edu        'x87/stack_management/stack_control.py',
2975081Sgblack@eecs.umich.edu        'x87/stack_management/clear_state.py',
2985081Sgblack@eecs.umich.edu        'x87/control/__init__.py',
2995081Sgblack@eecs.umich.edu        'x87/control/clear_exceptions.py',
3005081Sgblack@eecs.umich.edu        'x87/control/initialize.py',
3015081Sgblack@eecs.umich.edu        'x87/control/wait_for_exceptions.py',
3025081Sgblack@eecs.umich.edu        'x87/control/save_x87_status_word.py',
3035081Sgblack@eecs.umich.edu        'x87/control/save_and_restore_x87_control_word.py',
3045081Sgblack@eecs.umich.edu        'x87/control/save_and_restore_x87_environment.py',
3055081Sgblack@eecs.umich.edu        'x87/no_operation.py'
3065081Sgblack@eecs.umich.edu        )
3075081Sgblack@eecs.umich.edu
3085069Sgblack@eecs.umich.edu
3094202Sbinkertn@umich.edu    # Add in files generated by the ISA description.
3104202Sbinkertn@umich.edu    isa_desc_files = env.ISADesc('isa/main.isa')
3114202Sbinkertn@umich.edu    for f in isa_desc_files:
3125069Sgblack@eecs.umich.edu        # Add in python file dependencies that won't be caught otherwise
3135069Sgblack@eecs.umich.edu        for pyfile in python_files:
3145069Sgblack@eecs.umich.edu            env.Depends(f, "isa/insts/%s" % pyfile)
3155069Sgblack@eecs.umich.edu        # Only non-header files need to be compiled.
3164202Sbinkertn@umich.edu        if not f.path.endswith('.hh'):
3174202Sbinkertn@umich.edu            Source(f)
318