SConscript revision 5173
14561Sgblack@eecs.umich.edu# -*- mode:python -*-
24561Sgblack@eecs.umich.edu
34561Sgblack@eecs.umich.edu# Copyright (c) 2005-2006 The Regents of The University of Michigan
44561Sgblack@eecs.umich.edu# All rights reserved.
54561Sgblack@eecs.umich.edu#
64561Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
74561Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are
84561Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright
94561Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
104561Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
114561Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
124561Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution;
134561Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
144561Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
154561Sgblack@eecs.umich.edu# this software without specific prior written permission.
164561Sgblack@eecs.umich.edu#
174561Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
184561Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
194561Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
204561Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
214561Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
224561Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
234561Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
244561Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
254561Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
264561Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
274561Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
284561Sgblack@eecs.umich.edu#
294561Sgblack@eecs.umich.edu# Authors: Gabe Black
304561Sgblack@eecs.umich.edu
314561Sgblack@eecs.umich.edu# Copyright (c) 2007 The Hewlett-Packard Development Company
324561Sgblack@eecs.umich.edu# All rights reserved.
334561Sgblack@eecs.umich.edu#
344561Sgblack@eecs.umich.edu# Redistribution and use of this software in source and binary forms,
354561Sgblack@eecs.umich.edu# with or without modification, are permitted provided that the
364561Sgblack@eecs.umich.edu# following conditions are met:
374561Sgblack@eecs.umich.edu#
384561Sgblack@eecs.umich.edu# The software must be used only for Non-Commercial Use which means any
394561Sgblack@eecs.umich.edu# use which is NOT directed to receiving any direct monetary
404561Sgblack@eecs.umich.edu# compensation for, or commercial advantage from such use.  Illustrative
414561Sgblack@eecs.umich.edu# examples of non-commercial use are academic research, personal study,
424561Sgblack@eecs.umich.edu# teaching, education and corporate research & development.
434561Sgblack@eecs.umich.edu# Illustrative examples of commercial use are distributing products for
444561Sgblack@eecs.umich.edu# commercial advantage and providing services using the software for
454561Sgblack@eecs.umich.edu# commercial advantage.
464561Sgblack@eecs.umich.edu#
474561Sgblack@eecs.umich.edu# If you wish to use this software or functionality therein that may be
484561Sgblack@eecs.umich.edu# covered by patents for commercial use, please contact:
494561Sgblack@eecs.umich.edu#     Director of Intellectual Property Licensing
504561Sgblack@eecs.umich.edu#     Office of Strategy and Technology
514561Sgblack@eecs.umich.edu#     Hewlett-Packard Company
524561Sgblack@eecs.umich.edu#     1501 Page Mill Road
534561Sgblack@eecs.umich.edu#     Palo Alto, California  94304
544561Sgblack@eecs.umich.edu#
554561Sgblack@eecs.umich.edu# Redistributions of source code must retain the above copyright notice,
564561Sgblack@eecs.umich.edu# this list of conditions and the following disclaimer.  Redistributions
574561Sgblack@eecs.umich.edu# in binary form must reproduce the above copyright notice, this list of
584561Sgblack@eecs.umich.edu# conditions and the following disclaimer in the documentation and/or
594561Sgblack@eecs.umich.edu# other materials provided with the distribution.  Neither the name of
604561Sgblack@eecs.umich.edu# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its
614561Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
624601Sgblack@eecs.umich.edu# this software without specific prior written permission.  No right of
634601Sgblack@eecs.umich.edu# sublicense is granted herewith.  Derivatives of the software and
644601Sgblack@eecs.umich.edu# output created using the software may be prepared, but only for
654601Sgblack@eecs.umich.edu# Non-Commercial Uses.  Derivatives of the software may be shared with
664601Sgblack@eecs.umich.edu# others provided: (i) the others agree to abide by the list of
674601Sgblack@eecs.umich.edu# conditions herein which includes the Non-Commercial Use restrictions;
684601Sgblack@eecs.umich.edu# and (ii) such Derivatives of the software include the above copyright
694601Sgblack@eecs.umich.edu# notice to acknowledge the contribution from this software where
704601Sgblack@eecs.umich.edu# applicable, this list of conditions and the disclaimer below.
714601Sgblack@eecs.umich.edu#
724601Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
734601Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
744601Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
754601Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
764601Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
774601Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
784601Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
794601Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
804601Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
814601Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
824601Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
834601Sgblack@eecs.umich.edu#
844601Sgblack@eecs.umich.edu# Authors: Gabe Black
854601Sgblack@eecs.umich.edu
864601Sgblack@eecs.umich.eduImport('*')
874601Sgblack@eecs.umich.edu
884601Sgblack@eecs.umich.eduif env['TARGET_ISA'] == 'x86':
894601Sgblack@eecs.umich.edu    Source('emulenv.cc')
904601Sgblack@eecs.umich.edu    Source('floatregfile.cc')
914601Sgblack@eecs.umich.edu    Source('faults.cc')
924601Sgblack@eecs.umich.edu    Source('insts/microfpop.cc')
934601Sgblack@eecs.umich.edu    Source('insts/microldstop.cc')
944601Sgblack@eecs.umich.edu    Source('insts/microop.cc')
954601Sgblack@eecs.umich.edu    Source('insts/microregop.cc')
964601Sgblack@eecs.umich.edu    Source('insts/static_inst.cc')
974601Sgblack@eecs.umich.edu    Source('intregfile.cc')
984601Sgblack@eecs.umich.edu    Source('miscregfile.cc')
994601Sgblack@eecs.umich.edu    Source('pagetable.cc')
1004601Sgblack@eecs.umich.edu    Source('predecoder.cc')
1014601Sgblack@eecs.umich.edu    Source('predecoder_tables.cc')
1024601Sgblack@eecs.umich.edu    Source('regfile.cc')
1034601Sgblack@eecs.umich.edu    Source('remote_gdb.cc')
1044601Sgblack@eecs.umich.edu    Source('tlb.cc')
1054601Sgblack@eecs.umich.edu    Source('utility.cc')
1064601Sgblack@eecs.umich.edu
1074601Sgblack@eecs.umich.edu    SimObject('X86TLB.py')
1084601Sgblack@eecs.umich.edu
1094601Sgblack@eecs.umich.edu    if env['FULL_SYSTEM']:
1104601Sgblack@eecs.umich.edu        SimObject('X86System.py')
1114601Sgblack@eecs.umich.edu
1124601Sgblack@eecs.umich.edu        # Full-system sources
1134601Sgblack@eecs.umich.edu        Source('system.cc')
1144587Sgblack@eecs.umich.edu        Source('stacktrace.cc')
1154587Sgblack@eecs.umich.edu        Source('vtophys.cc')
1164587Sgblack@eecs.umich.edu    else:
1174587Sgblack@eecs.umich.edu        Source('process.cc')
1184587Sgblack@eecs.umich.edu
1194587Sgblack@eecs.umich.edu        Source('linux/linux.cc')
1204587Sgblack@eecs.umich.edu        Source('linux/process.cc')
1214587Sgblack@eecs.umich.edu        Source('linux/syscalls.cc')
1224587Sgblack@eecs.umich.edu
1234587Sgblack@eecs.umich.edu    python_files = (
1244587Sgblack@eecs.umich.edu        '__init__.py',
1254587Sgblack@eecs.umich.edu        'general_purpose/__init__.py',
1265002Sgblack@eecs.umich.edu        'general_purpose/arithmetic/__init__.py',
1274720Sgblack@eecs.umich.edu        'general_purpose/arithmetic/add_and_subtract.py',
1284587Sgblack@eecs.umich.edu        'general_purpose/arithmetic/increment_and_decrement.py',
1294587Sgblack@eecs.umich.edu        'general_purpose/arithmetic/multiply_and_divide.py',
1304587Sgblack@eecs.umich.edu        'general_purpose/cache_and_memory_management.py',
1314587Sgblack@eecs.umich.edu        'general_purpose/compare_and_test/__init__.py',
1324587Sgblack@eecs.umich.edu        'general_purpose/compare_and_test/bit_scan.py',
1334587Sgblack@eecs.umich.edu        'general_purpose/compare_and_test/bit_test.py',
1344587Sgblack@eecs.umich.edu        'general_purpose/compare_and_test/bounds.py',
1354587Sgblack@eecs.umich.edu        'general_purpose/compare_and_test/compare.py',
1364587Sgblack@eecs.umich.edu        'general_purpose/compare_and_test/set_byte_on_condition.py',
1374587Sgblack@eecs.umich.edu        'general_purpose/compare_and_test/test.py',
1384587Sgblack@eecs.umich.edu        'general_purpose/control_transfer/__init__.py',
1394587Sgblack@eecs.umich.edu        'general_purpose/control_transfer/call.py',
1404587Sgblack@eecs.umich.edu        'general_purpose/control_transfer/conditional_jump.py',
1414587Sgblack@eecs.umich.edu        'general_purpose/control_transfer/interrupts_and_exceptions.py',
1424587Sgblack@eecs.umich.edu        'general_purpose/control_transfer/jump.py',
1434587Sgblack@eecs.umich.edu        'general_purpose/control_transfer/loop.py',
1444587Sgblack@eecs.umich.edu        'general_purpose/control_transfer/xreturn.py',
1454587Sgblack@eecs.umich.edu        'general_purpose/data_conversion/__init__.py',
1464587Sgblack@eecs.umich.edu        'general_purpose/data_conversion/ascii_adjust.py',
1474587Sgblack@eecs.umich.edu        'general_purpose/data_conversion/bcd_adjust.py',
1484587Sgblack@eecs.umich.edu        'general_purpose/data_conversion/endian_conversion.py',
1494587Sgblack@eecs.umich.edu        'general_purpose/data_conversion/extract_sign_mask.py',
1504587Sgblack@eecs.umich.edu        'general_purpose/data_conversion/sign_extension.py',
1514587Sgblack@eecs.umich.edu        'general_purpose/data_conversion/translate.py',
1524587Sgblack@eecs.umich.edu        'general_purpose/data_transfer/__init__.py',
1535002Sgblack@eecs.umich.edu        'general_purpose/data_transfer/conditional_move.py',
1544587Sgblack@eecs.umich.edu        'general_purpose/data_transfer/move.py',
1554587Sgblack@eecs.umich.edu        'general_purpose/data_transfer/stack_operations.py',
1564587Sgblack@eecs.umich.edu        'general_purpose/data_transfer/xchg.py',
1574587Sgblack@eecs.umich.edu        'general_purpose/flags/__init__.py',
1584587Sgblack@eecs.umich.edu        'general_purpose/flags/load_and_store.py',
1594587Sgblack@eecs.umich.edu        'general_purpose/flags/push_and_pop.py',
1604587Sgblack@eecs.umich.edu        'general_purpose/flags/set_and_clear.py',
1614587Sgblack@eecs.umich.edu        'general_purpose/input_output/__init__.py',
1624587Sgblack@eecs.umich.edu        'general_purpose/input_output/general_io.py',
1634587Sgblack@eecs.umich.edu        'general_purpose/input_output/string_io.py',
1644587Sgblack@eecs.umich.edu        'general_purpose/load_effective_address.py',
1654587Sgblack@eecs.umich.edu        'general_purpose/load_segment_registers.py',
1664587Sgblack@eecs.umich.edu        'general_purpose/logical.py',
1674587Sgblack@eecs.umich.edu        'general_purpose/no_operation.py',
1684587Sgblack@eecs.umich.edu        'general_purpose/processor_information.py',
1695002Sgblack@eecs.umich.edu        'general_purpose/rotate_and_shift/__init__.py',
1705002Sgblack@eecs.umich.edu        'general_purpose/rotate_and_shift/rotate.py',
1714587Sgblack@eecs.umich.edu        'general_purpose/rotate_and_shift/shift.py',
1724587Sgblack@eecs.umich.edu        'general_purpose/semaphores.py',
1734587Sgblack@eecs.umich.edu        'general_purpose/string/__init__.py',
1744587Sgblack@eecs.umich.edu        'general_purpose/string/compare_strings.py',
1754587Sgblack@eecs.umich.edu        'general_purpose/string/load_string.py',
1764587Sgblack@eecs.umich.edu        'general_purpose/string/move_string.py',
1774587Sgblack@eecs.umich.edu        'general_purpose/string/scan_string.py',
1784587Sgblack@eecs.umich.edu        'general_purpose/string/store_string.py',
1794587Sgblack@eecs.umich.edu        'general_purpose/system_calls.py',
1804587Sgblack@eecs.umich.edu        'system/__init__.py',
1814587Sgblack@eecs.umich.edu        'system/halt.py',
1824587Sgblack@eecs.umich.edu        'system/undefined_operation.py',
1834587Sgblack@eecs.umich.edu        'system/msrs.py',
1844587Sgblack@eecs.umich.edu        'simd128/__init__.py',
1854587Sgblack@eecs.umich.edu        'simd128/integer/__init__.py',
1864587Sgblack@eecs.umich.edu        'simd128/integer/data_transfer/__init__.py',
1874587Sgblack@eecs.umich.edu        'simd128/integer/data_transfer/move.py',
1884587Sgblack@eecs.umich.edu        'simd128/integer/data_transfer/move_non_temporal.py',
1894587Sgblack@eecs.umich.edu        'simd128/integer/data_transfer/move_mask.py',
1904587Sgblack@eecs.umich.edu        'simd128/integer/data_conversion/__init__.py',
1914587Sgblack@eecs.umich.edu        'simd128/integer/data_conversion/convert_mmx_integer_to_floating_point.py',
1924587Sgblack@eecs.umich.edu        'simd128/integer/data_conversion/convert_integer_to_floating_point.py',
1934587Sgblack@eecs.umich.edu        'simd128/integer/data_conversion/convert_gpr_integer_to_floating_point.py',
1944587Sgblack@eecs.umich.edu        'simd128/integer/data_reordering/__init__.py',
1954587Sgblack@eecs.umich.edu        'simd128/integer/data_reordering/unpack_and_interleave.py',
1964587Sgblack@eecs.umich.edu        'simd128/integer/data_reordering/pack_with_saturation.py',
1974587Sgblack@eecs.umich.edu        'simd128/integer/data_reordering/extract_and_insert.py',
1984587Sgblack@eecs.umich.edu        'simd128/integer/data_reordering/shuffle.py',
1994587Sgblack@eecs.umich.edu        'simd128/integer/arithmetic/__init__.py',
2005002Sgblack@eecs.umich.edu        'simd128/integer/arithmetic/subtraction.py',
2014767Sgblack@eecs.umich.edu        'simd128/integer/arithmetic/addition.py',
2024720Sgblack@eecs.umich.edu        'simd128/integer/arithmetic/multiplication.py',
2034767Sgblack@eecs.umich.edu        'simd128/integer/arithmetic/multiply_add.py',
2044720Sgblack@eecs.umich.edu        'simd128/integer/arithmetic/average.py',
2054587Sgblack@eecs.umich.edu        'simd128/integer/arithmetic/sum_of_absolute_differences.py',
2064587Sgblack@eecs.umich.edu        'simd128/integer/shift/__init__.py',
2074587Sgblack@eecs.umich.edu        'simd128/integer/shift/right_arithmetic_shift.py',
2084587Sgblack@eecs.umich.edu        'simd128/integer/shift/left_logical_shift.py',
2094587Sgblack@eecs.umich.edu        'simd128/integer/shift/right_logical_shift.py',
2104587Sgblack@eecs.umich.edu        'simd128/integer/compare/__init__.py',
2114587Sgblack@eecs.umich.edu        'simd128/integer/compare/compare_and_write_mask.py',
2124587Sgblack@eecs.umich.edu        'simd128/integer/compare/compare_and_write_minimum_or_maximum.py',
2134587Sgblack@eecs.umich.edu        'simd128/integer/logical/__init__.py',
2144587Sgblack@eecs.umich.edu        'simd128/integer/logical/pand.py',
2154587Sgblack@eecs.umich.edu        'simd128/integer/logical/por.py',
2164587Sgblack@eecs.umich.edu        'simd128/integer/logical/exclusive_or.py',
2174587Sgblack@eecs.umich.edu        'simd128/integer/save_and_restore_state/__init__.py',
2184587Sgblack@eecs.umich.edu        'simd128/integer/save_and_restore_state/save_and_restore_state.py',
2194587Sgblack@eecs.umich.edu        'simd128/integer/save_and_restore_state/save_and_restore_control_and_status.py',
2204587Sgblack@eecs.umich.edu        'simd128/floating_point/__init__.py',
2214587Sgblack@eecs.umich.edu        'simd128/floating_point/data_transfer/__init__.py',
2224587Sgblack@eecs.umich.edu        'simd128/floating_point/data_transfer/move_mask.py',
2234587Sgblack@eecs.umich.edu        'simd128/floating_point/data_transfer/move.py',
2244587Sgblack@eecs.umich.edu        'simd128/floating_point/data_transfer/move_with_duplication.py',
2254587Sgblack@eecs.umich.edu        'simd128/floating_point/data_transfer/move_non_temporal.py',
2264587Sgblack@eecs.umich.edu        'simd128/floating_point/data_conversion/__init__.py',
2275002Sgblack@eecs.umich.edu        'simd128/floating_point/data_conversion/convert_floating_point_to_floating_point.py',
2284767Sgblack@eecs.umich.edu        'simd128/floating_point/data_conversion/convert_floating_point_to_xmm_integer.py',
2294720Sgblack@eecs.umich.edu        'simd128/floating_point/data_conversion/convert_floating_point_to_mmx_integer.py',
2304767Sgblack@eecs.umich.edu        'simd128/floating_point/data_conversion/convert_floating_point_to_gpr_integer.py',
2314720Sgblack@eecs.umich.edu        'simd128/floating_point/data_reordering/__init__.py',
2324587Sgblack@eecs.umich.edu        'simd128/floating_point/data_reordering/unpack_and_interleave.py',
2334587Sgblack@eecs.umich.edu        'simd128/floating_point/data_reordering/shuffle.py',
2344587Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/__init__.py',
2354587Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/subtraction.py',
2364587Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/addition.py',
2374587Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/horizontal_subtraction.py',
2384587Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/horizontal_addition.py',
2394587Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/square_root.py',
2404587Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/simultaneous_addition_and_subtraction.py',
2414587Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/multiplication.py',
2424587Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/division.py',
2434587Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/reciprocal_square_root.py',
2444587Sgblack@eecs.umich.edu        'simd128/floating_point/arithmetic/reciprocal_estimation.py',
2454587Sgblack@eecs.umich.edu        'simd128/floating_point/compare/__init__.py',
2464587Sgblack@eecs.umich.edu        'simd128/floating_point/compare/compare_and_write_mask.py',
2474587Sgblack@eecs.umich.edu        'simd128/floating_point/compare/compare_and_write_rflags.py',
2484587Sgblack@eecs.umich.edu        'simd128/floating_point/compare/compare_and_write_minimum_or_maximum.py',
2494587Sgblack@eecs.umich.edu        'simd128/floating_point/logical/__init__.py',
2504587Sgblack@eecs.umich.edu        'simd128/floating_point/logical/andp.py',
2514587Sgblack@eecs.umich.edu        'simd128/floating_point/logical/orp.py',
2524587Sgblack@eecs.umich.edu        'simd128/floating_point/logical/exclusive_or.py',
2534587Sgblack@eecs.umich.edu        'simd64/__init__.py',
2544587Sgblack@eecs.umich.edu        'simd64/integer/__init__.py',
2554587Sgblack@eecs.umich.edu        'simd64/integer/data_transfer/__init__.py',
2564587Sgblack@eecs.umich.edu        'simd64/integer/data_transfer/move_mask.py',
2574587Sgblack@eecs.umich.edu        'simd64/integer/data_transfer/move.py',
2584587Sgblack@eecs.umich.edu        'simd64/integer/data_transfer/move_non_temporal.py',
2594587Sgblack@eecs.umich.edu        'simd64/integer/exit_media_state.py',
2604587Sgblack@eecs.umich.edu        'simd64/integer/data_reordering/__init__.py',
2614561Sgblack@eecs.umich.edu        'simd64/integer/data_reordering/unpack_and_interleave.py',
2624561Sgblack@eecs.umich.edu        'simd64/integer/data_reordering/pack_with_saturation.py',
2634561Sgblack@eecs.umich.edu        'simd64/integer/data_reordering/extract_and_insert.py',
2644561Sgblack@eecs.umich.edu        'simd64/integer/data_reordering/shuffle_and_swap.py',
2654561Sgblack@eecs.umich.edu        'simd64/integer/data_conversion.py',
2664561Sgblack@eecs.umich.edu        'simd64/integer/arithmetic/__init__.py',
2674561Sgblack@eecs.umich.edu        'simd64/integer/arithmetic/subtraction.py',
2684561Sgblack@eecs.umich.edu        'simd64/integer/arithmetic/addition.py',
2694561Sgblack@eecs.umich.edu        'simd64/integer/arithmetic/multiplication.py',
2704561Sgblack@eecs.umich.edu        'simd64/integer/arithmetic/multiply_add.py',
2714561Sgblack@eecs.umich.edu        'simd64/integer/arithmetic/average.py',
2724561Sgblack@eecs.umich.edu        'simd64/integer/arithmetic/sum_of_absolute_differences.py',
2734561Sgblack@eecs.umich.edu        'simd64/integer/shift/__init__.py',
2744561Sgblack@eecs.umich.edu        'simd64/integer/shift/right_arithmetic_shift.py',
2754561Sgblack@eecs.umich.edu        'simd64/integer/shift/left_logical_shift.py',
2764561Sgblack@eecs.umich.edu        'simd64/integer/shift/right_logical_shift.py',
2774561Sgblack@eecs.umich.edu        'simd64/integer/compare/__init__.py',
2784561Sgblack@eecs.umich.edu        'simd64/integer/compare/compare_and_write_mask.py',
2794561Sgblack@eecs.umich.edu        'simd64/integer/compare/compare_and_write_minimum_or_maximum.py',
2804587Sgblack@eecs.umich.edu        'simd64/integer/logical/__init__.py',
2814587Sgblack@eecs.umich.edu        'simd64/integer/logical/pand.py',
2824587Sgblack@eecs.umich.edu        'simd64/integer/logical/por.py',
2834587Sgblack@eecs.umich.edu        'simd64/integer/logical/exclusive_or.py',
2844561Sgblack@eecs.umich.edu        'simd64/integer/save_and_restore_state.py',
2854561Sgblack@eecs.umich.edu        'simd64/floating_point/__init__.py',
2864561Sgblack@eecs.umich.edu        'simd64/floating_point/arithmetic/__init__.py',
2874561Sgblack@eecs.umich.edu        'simd64/floating_point/arithmetic/subtraction.py',
2884561Sgblack@eecs.umich.edu        'simd64/floating_point/arithmetic/addition.py',
2894561Sgblack@eecs.umich.edu        'simd64/floating_point/arithmetic/reciprocal_estimation.py',
2904561Sgblack@eecs.umich.edu        'simd64/floating_point/arithmetic/multiplication.py',
2914561Sgblack@eecs.umich.edu        'simd64/floating_point/arithmetic/accumulation.py',
2924561Sgblack@eecs.umich.edu        'simd64/floating_point/arithmetic/reciprocal_square_root.py',
2934561Sgblack@eecs.umich.edu        'simd64/floating_point/data_conversion.py',
2944561Sgblack@eecs.umich.edu        'simd64/floating_point/compare/__init__.py',
2954561Sgblack@eecs.umich.edu        'simd64/floating_point/compare/compare_and_write_mask.py',
2964561Sgblack@eecs.umich.edu        'simd64/floating_point/compare/compare_and_write_minimum_or_maximum.py',
2974561Sgblack@eecs.umich.edu        'x87/__init__.py',
2984561Sgblack@eecs.umich.edu        'x87/data_transfer_and_conversion/__init__.py',
2994561Sgblack@eecs.umich.edu        'x87/data_transfer_and_conversion/convert_and_load_or_store_integer.py',
3004561Sgblack@eecs.umich.edu        'x87/data_transfer_and_conversion/load_or_store_floating_point.py',
3014587Sgblack@eecs.umich.edu        'x87/data_transfer_and_conversion/exchange.py',
3024587Sgblack@eecs.umich.edu        'x87/data_transfer_and_conversion/convert_and_load_or_store_bcd.py',
3034587Sgblack@eecs.umich.edu        'x87/data_transfer_and_conversion/conditional_move.py',
3044587Sgblack@eecs.umich.edu        'x87/data_transfer_and_conversion/extract.py',
3054561Sgblack@eecs.umich.edu        'x87/load_constants/__init__.py',
3064561Sgblack@eecs.umich.edu        'x87/load_constants/load_0_1_or_pi.py',
3074561Sgblack@eecs.umich.edu        'x87/load_constants/load_logarithm.py',
3084561Sgblack@eecs.umich.edu        'x87/arithmetic/__init__.py',
3094561Sgblack@eecs.umich.edu        'x87/arithmetic/subtraction.py',
3104561Sgblack@eecs.umich.edu        'x87/arithmetic/addition.py',
3114561Sgblack@eecs.umich.edu        'x87/arithmetic/partial_remainder.py',
3124561Sgblack@eecs.umich.edu        'x87/arithmetic/multiplication.py',
3134587Sgblack@eecs.umich.edu        'x87/arithmetic/division.py',
3144587Sgblack@eecs.umich.edu        'x87/arithmetic/change_sign.py',
3154587Sgblack@eecs.umich.edu        'x87/arithmetic/round.py',
3164561Sgblack@eecs.umich.edu        'x87/arithmetic/square_root.py',
3174587Sgblack@eecs.umich.edu        'x87/transcendental_functions/__init__.py',
3184587Sgblack@eecs.umich.edu        'x87/transcendental_functions/trigonometric_functions.py',
3194587Sgblack@eecs.umich.edu        'x87/transcendental_functions/logarithmic_functions.py',
3204587Sgblack@eecs.umich.edu        'x87/compare_and_test/__init__.py',
3214561Sgblack@eecs.umich.edu        'x87/compare_and_test/classify.py',
3224561Sgblack@eecs.umich.edu        'x87/compare_and_test/test.py',
3234561Sgblack@eecs.umich.edu        'x87/compare_and_test/floating_point_ordered_compare.py',
3244561Sgblack@eecs.umich.edu        'x87/compare_and_test/floating_point_unordered_compare.py',
3254561Sgblack@eecs.umich.edu        'x87/compare_and_test/integer_compare.py',
3264587Sgblack@eecs.umich.edu        'x87/stack_management/__init__.py',
3274587Sgblack@eecs.umich.edu        'x87/stack_management/stack_control.py',
3284712Sgblack@eecs.umich.edu        'x87/stack_management/clear_state.py',
3294587Sgblack@eecs.umich.edu        'x87/control/__init__.py',
3304587Sgblack@eecs.umich.edu        'x87/control/clear_exceptions.py',
3314587Sgblack@eecs.umich.edu        'x87/control/initialize.py',
3324587Sgblack@eecs.umich.edu        'x87/control/wait_for_exceptions.py',
3334712Sgblack@eecs.umich.edu        'x87/control/save_x87_status_word.py',
3344587Sgblack@eecs.umich.edu        'x87/control/save_and_restore_x87_control_word.py',
3354587Sgblack@eecs.umich.edu        'x87/control/save_and_restore_x87_environment.py',
3364587Sgblack@eecs.umich.edu        'x87/no_operation.py'
3374587Sgblack@eecs.umich.edu        )
3384587Sgblack@eecs.umich.edu
3394587Sgblack@eecs.umich.edu
3404587Sgblack@eecs.umich.edu    # Add in files generated by the ISA description.
3414587Sgblack@eecs.umich.edu    isa_desc_files = env.ISADesc('isa/main.isa')
3424587Sgblack@eecs.umich.edu    for f in isa_desc_files:
3434587Sgblack@eecs.umich.edu        # Add in python file dependencies that won't be caught otherwise
3444587Sgblack@eecs.umich.edu        for pyfile in python_files:
3454587Sgblack@eecs.umich.edu            env.Depends(f, "isa/insts/%s" % pyfile)
3464587Sgblack@eecs.umich.edu        # Only non-header files need to be compiled.
3474587Sgblack@eecs.umich.edu        if not f.path.endswith('.hh'):
3484587Sgblack@eecs.umich.edu            Source(f)
3494587Sgblack@eecs.umich.edu