SConscript revision 6181
12139SN/A# -*- mode:python -*-
22139SN/A
312109SRekai.GonzalezAlberquilla@arm.com# Copyright (c) 2005-2006 The Regents of The University of Michigan
412109SRekai.GonzalezAlberquilla@arm.com# All rights reserved.
512109SRekai.GonzalezAlberquilla@arm.com#
612109SRekai.GonzalezAlberquilla@arm.com# Redistribution and use in source and binary forms, with or without
712109SRekai.GonzalezAlberquilla@arm.com# modification, are permitted provided that the following conditions are
812109SRekai.GonzalezAlberquilla@arm.com# met: redistributions of source code must retain the above copyright
912109SRekai.GonzalezAlberquilla@arm.com# notice, this list of conditions and the following disclaimer;
1012109SRekai.GonzalezAlberquilla@arm.com# redistributions in binary form must reproduce the above copyright
1112109SRekai.GonzalezAlberquilla@arm.com# notice, this list of conditions and the following disclaimer in the
1212109SRekai.GonzalezAlberquilla@arm.com# documentation and/or other materials provided with the distribution;
1312109SRekai.GonzalezAlberquilla@arm.com# neither the name of the copyright holders nor the names of its
1412109SRekai.GonzalezAlberquilla@arm.com# contributors may be used to endorse or promote products derived from
152139SN/A# this software without specific prior written permission.
162139SN/A#
172139SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
182139SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
192139SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
202139SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
212139SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
222139SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
232139SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242139SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252139SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262139SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272139SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282139SN/A#
292139SN/A# Authors: Gabe Black
302139SN/A
312139SN/A# Copyright (c) 2007-2008 The Hewlett-Packard Development Company
322139SN/A# All rights reserved.
332139SN/A#
342139SN/A# Redistribution and use of this software in source and binary forms,
352139SN/A# with or without modification, are permitted provided that the
362139SN/A# following conditions are met:
372139SN/A#
382139SN/A# The software must be used only for Non-Commercial Use which means any
392139SN/A# use which is NOT directed to receiving any direct monetary
402665Ssaidi@eecs.umich.edu# compensation for, or commercial advantage from such use.  Illustrative
412665Ssaidi@eecs.umich.edu# examples of non-commercial use are academic research, personal study,
422139SN/A# teaching, education and corporate research & development.
434202Sbinkertn@umich.edu# Illustrative examples of commercial use are distributing products for
448961Sgblack@eecs.umich.edu# commercial advantage and providing services using the software for
4510196SCurtis.Dunham@arm.com# commercial advantage.
462139SN/A#
4712246Sgabeblack@google.com# If you wish to use this software or functionality therein that may be
4812246Sgabeblack@google.com# covered by patents for commercial use, please contact:
494202Sbinkertn@umich.edu#     Director of Intellectual Property Licensing
502152SN/A#     Office of Strategy and Technology
512152SN/A#     Hewlett-Packard Company
522139SN/A#     1501 Page Mill Road
532139SN/A#     Palo Alto, California  94304
542139SN/A#
552139SN/A# Redistributions of source code must retain the above copyright notice,
562139SN/A# this list of conditions and the following disclaimer.  Redistributions
572152SN/A# in binary form must reproduce the above copyright notice, this list of
582152SN/A# conditions and the following disclaimer in the documentation and/or
592139SN/A# other materials provided with the distribution.  Neither the name of
6012015Sgabeblack@google.com# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its
6112015Sgabeblack@google.com# contributors may be used to endorse or promote products derived from
629020Sgblack@eecs.umich.edu# this software without specific prior written permission.  No right of
634781Snate@binkert.org# sublicense is granted herewith.  Derivatives of the software and
647799Sgblack@eecs.umich.edu# output created using the software may be prepared, but only for
654781Snate@binkert.org# Non-Commercial Uses.  Derivatives of the software may be shared with
664781Snate@binkert.org# others provided: (i) the others agree to abide by the list of
673170Sstever@eecs.umich.edu# conditions herein which includes the Non-Commercial Use restrictions;
685664Sgblack@eecs.umich.edu# and (ii) such Derivatives of the software include the above copyright
698105Sgblack@eecs.umich.edu# notice to acknowledge the contribution from this software where
706179Sksewell@umich.edu# applicable, this list of conditions and the disclaimer below.
714781Snate@binkert.org#
7210553Salexandru.dutu@amd.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
736329Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
744781Snate@binkert.org# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
754781Snate@binkert.org# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
764781Snate@binkert.org# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
774781Snate@binkert.org# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
784781Snate@binkert.org# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
7912015Sgabeblack@google.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
8012015Sgabeblack@google.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
812152SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
8211308Santhony.gutierrez@amd.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8312016Sgabeblack@google.com#
8412016Sgabeblack@google.com# Authors: Gabe Black
8511308Santhony.gutierrez@amd.com
8611696Santhony.gutierrez@amd.comImport('*')
8711308Santhony.gutierrez@amd.com
8812016Sgabeblack@google.comif env['TARGET_ISA'] == 'x86':
8912016Sgabeblack@google.com    Source('cpuid.cc')
9011308Santhony.gutierrez@amd.com    Source('emulenv.cc')
912152SN/A    Source('floatregfile.cc')
922152SN/A    Source('faults.cc')
932152SN/A    Source('insts/microfpop.cc')
942152SN/A    Source('insts/microldstop.cc')
952152SN/A    Source('insts/microop.cc')
962152SN/A    Source('insts/microregop.cc')
972152SN/A    Source('insts/static_inst.cc')
982152SN/A    Source('intregfile.cc')
992152SN/A    Source('miscregfile.cc')
1002152SN/A    Source('pagetable.cc')
10112222Sgabeblack@google.com    Source('predecoder.cc')
1022152SN/A    Source('predecoder_tables.cc')
10312222Sgabeblack@google.com    Source('regfile.cc')
10412222Sgabeblack@google.com    Source('remote_gdb.cc')
10512222Sgabeblack@google.com    Source('tlb.cc')
10612222Sgabeblack@google.com    Source('utility.cc')
1072152SN/A
10812222Sgabeblack@google.com    SimObject('X86TLB.py')
10912222Sgabeblack@google.com    TraceFlag('Predecoder', "Predecoder debug output")
11012222Sgabeblack@google.com    TraceFlag('X86', "Generic X86 ISA debugging")
11112222Sgabeblack@google.com
1122152SN/A    if env['FULL_SYSTEM']:
1132152SN/A        TraceFlag('LocalApic', "Local APIC debugging")
1142152SN/A        TraceFlag('PageTableWalker', \
1152152SN/A                  "Page table walker state machine debugging")
1162152SN/A        TraceFlag('Faults', "Trace all faults/exceptions/traps")
1172152SN/A
11812222Sgabeblack@google.com        SimObject('X86LocalApic.py')
11912222Sgabeblack@google.com        SimObject('X86System.py')
1206993Snate@binkert.org
1216998Snate@binkert.org        # Full-system sources
1226998Snate@binkert.org        Source('interrupts.cc')
1236998Snate@binkert.org        Source('linux/system.cc')
12412222Sgabeblack@google.com        Source('pagetable_walker.cc')
12512222Sgabeblack@google.com        Source('system.cc')
12612222Sgabeblack@google.com        Source('stacktrace.cc')
1276993Snate@binkert.org        Source('vtophys.cc')
1286993Snate@binkert.org    else:
12910319SAndreas.Sandberg@ARM.com        Source('process.cc')
1306993Snate@binkert.org
1312152SN/A        Source('linux/linux.cc')
13212222Sgabeblack@google.com        Source('linux/process.cc')
1332152SN/A        Source('linux/syscalls.cc')
13412222Sgabeblack@google.com
1355944Sgblack@eecs.umich.edu    python_files = (
13610196SCurtis.Dunham@arm.com        '__init__.py',
13712222Sgabeblack@google.com        'general_purpose/__init__.py',
13812222Sgabeblack@google.com        'general_purpose/arithmetic/__init__.py',
13912222Sgabeblack@google.com        'general_purpose/arithmetic/add_and_subtract.py',
14012222Sgabeblack@google.com        'general_purpose/arithmetic/increment_and_decrement.py',
14110196SCurtis.Dunham@arm.com        'general_purpose/arithmetic/multiply_and_divide.py',
14212222Sgabeblack@google.com        'general_purpose/cache_and_memory_management.py',
14312222Sgabeblack@google.com        'general_purpose/compare_and_test/__init__.py',
14412222Sgabeblack@google.com        'general_purpose/compare_and_test/bit_scan.py',
14512222Sgabeblack@google.com        'general_purpose/compare_and_test/bit_test.py',
14610196SCurtis.Dunham@arm.com        'general_purpose/compare_and_test/bounds.py',
14712222Sgabeblack@google.com        'general_purpose/compare_and_test/compare.py',
14812222Sgabeblack@google.com        'general_purpose/compare_and_test/set_byte_on_condition.py',
14912222Sgabeblack@google.com        'general_purpose/compare_and_test/test.py',
15012222Sgabeblack@google.com        'general_purpose/control_transfer/__init__.py',
15112222Sgabeblack@google.com        'general_purpose/control_transfer/call.py',
15212222Sgabeblack@google.com        'general_purpose/control_transfer/conditional_jump.py',
15310196SCurtis.Dunham@arm.com        'general_purpose/control_transfer/interrupts_and_exceptions.py',
15412222Sgabeblack@google.com        'general_purpose/control_transfer/jump.py',
15512222Sgabeblack@google.com        'general_purpose/control_transfer/loop.py',
15612222Sgabeblack@google.com        'general_purpose/control_transfer/xreturn.py',
15712222Sgabeblack@google.com        'general_purpose/data_conversion/__init__.py',
15812222Sgabeblack@google.com        'general_purpose/data_conversion/ascii_adjust.py',
15912222Sgabeblack@google.com        'general_purpose/data_conversion/bcd_adjust.py',
16012222Sgabeblack@google.com        'general_purpose/data_conversion/endian_conversion.py',
16110196SCurtis.Dunham@arm.com        'general_purpose/data_conversion/extract_sign_mask.py',
16212222Sgabeblack@google.com        'general_purpose/data_conversion/sign_extension.py',
16312222Sgabeblack@google.com        'general_purpose/data_conversion/translate.py',
16412222Sgabeblack@google.com        'general_purpose/data_transfer/__init__.py',
16512222Sgabeblack@google.com        'general_purpose/data_transfer/conditional_move.py',
16612222Sgabeblack@google.com        'general_purpose/data_transfer/move.py',
16712222Sgabeblack@google.com        'general_purpose/data_transfer/stack_operations.py',
16810196SCurtis.Dunham@arm.com        'general_purpose/data_transfer/xchg.py',
16912222Sgabeblack@google.com        'general_purpose/flags/__init__.py',
17012222Sgabeblack@google.com        'general_purpose/flags/load_and_store.py',
17112222Sgabeblack@google.com        'general_purpose/flags/push_and_pop.py',
17212222Sgabeblack@google.com        'general_purpose/flags/set_and_clear.py',
17312222Sgabeblack@google.com        'general_purpose/input_output/__init__.py',
17412222Sgabeblack@google.com        'general_purpose/input_output/general_io.py',
17512222Sgabeblack@google.com        'general_purpose/input_output/string_io.py',
17612222Sgabeblack@google.com        'general_purpose/load_effective_address.py',
17712222Sgabeblack@google.com        'general_purpose/load_segment_registers.py',
17812222Sgabeblack@google.com        'general_purpose/logical.py',
17912222Sgabeblack@google.com        'general_purpose/no_operation.py',
18010196SCurtis.Dunham@arm.com        'general_purpose/rotate_and_shift/__init__.py',
18112222Sgabeblack@google.com        'general_purpose/rotate_and_shift/rotate.py',
18212222Sgabeblack@google.com        'general_purpose/rotate_and_shift/shift.py',
18312222Sgabeblack@google.com        'general_purpose/semaphores.py',
18412222Sgabeblack@google.com        'general_purpose/string/__init__.py',
18512222Sgabeblack@google.com        'general_purpose/string/compare_strings.py',
18612222Sgabeblack@google.com        'general_purpose/string/load_string.py',
18712222Sgabeblack@google.com        'general_purpose/string/move_string.py',
18812222Sgabeblack@google.com        'general_purpose/string/scan_string.py',
18912222Sgabeblack@google.com        'general_purpose/string/store_string.py',
19012222Sgabeblack@google.com        'general_purpose/system_calls.py',
19112222Sgabeblack@google.com        'romutil.py',
19212222Sgabeblack@google.com        'system/__init__.py',
19312222Sgabeblack@google.com        'system/control_registers.py',
19412222Sgabeblack@google.com        'system/halt.py',
19512222Sgabeblack@google.com        'system/invlpg.py',
19612222Sgabeblack@google.com        'system/undefined_operation.py',
19712222Sgabeblack@google.com        'system/msrs.py',
19812222Sgabeblack@google.com        'system/segmentation.py',
19912222Sgabeblack@google.com        'simd128/__init__.py',
20012222Sgabeblack@google.com        'simd128/integer/__init__.py',
20112222Sgabeblack@google.com        'simd128/integer/data_transfer/__init__.py',
20212222Sgabeblack@google.com        'simd128/integer/data_transfer/move.py',
20312222Sgabeblack@google.com        'simd128/integer/data_transfer/move_non_temporal.py',
20412222Sgabeblack@google.com        'simd128/integer/data_transfer/move_mask.py',
20512222Sgabeblack@google.com        'simd128/integer/data_conversion/__init__.py',
20612222Sgabeblack@google.com        'simd128/integer/data_conversion/convert_mmx_integer_to_floating_point.py',
20712222Sgabeblack@google.com        'simd128/integer/data_conversion/convert_integer_to_floating_point.py',
20812222Sgabeblack@google.com        'simd128/integer/data_conversion/convert_gpr_integer_to_floating_point.py',
20912222Sgabeblack@google.com        'simd128/integer/data_reordering/__init__.py',
21012222Sgabeblack@google.com        'simd128/integer/data_reordering/unpack_and_interleave.py',
21112222Sgabeblack@google.com        'simd128/integer/data_reordering/pack_with_saturation.py',
21212222Sgabeblack@google.com        'simd128/integer/data_reordering/extract_and_insert.py',
21312222Sgabeblack@google.com        'simd128/integer/data_reordering/shuffle.py',
21412222Sgabeblack@google.com        'simd128/integer/arithmetic/__init__.py',
21512222Sgabeblack@google.com        'simd128/integer/arithmetic/subtraction.py',
21612222Sgabeblack@google.com        'simd128/integer/arithmetic/addition.py',
21712222Sgabeblack@google.com        'simd128/integer/arithmetic/multiplication.py',
21812222Sgabeblack@google.com        'simd128/integer/arithmetic/multiply_add.py',
21912222Sgabeblack@google.com        'simd128/integer/arithmetic/average.py',
22012222Sgabeblack@google.com        'simd128/integer/arithmetic/sum_of_absolute_differences.py',
22112222Sgabeblack@google.com        'simd128/integer/shift/__init__.py',
22212222Sgabeblack@google.com        'simd128/integer/shift/right_arithmetic_shift.py',
22312222Sgabeblack@google.com        'simd128/integer/shift/left_logical_shift.py',
22412222Sgabeblack@google.com        'simd128/integer/shift/right_logical_shift.py',
22510196SCurtis.Dunham@arm.com        'simd128/integer/compare/__init__.py',
2268335Snate@binkert.org        'simd128/integer/compare/compare_and_write_mask.py',
2278335Snate@binkert.org        'simd128/integer/compare/compare_and_write_minimum_or_maximum.py',
22812109SRekai.GonzalezAlberquilla@arm.com        'simd128/integer/logical/__init__.py',
2299920Syasuko.eckert@amd.com        'simd128/integer/logical/pand.py',
2308335Snate@binkert.org        'simd128/integer/logical/por.py',
23110935Snilay@cs.wisc.edu        'simd128/integer/logical/exclusive_or.py',
232        'simd128/integer/save_and_restore_state/__init__.py',
233        'simd128/integer/save_and_restore_state/save_and_restore_state.py',
234        'simd128/integer/save_and_restore_state/save_and_restore_control_and_status.py',
235        'simd128/floating_point/__init__.py',
236        'simd128/floating_point/data_transfer/__init__.py',
237        'simd128/floating_point/data_transfer/move_mask.py',
238        'simd128/floating_point/data_transfer/move.py',
239        'simd128/floating_point/data_transfer/move_with_duplication.py',
240        'simd128/floating_point/data_transfer/move_non_temporal.py',
241        'simd128/floating_point/data_conversion/__init__.py',
242        'simd128/floating_point/data_conversion/convert_floating_point_to_floating_point.py',
243        'simd128/floating_point/data_conversion/convert_floating_point_to_xmm_integer.py',
244        'simd128/floating_point/data_conversion/convert_floating_point_to_mmx_integer.py',
245        'simd128/floating_point/data_conversion/convert_floating_point_to_gpr_integer.py',
246        'simd128/floating_point/data_reordering/__init__.py',
247        'simd128/floating_point/data_reordering/unpack_and_interleave.py',
248        'simd128/floating_point/data_reordering/shuffle.py',
249        'simd128/floating_point/arithmetic/__init__.py',
250        'simd128/floating_point/arithmetic/subtraction.py',
251        'simd128/floating_point/arithmetic/addition.py',
252        'simd128/floating_point/arithmetic/horizontal_subtraction.py',
253        'simd128/floating_point/arithmetic/horizontal_addition.py',
254        'simd128/floating_point/arithmetic/square_root.py',
255        'simd128/floating_point/arithmetic/simultaneous_addition_and_subtraction.py',
256        'simd128/floating_point/arithmetic/multiplication.py',
257        'simd128/floating_point/arithmetic/division.py',
258        'simd128/floating_point/arithmetic/reciprocal_square_root.py',
259        'simd128/floating_point/arithmetic/reciprocal_estimation.py',
260        'simd128/floating_point/compare/__init__.py',
261        'simd128/floating_point/compare/compare_and_write_mask.py',
262        'simd128/floating_point/compare/compare_and_write_rflags.py',
263        'simd128/floating_point/compare/compare_and_write_minimum_or_maximum.py',
264        'simd128/floating_point/logical/__init__.py',
265        'simd128/floating_point/logical/andp.py',
266        'simd128/floating_point/logical/orp.py',
267        'simd128/floating_point/logical/exclusive_or.py',
268        'simd64/__init__.py',
269        'simd64/integer/__init__.py',
270        'simd64/integer/data_transfer/__init__.py',
271        'simd64/integer/data_transfer/move_mask.py',
272        'simd64/integer/data_transfer/move.py',
273        'simd64/integer/data_transfer/move_non_temporal.py',
274        'simd64/integer/exit_media_state.py',
275        'simd64/integer/data_reordering/__init__.py',
276        'simd64/integer/data_reordering/unpack_and_interleave.py',
277        'simd64/integer/data_reordering/pack_with_saturation.py',
278        'simd64/integer/data_reordering/extract_and_insert.py',
279        'simd64/integer/data_reordering/shuffle_and_swap.py',
280        'simd64/integer/data_conversion.py',
281        'simd64/integer/arithmetic/__init__.py',
282        'simd64/integer/arithmetic/subtraction.py',
283        'simd64/integer/arithmetic/addition.py',
284        'simd64/integer/arithmetic/multiplication.py',
285        'simd64/integer/arithmetic/multiply_add.py',
286        'simd64/integer/arithmetic/average.py',
287        'simd64/integer/arithmetic/sum_of_absolute_differences.py',
288        'simd64/integer/shift/__init__.py',
289        'simd64/integer/shift/right_arithmetic_shift.py',
290        'simd64/integer/shift/left_logical_shift.py',
291        'simd64/integer/shift/right_logical_shift.py',
292        'simd64/integer/compare/__init__.py',
293        'simd64/integer/compare/compare_and_write_mask.py',
294        'simd64/integer/compare/compare_and_write_minimum_or_maximum.py',
295        'simd64/integer/logical/__init__.py',
296        'simd64/integer/logical/pand.py',
297        'simd64/integer/logical/por.py',
298        'simd64/integer/logical/exclusive_or.py',
299        'simd64/integer/save_and_restore_state.py',
300        'simd64/floating_point/__init__.py',
301        'simd64/floating_point/arithmetic/__init__.py',
302        'simd64/floating_point/arithmetic/subtraction.py',
303        'simd64/floating_point/arithmetic/addition.py',
304        'simd64/floating_point/arithmetic/reciprocal_estimation.py',
305        'simd64/floating_point/arithmetic/multiplication.py',
306        'simd64/floating_point/arithmetic/accumulation.py',
307        'simd64/floating_point/arithmetic/reciprocal_square_root.py',
308        'simd64/floating_point/data_conversion.py',
309        'simd64/floating_point/compare/__init__.py',
310        'simd64/floating_point/compare/compare_and_write_mask.py',
311        'simd64/floating_point/compare/compare_and_write_minimum_or_maximum.py',
312        'x87/__init__.py',
313        'x87/data_transfer_and_conversion/__init__.py',
314        'x87/data_transfer_and_conversion/convert_and_load_or_store_integer.py',
315        'x87/data_transfer_and_conversion/load_or_store_floating_point.py',
316        'x87/data_transfer_and_conversion/exchange.py',
317        'x87/data_transfer_and_conversion/convert_and_load_or_store_bcd.py',
318        'x87/data_transfer_and_conversion/conditional_move.py',
319        'x87/data_transfer_and_conversion/extract.py',
320        'x87/load_constants/__init__.py',
321        'x87/load_constants/load_0_1_or_pi.py',
322        'x87/load_constants/load_logarithm.py',
323        'x87/arithmetic/__init__.py',
324        'x87/arithmetic/subtraction.py',
325        'x87/arithmetic/addition.py',
326        'x87/arithmetic/partial_remainder.py',
327        'x87/arithmetic/multiplication.py',
328        'x87/arithmetic/division.py',
329        'x87/arithmetic/change_sign.py',
330        'x87/arithmetic/round.py',
331        'x87/arithmetic/square_root.py',
332        'x87/transcendental_functions/__init__.py',
333        'x87/transcendental_functions/trigonometric_functions.py',
334        'x87/transcendental_functions/logarithmic_functions.py',
335        'x87/compare_and_test/__init__.py',
336        'x87/compare_and_test/classify.py',
337        'x87/compare_and_test/test.py',
338        'x87/compare_and_test/floating_point_ordered_compare.py',
339        'x87/compare_and_test/floating_point_unordered_compare.py',
340        'x87/compare_and_test/integer_compare.py',
341        'x87/stack_management/__init__.py',
342        'x87/stack_management/stack_control.py',
343        'x87/stack_management/clear_state.py',
344        'x87/control/__init__.py',
345        'x87/control/clear_exceptions.py',
346        'x87/control/initialize.py',
347        'x87/control/wait_for_exceptions.py',
348        'x87/control/save_x87_status_word.py',
349        'x87/control/save_and_restore_x87_control_word.py',
350        'x87/control/save_and_restore_x87_environment.py',
351        'x87/no_operation.py'
352        )
353
354
355    # Add in files generated by the ISA description.
356    isa_desc_files = env.ISADesc('isa/main.isa')
357    for f in isa_desc_files:
358        # Add in python file dependencies that won't be caught otherwise
359        for pyfile in python_files:
360            env.Depends(f, "isa/insts/%s" % pyfile)
361        # Only non-header files need to be compiled.
362        if not f.path.endswith('.hh'):
363            Source(f)
364