SConscript revision 6143
12SN/A# -*- mode:python -*- 22190SN/A 32SN/A# Copyright (c) 2005-2006 The Regents of The University of Michigan 42SN/A# All rights reserved. 52SN/A# 62SN/A# Redistribution and use in source and binary forms, with or without 72SN/A# modification, are permitted provided that the following conditions are 82SN/A# met: redistributions of source code must retain the above copyright 92SN/A# notice, this list of conditions and the following disclaimer; 102SN/A# redistributions in binary form must reproduce the above copyright 112SN/A# notice, this list of conditions and the following disclaimer in the 122SN/A# documentation and/or other materials provided with the distribution; 132SN/A# neither the name of the copyright holders nor the names of its 142SN/A# contributors may be used to endorse or promote products derived from 152SN/A# this software without specific prior written permission. 162SN/A# 172SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 182SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 192SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 202SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 212SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 222SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 232SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 242SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 252SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 262SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 272665SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282665SN/A# 292SN/A# Authors: Gabe Black 302SN/A 312680Sktlim@umich.edu# Copyright (c) 2007-2008 The Hewlett-Packard Development Company 322680Sktlim@umich.edu# All rights reserved. 332SN/A# 342972Sgblack@eecs.umich.edu# Redistribution and use of this software in source and binary forms, 353453Sgblack@eecs.umich.edu# with or without modification, are permitted provided that the 361858SN/A# following conditions are met: 372423SN/A# 382190SN/A# The software must be used only for Non-Commercial Use which means any 3956SN/A# use which is NOT directed to receiving any direct monetary 40217SN/A# compensation for, or commercial advantage from such use. Illustrative 413776Sgblack@eecs.umich.edu# examples of non-commercial use are academic research, personal study, 422036SN/A# teaching, education and corporate research & development. 432SN/A# Illustrative examples of commercial use are distributing products for 442190SN/A# commercial advantage and providing services using the software for 452190SN/A# commercial advantage. 463453Sgblack@eecs.umich.edu# 473453Sgblack@eecs.umich.edu# If you wish to use this software or functionality therein that may be 483453Sgblack@eecs.umich.edu# covered by patents for commercial use, please contact: 493453Sgblack@eecs.umich.edu# Director of Intellectual Property Licensing 503453Sgblack@eecs.umich.edu# Office of Strategy and Technology 512190SN/A# Hewlett-Packard Company 522313SN/A# 1501 Page Mill Road 532235SN/A# Palo Alto, California 94304 542423SN/A# 552521SN/A# Redistributions of source code must retain the above copyright notice, 562521SN/A# this list of conditions and the following disclaimer. Redistributions 572190SN/A# in binary form must reproduce the above copyright notice, this list of 582190SN/A# conditions and the following disclaimer in the documentation and/or 593548Sgblack@eecs.umich.edu# other materials provided with the distribution. Neither the name of 603548Sgblack@eecs.umich.edu# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its 613548Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from 623548Sgblack@eecs.umich.edu# this software without specific prior written permission. No right of 632330SN/A# sublicense is granted herewith. Derivatives of the software and 642SN/A# output created using the software may be prepared, but only for 652680Sktlim@umich.edu# Non-Commercial Uses. Derivatives of the software may be shared with 662680Sktlim@umich.edu# others provided: (i) the others agree to abide by the list of 672680Sktlim@umich.edu# conditions herein which includes the Non-Commercial Use restrictions; 682680Sktlim@umich.edu# and (ii) such Derivatives of the software include the above copyright 692680Sktlim@umich.edu# notice to acknowledge the contribution from this software where 702680Sktlim@umich.edu# applicable, this list of conditions and the disclaimer below. 712680Sktlim@umich.edu# 722680Sktlim@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 732680Sktlim@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 742680Sktlim@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 752680Sktlim@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 762682Sktlim@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 772680Sktlim@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 782680Sktlim@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 792680Sktlim@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 802680Sktlim@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 812680Sktlim@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 822SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 832107SN/A# 842107SN/A# Authors: Gabe Black 852107SN/A 862190SN/AImport('*') 872455SN/A 882455SN/Aif env['TARGET_ISA'] == 'x86': 892107SN/A Source('cpuid.cc') 902159SN/A Source('emulenv.cc') 912SN/A Source('floatregfile.cc') 92246SN/A Source('faults.cc') 93246SN/A Source('insts/microfpop.cc') 94246SN/A Source('insts/microldstop.cc') 95246SN/A Source('insts/microop.cc') 96246SN/A Source('insts/microregop.cc') 97246SN/A Source('insts/static_inst.cc') 98246SN/A Source('intregfile.cc') 99246SN/A Source('miscregfile.cc') 100246SN/A Source('pagetable.cc') 101246SN/A Source('predecoder.cc') 102246SN/A Source('predecoder_tables.cc') 103246SN/A Source('regfile.cc') 104246SN/A Source('remote_gdb.cc') 1052190SN/A Source('tlb.cc') 106246SN/A Source('utility.cc') 107246SN/A 108246SN/A SimObject('X86TLB.py') 109246SN/A TraceFlag('Predecoder', "Predecoder debug output") 110246SN/A TraceFlag('X86', "Generic X86 ISA debugging") 111246SN/A 112246SN/A if env['FULL_SYSTEM']: 1132SN/A TraceFlag('LocalApic', "Local APIC debugging") 1142680Sktlim@umich.edu TraceFlag('PageTableWalker', \ 1152423SN/A "Page table walker state machine debugging") 1162190SN/A TraceFlag('Faults', "Trace all faults/exceptions/traps") 117180SN/A 1185712Shsul@eecs.umich.edu SimObject('X86LocalApic.py') 1192190SN/A SimObject('X86System.py') 1205715Shsul@eecs.umich.edu 1215715Shsul@eecs.umich.edu # Full-system sources 1225715Shsul@eecs.umich.edu Source('interrupts.cc') 1235714Shsul@eecs.umich.edu Source('linux/system.cc') 1245714Shsul@eecs.umich.edu Source('pagetable_walker.cc') 1255714Shsul@eecs.umich.edu Source('system.cc') 1265714Shsul@eecs.umich.edu Source('stacktrace.cc') 1275714Shsul@eecs.umich.edu Source('vtophys.cc') 1283453Sgblack@eecs.umich.edu else: 1292190SN/A Source('process.cc') 1303453Sgblack@eecs.umich.edu 1312521SN/A Source('linux/linux.cc') 1324997Sgblack@eecs.umich.edu Source('linux/process.cc') 1334997Sgblack@eecs.umich.edu Source('linux/syscalls.cc') 1344997Sgblack@eecs.umich.edu 1353548Sgblack@eecs.umich.edu python_files = ( 1362654SN/A '__init__.py', 1372521SN/A 'general_purpose/__init__.py', 1382521SN/A 'general_purpose/arithmetic/__init__.py', 1395499Ssaidi@eecs.umich.edu 'general_purpose/arithmetic/add_and_subtract.py', 1403673Srdreslin@umich.edu 'general_purpose/arithmetic/increment_and_decrement.py', 1415497Ssaidi@eecs.umich.edu 'general_purpose/arithmetic/multiply_and_divide.py', 1422190SN/A 'general_purpose/cache_and_memory_management.py', 1432518SN/A 'general_purpose/compare_and_test/__init__.py', 1442518SN/A 'general_purpose/compare_and_test/bit_scan.py', 1452190SN/A 'general_purpose/compare_and_test/bit_test.py', 1462190SN/A 'general_purpose/compare_and_test/bounds.py', 1472190SN/A 'general_purpose/compare_and_test/compare.py', 1482190SN/A 'general_purpose/compare_and_test/set_byte_on_condition.py', 1492159SN/A 'general_purpose/compare_and_test/test.py', 1502235SN/A 'general_purpose/control_transfer/__init__.py', 1512103SN/A 'general_purpose/control_transfer/call.py', 152393SN/A 'general_purpose/control_transfer/conditional_jump.py', 153393SN/A 'general_purpose/control_transfer/interrupts_and_exceptions.py', 1542190SN/A 'general_purpose/control_transfer/jump.py', 155393SN/A 'general_purpose/control_transfer/loop.py', 156393SN/A 'general_purpose/control_transfer/xreturn.py', 1575250Sksewell@umich.edu 'general_purpose/data_conversion/__init__.py', 158393SN/A 'general_purpose/data_conversion/ascii_adjust.py', 159393SN/A 'general_purpose/data_conversion/bcd_adjust.py', 1602875Sksewell@umich.edu 'general_purpose/data_conversion/endian_conversion.py', 161393SN/A 'general_purpose/data_conversion/extract_sign_mask.py', 162393SN/A 'general_purpose/data_conversion/sign_extension.py', 1635250Sksewell@umich.edu 'general_purpose/data_conversion/translate.py', 1642159SN/A 'general_purpose/data_transfer/__init__.py', 1652159SN/A 'general_purpose/data_transfer/conditional_move.py', 1662190SN/A 'general_purpose/data_transfer/move.py', 1672159SN/A 'general_purpose/data_transfer/stack_operations.py', 1682159SN/A 'general_purpose/data_transfer/xchg.py', 1692680Sktlim@umich.edu 'general_purpose/flags/__init__.py', 1702159SN/A 'general_purpose/flags/load_and_store.py', 1712190SN/A 'general_purpose/flags/push_and_pop.py', 1722159SN/A 'general_purpose/flags/set_and_clear.py', 1732190SN/A 'general_purpose/input_output/__init__.py', 1742190SN/A 'general_purpose/input_output/general_io.py', 1752159SN/A 'general_purpose/input_output/string_io.py', 1762235SN/A 'general_purpose/load_effective_address.py', 1772313SN/A 'general_purpose/load_segment_registers.py', 1782235SN/A 'general_purpose/logical.py', 1792235SN/A 'general_purpose/no_operation.py', 1802235SN/A 'general_purpose/rotate_and_shift/__init__.py', 1812235SN/A 'general_purpose/rotate_and_shift/rotate.py', 1822235SN/A 'general_purpose/rotate_and_shift/shift.py', 1832254SN/A 'general_purpose/semaphores.py', 1842254SN/A 'general_purpose/string/__init__.py', 1852254SN/A 'general_purpose/string/compare_strings.py', 1862235SN/A 'general_purpose/string/load_string.py', 1872235SN/A 'general_purpose/string/move_string.py', 1882235SN/A 'general_purpose/string/scan_string.py', 1892254SN/A 'general_purpose/string/store_string.py', 1902190SN/A 'general_purpose/system_calls.py', 1912159SN/A 'romutil.py', 1922680Sktlim@umich.edu 'system/__init__.py', 1932159SN/A 'system/control_registers.py', 1942190SN/A 'system/halt.py', 1952159SN/A 'system/invlpg.py', 1962159SN/A 'system/undefined_operation.py', 1972159SN/A 'system/msrs.py', 1982159SN/A 'system/segmentation.py', 1992190SN/A 'simd128/__init__.py', 2002159SN/A 'simd128/integer/__init__.py', 2012455SN/A 'simd128/integer/data_transfer/__init__.py', 2022159SN/A 'simd128/integer/data_transfer/move.py', 2032455SN/A 'simd128/integer/data_transfer/move_non_temporal.py', 2042159SN/A 'simd128/integer/data_transfer/move_mask.py', 2052455SN/A 'simd128/integer/data_conversion/__init__.py', 2062455SN/A 'simd128/integer/data_conversion/convert_mmx_integer_to_floating_point.py', 2072455SN/A 'simd128/integer/data_conversion/convert_integer_to_floating_point.py', 2082159SN/A 'simd128/integer/data_conversion/convert_gpr_integer_to_floating_point.py', 2092190SN/A 'simd128/integer/data_reordering/__init__.py', 2102159SN/A 'simd128/integer/data_reordering/unpack_and_interleave.py', 2112455SN/A 'simd128/integer/data_reordering/pack_with_saturation.py', 2122159SN/A 'simd128/integer/data_reordering/extract_and_insert.py', 2132455SN/A 'simd128/integer/data_reordering/shuffle.py', 2142159SN/A 'simd128/integer/arithmetic/__init__.py', 2152455SN/A 'simd128/integer/arithmetic/subtraction.py', 2162455SN/A 'simd128/integer/arithmetic/addition.py', 2172455SN/A 'simd128/integer/arithmetic/multiplication.py', 2182159SN/A 'simd128/integer/arithmetic/multiply_add.py', 2192190SN/A 'simd128/integer/arithmetic/average.py', 2202159SN/A 'simd128/integer/arithmetic/sum_of_absolute_differences.py', 2212190SN/A 'simd128/integer/shift/__init__.py', 2222159SN/A 'simd128/integer/shift/right_arithmetic_shift.py', 2232190SN/A 'simd128/integer/shift/left_logical_shift.py', 2242159SN/A 'simd128/integer/shift/right_logical_shift.py', 2252190SN/A 'simd128/integer/compare/__init__.py', 2262159SN/A 'simd128/integer/compare/compare_and_write_mask.py', 2272447SN/A 'simd128/integer/compare/compare_and_write_minimum_or_maximum.py', 2282447SN/A 'simd128/integer/logical/__init__.py', 2292447SN/A 'simd128/integer/logical/pand.py', 2302447SN/A 'simd128/integer/logical/por.py', 2315260Sksewell@umich.edu 'simd128/integer/logical/exclusive_or.py', 2325260Sksewell@umich.edu 'simd128/integer/save_and_restore_state/__init__.py', 2335260Sksewell@umich.edu 'simd128/integer/save_and_restore_state/save_and_restore_state.py', 2345260Sksewell@umich.edu 'simd128/integer/save_and_restore_state/save_and_restore_control_and_status.py', 2355260Sksewell@umich.edu 'simd128/floating_point/__init__.py', 2365260Sksewell@umich.edu 'simd128/floating_point/data_transfer/__init__.py', 2375260Sksewell@umich.edu 'simd128/floating_point/data_transfer/move_mask.py', 2385260Sksewell@umich.edu 'simd128/floating_point/data_transfer/move.py', 2394172Ssaidi@eecs.umich.edu 'simd128/floating_point/data_transfer/move_with_duplication.py', 2404172Ssaidi@eecs.umich.edu 'simd128/floating_point/data_transfer/move_non_temporal.py', 2412190SN/A 'simd128/floating_point/data_conversion/__init__.py', 2422159SN/A 'simd128/floating_point/data_conversion/convert_floating_point_to_floating_point.py', 2434172Ssaidi@eecs.umich.edu 'simd128/floating_point/data_conversion/convert_floating_point_to_xmm_integer.py', 2442190SN/A 'simd128/floating_point/data_conversion/convert_floating_point_to_mmx_integer.py', 2453468Sgblack@eecs.umich.edu 'simd128/floating_point/data_conversion/convert_floating_point_to_gpr_integer.py', 2462190SN/A 'simd128/floating_point/data_reordering/__init__.py', 2474661Sksewell@umich.edu 'simd128/floating_point/data_reordering/unpack_and_interleave.py', 2484661Sksewell@umich.edu 'simd128/floating_point/data_reordering/shuffle.py', 2494661Sksewell@umich.edu 'simd128/floating_point/arithmetic/__init__.py', 2504661Sksewell@umich.edu 'simd128/floating_point/arithmetic/subtraction.py', 2512235SN/A 'simd128/floating_point/arithmetic/addition.py', 2522235SN/A 'simd128/floating_point/arithmetic/horizontal_subtraction.py', 2532190SN/A 'simd128/floating_point/arithmetic/horizontal_addition.py', 2542190SN/A 'simd128/floating_point/arithmetic/square_root.py', 2552190SN/A 'simd128/floating_point/arithmetic/simultaneous_addition_and_subtraction.py', 2562159SN/A 'simd128/floating_point/arithmetic/multiplication.py', 2572235SN/A 'simd128/floating_point/arithmetic/division.py', 2582190SN/A 'simd128/floating_point/arithmetic/reciprocal_square_root.py', 2592190SN/A 'simd128/floating_point/arithmetic/reciprocal_estimation.py', 2602159SN/A 'simd128/floating_point/compare/__init__.py', 2612190SN/A 'simd128/floating_point/compare/compare_and_write_mask.py', 2622159SN/A 'simd128/floating_point/compare/compare_and_write_rflags.py', 2632159SN/A 'simd128/floating_point/compare/compare_and_write_minimum_or_maximum.py', 2642190SN/A 'simd128/floating_point/logical/__init__.py', 2652159SN/A 'simd128/floating_point/logical/andp.py', 2662190SN/A 'simd128/floating_point/logical/orp.py', 2672159SN/A 'simd128/floating_point/logical/exclusive_or.py', 2682235SN/A 'simd64/__init__.py', 2692190SN/A 'simd64/integer/__init__.py', 2702834Sksewell@umich.edu 'simd64/integer/data_transfer/__init__.py', 2714111Sgblack@eecs.umich.edu 'simd64/integer/data_transfer/move_mask.py', 2724111Sgblack@eecs.umich.edu 'simd64/integer/data_transfer/move.py', 2732834Sksewell@umich.edu 'simd64/integer/data_transfer/move_non_temporal.py', 2742834Sksewell@umich.edu 'simd64/integer/exit_media_state.py', 2752834Sksewell@umich.edu 'simd64/integer/data_reordering/__init__.py', 2762834Sksewell@umich.edu 'simd64/integer/data_reordering/unpack_and_interleave.py', 2772159SN/A 'simd64/integer/data_reordering/pack_with_saturation.py', 2782525SN/A 'simd64/integer/data_reordering/extract_and_insert.py', 2795217Ssaidi@eecs.umich.edu 'simd64/integer/data_reordering/shuffle_and_swap.py', 2805217Ssaidi@eecs.umich.edu 'simd64/integer/data_conversion.py', 2812159SN/A 'simd64/integer/arithmetic/__init__.py', 2822159SN/A 'simd64/integer/arithmetic/subtraction.py', 2832682Sktlim@umich.edu 'simd64/integer/arithmetic/addition.py', 2842682Sktlim@umich.edu 'simd64/integer/arithmetic/multiplication.py', 2852682Sktlim@umich.edu 'simd64/integer/arithmetic/multiply_add.py', 2862682Sktlim@umich.edu 'simd64/integer/arithmetic/average.py', 2872682Sktlim@umich.edu 'simd64/integer/arithmetic/sum_of_absolute_differences.py', 2882682Sktlim@umich.edu 'simd64/integer/shift/__init__.py', 2892682Sktlim@umich.edu 'simd64/integer/shift/right_arithmetic_shift.py', 2902682Sktlim@umich.edu 'simd64/integer/shift/left_logical_shift.py', 2912682Sktlim@umich.edu 'simd64/integer/shift/right_logical_shift.py', 2922682Sktlim@umich.edu 'simd64/integer/compare/__init__.py', 2932680Sktlim@umich.edu 'simd64/integer/compare/compare_and_write_mask.py', 2942680Sktlim@umich.edu 'simd64/integer/compare/compare_and_write_minimum_or_maximum.py', 2952190SN/A 'simd64/integer/logical/__init__.py', 2962190SN/A 'simd64/integer/logical/pand.py', 2972680Sktlim@umich.edu 'simd64/integer/logical/por.py', 2982680Sktlim@umich.edu 'simd64/integer/logical/exclusive_or.py', 2992159SN/A 'simd64/integer/save_and_restore_state.py', 3002190SN/A 'simd64/floating_point/__init__.py', 3012680Sktlim@umich.edu 'simd64/floating_point/arithmetic/__init__.py', 3022SN/A 'simd64/floating_point/arithmetic/subtraction.py', 3032SN/A 'simd64/floating_point/arithmetic/addition.py', 3042SN/A 'simd64/floating_point/arithmetic/reciprocal_estimation.py', 3052680Sktlim@umich.edu 'simd64/floating_point/arithmetic/multiplication.py', 3062SN/A 'simd64/floating_point/arithmetic/accumulation.py', 3075712Shsul@eecs.umich.edu 'simd64/floating_point/arithmetic/reciprocal_square_root.py', 3082SN/A 'simd64/floating_point/data_conversion.py', 3095715Shsul@eecs.umich.edu 'simd64/floating_point/compare/__init__.py', 3105715Shsul@eecs.umich.edu 'simd64/floating_point/compare/compare_and_write_mask.py', 3115715Shsul@eecs.umich.edu 'simd64/floating_point/compare/compare_and_write_minimum_or_maximum.py', 3125714Shsul@eecs.umich.edu 'x87/__init__.py', 3135714Shsul@eecs.umich.edu 'x87/data_transfer_and_conversion/__init__.py', 3145714Shsul@eecs.umich.edu 'x87/data_transfer_and_conversion/convert_and_load_or_store_integer.py', 3155714Shsul@eecs.umich.edu 'x87/data_transfer_and_conversion/load_or_store_floating_point.py', 3165714Shsul@eecs.umich.edu 'x87/data_transfer_and_conversion/exchange.py', 3173453Sgblack@eecs.umich.edu 'x87/data_transfer_and_conversion/convert_and_load_or_store_bcd.py', 3181917SN/A 'x87/data_transfer_and_conversion/conditional_move.py', 3193453Sgblack@eecs.umich.edu 'x87/data_transfer_and_conversion/extract.py', 3202521SN/A 'x87/load_constants/__init__.py', 3214997Sgblack@eecs.umich.edu 'x87/load_constants/load_0_1_or_pi.py', 3224997Sgblack@eecs.umich.edu 'x87/load_constants/load_logarithm.py', 3234997Sgblack@eecs.umich.edu 'x87/arithmetic/__init__.py', 3243548Sgblack@eecs.umich.edu 'x87/arithmetic/subtraction.py', 3253548Sgblack@eecs.umich.edu 'x87/arithmetic/addition.py', 3262654SN/A 'x87/arithmetic/partial_remainder.py', 3272680Sktlim@umich.edu 'x87/arithmetic/multiplication.py', 3282521SN/A 'x87/arithmetic/division.py', 3295499Ssaidi@eecs.umich.edu 'x87/arithmetic/change_sign.py', 3303673Srdreslin@umich.edu 'x87/arithmetic/round.py', 3315497Ssaidi@eecs.umich.edu 'x87/arithmetic/square_root.py', 3322SN/A 'x87/transcendental_functions/__init__.py', 3332680Sktlim@umich.edu 'x87/transcendental_functions/trigonometric_functions.py', 3342518SN/A 'x87/transcendental_functions/logarithmic_functions.py', 3352680Sktlim@umich.edu 'x87/compare_and_test/__init__.py', 3362SN/A 'x87/compare_and_test/classify.py', 3372SN/A 'x87/compare_and_test/test.py', 3382680Sktlim@umich.edu 'x87/compare_and_test/floating_point_ordered_compare.py', 339595SN/A 'x87/compare_and_test/floating_point_unordered_compare.py', 3402680Sktlim@umich.edu 'x87/compare_and_test/integer_compare.py', 3412SN/A 'x87/stack_management/__init__.py', 3422190SN/A 'x87/stack_management/stack_control.py', 3432190SN/A 'x87/stack_management/clear_state.py', 3442680Sktlim@umich.edu 'x87/control/__init__.py', 3452SN/A 'x87/control/clear_exceptions.py', 3462190SN/A 'x87/control/initialize.py', 3475250Sksewell@umich.edu 'x87/control/wait_for_exceptions.py', 3482SN/A 'x87/control/save_x87_status_word.py', 3492190SN/A 'x87/control/save_and_restore_x87_control_word.py', 3502875Sksewell@umich.edu 'x87/control/save_and_restore_x87_environment.py', 3512SN/A 'x87/no_operation.py' 3522190SN/A ) 3535250Sksewell@umich.edu 354217SN/A 3551858SN/A # Add in files generated by the ISA description. 3562680Sktlim@umich.edu isa_desc_files = env.ISADesc('isa/main.isa') 3572190SN/A for f in isa_desc_files: 3582190SN/A # Add in python file dependencies that won't be caught otherwise 3592680Sktlim@umich.edu for pyfile in python_files: 3602680Sktlim@umich.edu env.Depends(f, "isa/insts/%s" % pyfile) 3612190SN/A # Only non-header files need to be compiled. 3622680Sktlim@umich.edu if not f.path.endswith('.hh'): 3632190SN/A Source(f) 3642680Sktlim@umich.edu