SConscript revision 5800
11689SN/A# -*- mode:python -*-
29608Sandreas.hansson@arm.com
39919Ssteve.reinhardt@amd.com# Copyright (c) 2005-2006 The Regents of The University of Michigan
48707Sandreas.hansson@arm.com# All rights reserved.
58707Sandreas.hansson@arm.com#
68707Sandreas.hansson@arm.com# Redistribution and use in source and binary forms, with or without
78707Sandreas.hansson@arm.com# modification, are permitted provided that the following conditions are
88707Sandreas.hansson@arm.com# met: redistributions of source code must retain the above copyright
98707Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer;
108707Sandreas.hansson@arm.com# redistributions in binary form must reproduce the above copyright
118707Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer in the
128707Sandreas.hansson@arm.com# documentation and/or other materials provided with the distribution;
138707Sandreas.hansson@arm.com# neither the name of the copyright holders nor the names of its
148707Sandreas.hansson@arm.com# contributors may be used to endorse or promote products derived from
151689SN/A# this software without specific prior written permission.
167897Shestness@cs.utexas.edu#
171689SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
181689SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
191689SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
201689SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
211689SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
221689SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
231689SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
241689SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
251689SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
261689SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
271689SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
281689SN/A#
291689SN/A# Authors: Gabe Black
301689SN/A
311689SN/A# Copyright (c) 2007-2008 The Hewlett-Packard Development Company
321689SN/A# All rights reserved.
331689SN/A#
341689SN/A# Redistribution and use of this software in source and binary forms,
351689SN/A# with or without modification, are permitted provided that the
361689SN/A# following conditions are met:
371689SN/A#
381689SN/A# The software must be used only for Non-Commercial Use which means any
391689SN/A# use which is NOT directed to receiving any direct monetary
401689SN/A# compensation for, or commercial advantage from such use.  Illustrative
412665Ssaidi@eecs.umich.edu# examples of non-commercial use are academic research, personal study,
422665Ssaidi@eecs.umich.edu# teaching, education and corporate research & development.
432756Sksewell@umich.edu# Illustrative examples of commercial use are distributing products for
447897Shestness@cs.utexas.edu# commercial advantage and providing services using the software for
451689SN/A# commercial advantage.
461689SN/A#
472325SN/A# If you wish to use this software or functionality therein that may be
482325SN/A# covered by patents for commercial use, please contact:
491060SN/A#     Director of Intellectual Property Licensing
501060SN/A#     Office of Strategy and Technology
511060SN/A#     Hewlett-Packard Company
522292SN/A#     1501 Page Mill Road
532292SN/A#     Palo Alto, California  94304
541681SN/A#
551060SN/A# Redistributions of source code must retain the above copyright notice,
562980Sgblack@eecs.umich.edu# this list of conditions and the following disclaimer.  Redistributions
571060SN/A# in binary form must reproduce the above copyright notice, this list of
586658Snate@binkert.org# conditions and the following disclaimer in the documentation and/or
591717SN/A# other materials provided with the distribution.  Neither the name of
601717SN/A# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its
612292SN/A# contributors may be used to endorse or promote products derived from
622292SN/A# this software without specific prior written permission.  No right of
638229Snate@binkert.org# sublicense is granted herewith.  Derivatives of the software and
648229Snate@binkert.org# output created using the software may be prepared, but only for
658229Snate@binkert.org# Non-Commercial Uses.  Derivatives of the software may be shared with
668229Snate@binkert.org# others provided: (i) the others agree to abide by the list of
672817Sksewell@umich.edu# conditions herein which includes the Non-Commercial Use restrictions;
688229Snate@binkert.org# and (ii) such Derivatives of the software include the above copyright
691060SN/A# notice to acknowledge the contribution from this software where
701060SN/A# applicable, this list of conditions and the disclaimer below.
712316SN/A#
722316SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
732680Sktlim@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
742817Sksewell@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
752817Sksewell@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
762843Sktlim@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
772843Sktlim@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
782669Sktlim@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
791060SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
801060SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
818737Skoansin.tan@gmail.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
825529Snate@binkert.org# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
832733Sktlim@umich.edu#
841060SN/A# Authors: Gabe Black
851060SN/A
861060SN/AImport('*')
875529Snate@binkert.org
882292SN/Aif env['TARGET_ISA'] == 'x86':
892292SN/A    Source('cpuid.cc')
901060SN/A    Source('emulenv.cc')
911060SN/A    Source('floatregfile.cc')
922348SN/A    Source('faults.cc')
932348SN/A    Source('insts/microfpop.cc')
942348SN/A    Source('insts/microldstop.cc')
952348SN/A    Source('insts/microop.cc')
962348SN/A    Source('insts/microregop.cc')
971060SN/A    Source('insts/static_inst.cc')
982733Sktlim@umich.edu    Source('intregfile.cc')
991060SN/A    Source('miscregfile.cc')
1001060SN/A    Source('pagetable.cc')
1012325SN/A    Source('predecoder.cc')
1021060SN/A    Source('predecoder_tables.cc')
1031061SN/A    Source('regfile.cc')
1044329Sktlim@umich.edu    Source('remote_gdb.cc')
1051060SN/A    Source('tlb.cc')
1065595Sgblack@eecs.umich.edu    Source('utility.cc')
1072292SN/A
1082292SN/A    SimObject('X86TLB.py')
1092292SN/A    TraceFlag('Predecoder', "Predecoder debug output")
1102292SN/A    TraceFlag('X86', "Generic X86 ISA debugging")
1112817Sksewell@umich.edu
1122829Sksewell@umich.edu    if env['FULL_SYSTEM']:
1131060SN/A        TraceFlag('LocalApic', "Local APIC debugging")
1141060SN/A
1151060SN/A        SimObject('X86LocalApic.py')
1161060SN/A        SimObject('X86System.py')
1171060SN/A
1182307SN/A        # Full-system sources
1192307SN/A        Source('interrupts.cc')
1201060SN/A        Source('linux/system.cc')
1211060SN/A        Source('pagetable_walker.cc')
1226022Sgblack@eecs.umich.edu        Source('system.cc')
1236022Sgblack@eecs.umich.edu        Source('stacktrace.cc')
1243781Sgblack@eecs.umich.edu        Source('vtophys.cc')
1252292SN/A    else:
1261060SN/A        Source('process.cc')
1271060SN/A
1281060SN/A        Source('linux/linux.cc')
1298707Sandreas.hansson@arm.com        Source('linux/process.cc')
1308707Sandreas.hansson@arm.com        Source('linux/syscalls.cc')
1318707Sandreas.hansson@arm.com
1328707Sandreas.hansson@arm.com    python_files = (
1339608Sandreas.hansson@arm.com        '__init__.py',
1348707Sandreas.hansson@arm.com        'general_purpose/__init__.py',
1358707Sandreas.hansson@arm.com        'general_purpose/arithmetic/__init__.py',
1368707Sandreas.hansson@arm.com        'general_purpose/arithmetic/add_and_subtract.py',
1378707Sandreas.hansson@arm.com        'general_purpose/arithmetic/increment_and_decrement.py',
1388707Sandreas.hansson@arm.com        'general_purpose/arithmetic/multiply_and_divide.py',
1398707Sandreas.hansson@arm.com        'general_purpose/cache_and_memory_management.py',
1408707Sandreas.hansson@arm.com        'general_purpose/compare_and_test/__init__.py',
1418707Sandreas.hansson@arm.com        'general_purpose/compare_and_test/bit_scan.py',
1429608Sandreas.hansson@arm.com        'general_purpose/compare_and_test/bit_test.py',
1438707Sandreas.hansson@arm.com        'general_purpose/compare_and_test/bounds.py',
1448707Sandreas.hansson@arm.com        'general_purpose/compare_and_test/compare.py',
1458707Sandreas.hansson@arm.com        'general_purpose/compare_and_test/set_byte_on_condition.py',
1468707Sandreas.hansson@arm.com        'general_purpose/compare_and_test/test.py',
1478707Sandreas.hansson@arm.com        'general_purpose/control_transfer/__init__.py',
1488707Sandreas.hansson@arm.com        'general_purpose/control_transfer/call.py',
1498975Sandreas.hansson@arm.com        'general_purpose/control_transfer/conditional_jump.py',
1508975Sandreas.hansson@arm.com        'general_purpose/control_transfer/interrupts_and_exceptions.py',
1518707Sandreas.hansson@arm.com        'general_purpose/control_transfer/jump.py',
1528707Sandreas.hansson@arm.com        'general_purpose/control_transfer/loop.py',
1538707Sandreas.hansson@arm.com        'general_purpose/control_transfer/xreturn.py',
1548707Sandreas.hansson@arm.com        'general_purpose/data_conversion/__init__.py',
1558707Sandreas.hansson@arm.com        'general_purpose/data_conversion/ascii_adjust.py',
1568707Sandreas.hansson@arm.com        'general_purpose/data_conversion/bcd_adjust.py',
1578707Sandreas.hansson@arm.com        'general_purpose/data_conversion/endian_conversion.py',
1588707Sandreas.hansson@arm.com        'general_purpose/data_conversion/extract_sign_mask.py',
1599608Sandreas.hansson@arm.com        'general_purpose/data_conversion/sign_extension.py',
1608707Sandreas.hansson@arm.com        'general_purpose/data_conversion/translate.py',
1618707Sandreas.hansson@arm.com        'general_purpose/data_transfer/__init__.py',
1628707Sandreas.hansson@arm.com        'general_purpose/data_transfer/conditional_move.py',
1638707Sandreas.hansson@arm.com        'general_purpose/data_transfer/move.py',
1648707Sandreas.hansson@arm.com        'general_purpose/data_transfer/stack_operations.py',
1658707Sandreas.hansson@arm.com        'general_purpose/data_transfer/xchg.py',
1668707Sandreas.hansson@arm.com        'general_purpose/flags/__init__.py',
1678707Sandreas.hansson@arm.com        'general_purpose/flags/load_and_store.py',
1688707Sandreas.hansson@arm.com        'general_purpose/flags/push_and_pop.py',
1699608Sandreas.hansson@arm.com        'general_purpose/flags/set_and_clear.py',
1708707Sandreas.hansson@arm.com        'general_purpose/input_output/__init__.py',
1718707Sandreas.hansson@arm.com        'general_purpose/input_output/general_io.py',
1728707Sandreas.hansson@arm.com        'general_purpose/input_output/string_io.py',
1738707Sandreas.hansson@arm.com        'general_purpose/load_effective_address.py',
1748707Sandreas.hansson@arm.com        'general_purpose/load_segment_registers.py',
1758707Sandreas.hansson@arm.com        'general_purpose/logical.py',
1768707Sandreas.hansson@arm.com        'general_purpose/no_operation.py',
1778975Sandreas.hansson@arm.com        'general_purpose/rotate_and_shift/__init__.py',
1788975Sandreas.hansson@arm.com        'general_purpose/rotate_and_shift/rotate.py',
1798707Sandreas.hansson@arm.com        'general_purpose/rotate_and_shift/shift.py',
1809608Sandreas.hansson@arm.com        'general_purpose/semaphores.py',
1819608Sandreas.hansson@arm.com        'general_purpose/string/__init__.py',
1829608Sandreas.hansson@arm.com        'general_purpose/string/compare_strings.py',
1839608Sandreas.hansson@arm.com        'general_purpose/string/load_string.py',
1849608Sandreas.hansson@arm.com        'general_purpose/string/move_string.py',
1858707Sandreas.hansson@arm.com        'general_purpose/string/scan_string.py',
1868707Sandreas.hansson@arm.com        'general_purpose/string/store_string.py',
1878707Sandreas.hansson@arm.com        'general_purpose/system_calls.py',
1888707Sandreas.hansson@arm.com        'romutil.py',
1898707Sandreas.hansson@arm.com        'system/__init__.py',
1908707Sandreas.hansson@arm.com        'system/halt.py',
1918707Sandreas.hansson@arm.com        'system/invlpg.py',
1928711Sandreas.hansson@arm.com        'system/undefined_operation.py',
1938707Sandreas.hansson@arm.com        'system/msrs.py',
1948922Swilliam.wang@arm.com        'system/segmentation.py',
1958707Sandreas.hansson@arm.com        'simd128/__init__.py',
1968707Sandreas.hansson@arm.com        'simd128/integer/__init__.py',
1971060SN/A        'simd128/integer/data_transfer/__init__.py',
1981060SN/A        'simd128/integer/data_transfer/move.py',
1991060SN/A        'simd128/integer/data_transfer/move_non_temporal.py',
2002292SN/A        'simd128/integer/data_transfer/move_mask.py',
2011755SN/A        'simd128/integer/data_conversion/__init__.py',
2021060SN/A        'simd128/integer/data_conversion/convert_mmx_integer_to_floating_point.py',
2031060SN/A        'simd128/integer/data_conversion/convert_integer_to_floating_point.py',
2042292SN/A        'simd128/integer/data_conversion/convert_gpr_integer_to_floating_point.py',
2051755SN/A        'simd128/integer/data_reordering/__init__.py',
2062292SN/A        'simd128/integer/data_reordering/unpack_and_interleave.py',
2072292SN/A        'simd128/integer/data_reordering/pack_with_saturation.py',
2081060SN/A        'simd128/integer/data_reordering/extract_and_insert.py',
2092292SN/A        'simd128/integer/data_reordering/shuffle.py',
2105336Shines@cs.fsu.edu        'simd128/integer/arithmetic/__init__.py',
2111060SN/A        'simd128/integer/arithmetic/subtraction.py',
2121060SN/A        'simd128/integer/arithmetic/addition.py',
2132292SN/A        'simd128/integer/arithmetic/multiplication.py',
2141060SN/A        'simd128/integer/arithmetic/multiply_add.py',
2151060SN/A        'simd128/integer/arithmetic/average.py',
2162292SN/A        'simd128/integer/arithmetic/sum_of_absolute_differences.py',
2179180Sandreas.hansson@arm.com        'simd128/integer/shift/__init__.py',
2181060SN/A        'simd128/integer/shift/right_arithmetic_shift.py',
2191060SN/A        'simd128/integer/shift/left_logical_shift.py',
2209179Sandreas.hansson@arm.com        'simd128/integer/shift/right_logical_shift.py',
2211060SN/A        'simd128/integer/compare/__init__.py',
2229179Sandreas.hansson@arm.com        'simd128/integer/compare/compare_and_write_mask.py',
2231060SN/A        'simd128/integer/compare/compare_and_write_minimum_or_maximum.py',
2241060SN/A        'simd128/integer/logical/__init__.py',
2252292SN/A        'simd128/integer/logical/pand.py',
2261060SN/A        'simd128/integer/logical/por.py',
2271060SN/A        'simd128/integer/logical/exclusive_or.py',
2281060SN/A        'simd128/integer/save_and_restore_state/__init__.py',
2291060SN/A        'simd128/integer/save_and_restore_state/save_and_restore_state.py',
2301060SN/A        'simd128/integer/save_and_restore_state/save_and_restore_control_and_status.py',
2311060SN/A        'simd128/floating_point/__init__.py',
2322829Sksewell@umich.edu        'simd128/floating_point/data_transfer/__init__.py',
2332829Sksewell@umich.edu        'simd128/floating_point/data_transfer/move_mask.py',
2342829Sksewell@umich.edu        'simd128/floating_point/data_transfer/move.py',
2352829Sksewell@umich.edu        'simd128/floating_point/data_transfer/move_with_duplication.py',
2366221Snate@binkert.org        'simd128/floating_point/data_transfer/move_non_temporal.py',
2372829Sksewell@umich.edu        'simd128/floating_point/data_conversion/__init__.py',
2382829Sksewell@umich.edu        'simd128/floating_point/data_conversion/convert_floating_point_to_floating_point.py',
2392829Sksewell@umich.edu        'simd128/floating_point/data_conversion/convert_floating_point_to_xmm_integer.py',
2402829Sksewell@umich.edu        'simd128/floating_point/data_conversion/convert_floating_point_to_mmx_integer.py',
2412829Sksewell@umich.edu        'simd128/floating_point/data_conversion/convert_floating_point_to_gpr_integer.py',
2422829Sksewell@umich.edu        'simd128/floating_point/data_reordering/__init__.py',
2432829Sksewell@umich.edu        'simd128/floating_point/data_reordering/unpack_and_interleave.py',
2442829Sksewell@umich.edu        'simd128/floating_point/data_reordering/shuffle.py',
2452829Sksewell@umich.edu        'simd128/floating_point/arithmetic/__init__.py',
2462829Sksewell@umich.edu        'simd128/floating_point/arithmetic/subtraction.py',
2472829Sksewell@umich.edu        'simd128/floating_point/arithmetic/addition.py',
2482829Sksewell@umich.edu        'simd128/floating_point/arithmetic/horizontal_subtraction.py',
2492829Sksewell@umich.edu        'simd128/floating_point/arithmetic/horizontal_addition.py',
2502829Sksewell@umich.edu        'simd128/floating_point/arithmetic/square_root.py',
2512829Sksewell@umich.edu        'simd128/floating_point/arithmetic/simultaneous_addition_and_subtraction.py',
2525336Shines@cs.fsu.edu        'simd128/floating_point/arithmetic/multiplication.py',
2532829Sksewell@umich.edu        'simd128/floating_point/arithmetic/division.py',
2542829Sksewell@umich.edu        'simd128/floating_point/arithmetic/reciprocal_square_root.py',
2552829Sksewell@umich.edu        'simd128/floating_point/arithmetic/reciprocal_estimation.py',
2566221Snate@binkert.org        'simd128/floating_point/compare/__init__.py',
2579180Sandreas.hansson@arm.com        'simd128/floating_point/compare/compare_and_write_mask.py',
2582829Sksewell@umich.edu        'simd128/floating_point/compare/compare_and_write_rflags.py',
2592829Sksewell@umich.edu        'simd128/floating_point/compare/compare_and_write_minimum_or_maximum.py',
2602829Sksewell@umich.edu        'simd128/floating_point/logical/__init__.py',
2615606Snate@binkert.org        'simd128/floating_point/logical/andp.py',
2629179Sandreas.hansson@arm.com        'simd128/floating_point/logical/orp.py',
2638518Sgeoffrey.blake@arm.com        'simd128/floating_point/logical/exclusive_or.py',
2649179Sandreas.hansson@arm.com        'simd64/__init__.py',
2658518Sgeoffrey.blake@arm.com        'simd64/integer/__init__.py',
2668518Sgeoffrey.blake@arm.com        'simd64/integer/data_transfer/__init__.py',
2678518Sgeoffrey.blake@arm.com        'simd64/integer/data_transfer/move_mask.py',
2688518Sgeoffrey.blake@arm.com        'simd64/integer/data_transfer/move.py',
2698518Sgeoffrey.blake@arm.com        'simd64/integer/data_transfer/move_non_temporal.py',
2708518Sgeoffrey.blake@arm.com        'simd64/integer/exit_media_state.py',
2718518Sgeoffrey.blake@arm.com        'simd64/integer/data_reordering/__init__.py',
2728518Sgeoffrey.blake@arm.com        'simd64/integer/data_reordering/unpack_and_interleave.py',
2738518Sgeoffrey.blake@arm.com        'simd64/integer/data_reordering/pack_with_saturation.py',
2748518Sgeoffrey.blake@arm.com        'simd64/integer/data_reordering/extract_and_insert.py',
2758518Sgeoffrey.blake@arm.com        'simd64/integer/data_reordering/shuffle_and_swap.py',
2762829Sksewell@umich.edu        'simd64/integer/data_conversion.py',
2772829Sksewell@umich.edu        'simd64/integer/arithmetic/__init__.py',
2782829Sksewell@umich.edu        'simd64/integer/arithmetic/subtraction.py',
2796221Snate@binkert.org        'simd64/integer/arithmetic/addition.py',
2806221Snate@binkert.org        'simd64/integer/arithmetic/multiplication.py',
2812829Sksewell@umich.edu        'simd64/integer/arithmetic/multiply_add.py',
2822829Sksewell@umich.edu        'simd64/integer/arithmetic/average.py',
2832829Sksewell@umich.edu        'simd64/integer/arithmetic/sum_of_absolute_differences.py',
2842829Sksewell@umich.edu        'simd64/integer/shift/__init__.py',
2852829Sksewell@umich.edu        'simd64/integer/shift/right_arithmetic_shift.py',
2862829Sksewell@umich.edu        'simd64/integer/shift/left_logical_shift.py',
2872829Sksewell@umich.edu        'simd64/integer/shift/right_logical_shift.py',
2882829Sksewell@umich.edu        'simd64/integer/compare/__init__.py',
2892875Sksewell@umich.edu        'simd64/integer/compare/compare_and_write_mask.py',
2902875Sksewell@umich.edu        'simd64/integer/compare/compare_and_write_minimum_or_maximum.py',
2912875Sksewell@umich.edu        'simd64/integer/logical/__init__.py',
2923221Sktlim@umich.edu        'simd64/integer/logical/pand.py',
2936221Snate@binkert.org        'simd64/integer/logical/por.py',
2942875Sksewell@umich.edu        'simd64/integer/logical/exclusive_or.py',
2953221Sktlim@umich.edu        'simd64/integer/save_and_restore_state.py',
2963221Sktlim@umich.edu        'simd64/floating_point/__init__.py',
2973221Sktlim@umich.edu        'simd64/floating_point/arithmetic/__init__.py',
2982875Sksewell@umich.edu        'simd64/floating_point/arithmetic/subtraction.py',
2992875Sksewell@umich.edu        'simd64/floating_point/arithmetic/addition.py',
3002875Sksewell@umich.edu        'simd64/floating_point/arithmetic/reciprocal_estimation.py',
3012875Sksewell@umich.edu        'simd64/floating_point/arithmetic/multiplication.py',
3022875Sksewell@umich.edu        'simd64/floating_point/arithmetic/accumulation.py',
3032875Sksewell@umich.edu        'simd64/floating_point/arithmetic/reciprocal_square_root.py',
3042875Sksewell@umich.edu        'simd64/floating_point/data_conversion.py',
3052875Sksewell@umich.edu        'simd64/floating_point/compare/__init__.py',
3062875Sksewell@umich.edu        'simd64/floating_point/compare/compare_and_write_mask.py',
3072875Sksewell@umich.edu        'simd64/floating_point/compare/compare_and_write_minimum_or_maximum.py',
3082875Sksewell@umich.edu        'x87/__init__.py',
3092875Sksewell@umich.edu        'x87/data_transfer_and_conversion/__init__.py',
3102875Sksewell@umich.edu        'x87/data_transfer_and_conversion/convert_and_load_or_store_integer.py',
3113221Sktlim@umich.edu        'x87/data_transfer_and_conversion/load_or_store_floating_point.py',
3123221Sktlim@umich.edu        'x87/data_transfer_and_conversion/exchange.py',
3133221Sktlim@umich.edu        'x87/data_transfer_and_conversion/convert_and_load_or_store_bcd.py',
3142875Sksewell@umich.edu        'x87/data_transfer_and_conversion/conditional_move.py',
3155336Shines@cs.fsu.edu        'x87/data_transfer_and_conversion/extract.py',
3162875Sksewell@umich.edu        'x87/load_constants/__init__.py',
3172875Sksewell@umich.edu        'x87/load_constants/load_0_1_or_pi.py',
3182875Sksewell@umich.edu        'x87/load_constants/load_logarithm.py',
3196221Snate@binkert.org        'x87/arithmetic/__init__.py',
3209180Sandreas.hansson@arm.com        'x87/arithmetic/subtraction.py',
3212875Sksewell@umich.edu        'x87/arithmetic/addition.py',
3222875Sksewell@umich.edu        'x87/arithmetic/partial_remainder.py',
3232875Sksewell@umich.edu        'x87/arithmetic/multiplication.py',
3245606Snate@binkert.org        'x87/arithmetic/division.py',
3259179Sandreas.hansson@arm.com        'x87/arithmetic/change_sign.py',
3262875Sksewell@umich.edu        'x87/arithmetic/round.py',
3275606Snate@binkert.org        'x87/arithmetic/square_root.py',
3289179Sandreas.hansson@arm.com        'x87/transcendental_functions/__init__.py',
3292875Sksewell@umich.edu        'x87/transcendental_functions/trigonometric_functions.py',
3302875Sksewell@umich.edu        'x87/transcendental_functions/logarithmic_functions.py',
3312875Sksewell@umich.edu        'x87/compare_and_test/__init__.py',
3326221Snate@binkert.org        'x87/compare_and_test/classify.py',
3336221Snate@binkert.org        'x87/compare_and_test/test.py',
3342875Sksewell@umich.edu        'x87/compare_and_test/floating_point_ordered_compare.py',
3352875Sksewell@umich.edu        'x87/compare_and_test/floating_point_unordered_compare.py',
3362875Sksewell@umich.edu        'x87/compare_and_test/integer_compare.py',
3372875Sksewell@umich.edu        'x87/stack_management/__init__.py',
3382875Sksewell@umich.edu        'x87/stack_management/stack_control.py',
3392875Sksewell@umich.edu        'x87/stack_management/clear_state.py',
3402875Sksewell@umich.edu        'x87/control/__init__.py',
3412875Sksewell@umich.edu        'x87/control/clear_exceptions.py',
3429444SAndreas.Sandberg@ARM.com        'x87/control/initialize.py',
3439444SAndreas.Sandberg@ARM.com        'x87/control/wait_for_exceptions.py',
3449444SAndreas.Sandberg@ARM.com        'x87/control/save_x87_status_word.py',
3459444SAndreas.Sandberg@ARM.com        'x87/control/save_and_restore_x87_control_word.py',
3469444SAndreas.Sandberg@ARM.com        'x87/control/save_and_restore_x87_environment.py',
3479444SAndreas.Sandberg@ARM.com        'x87/no_operation.py'
3489444SAndreas.Sandberg@ARM.com        )
3499444SAndreas.Sandberg@ARM.com
3509444SAndreas.Sandberg@ARM.com
3519444SAndreas.Sandberg@ARM.com    # Add in files generated by the ISA description.
3529444SAndreas.Sandberg@ARM.com    isa_desc_files = env.ISADesc('isa/main.isa')
3539444SAndreas.Sandberg@ARM.com    for f in isa_desc_files:
3549444SAndreas.Sandberg@ARM.com        # Add in python file dependencies that won't be caught otherwise
3559444SAndreas.Sandberg@ARM.com        for pyfile in python_files:
3569444SAndreas.Sandberg@ARM.com            env.Depends(f, "isa/insts/%s" % pyfile)
3579444SAndreas.Sandberg@ARM.com        # Only non-header files need to be compiled.
3589444SAndreas.Sandberg@ARM.com        if not f.path.endswith('.hh'):
3599444SAndreas.Sandberg@ARM.com            Source(f)
3609444SAndreas.Sandberg@ARM.com