diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-09-10 16:49:07 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-09-10 16:49:07 -0700 |
commit | 0f57b407a3df68f93e73e0635569d7bf5dd151b0 (patch) | |
tree | 220c3759416892883046065e7a58b735df3dd83e | |
parent | 87408d5ad27c7240d9169c0becd0cd01725c2a80 (diff) | |
download | gem5-0f57b407a3df68f93e73e0635569d7bf5dd151b0.tar.xz |
X86: Make the isa parser run if any of the microcode files change.
--HG--
extra : convert_revision : 7f6d07de7e0d728a9333fb46c953dbe6cb04e600
-rw-r--r-- | src/arch/x86/SConscript | 74 |
1 files changed, 73 insertions, 1 deletions
diff --git a/src/arch/x86/SConscript b/src/arch/x86/SConscript index b791a0624..31e38abe1 100644 --- a/src/arch/x86/SConscript +++ b/src/arch/x86/SConscript @@ -84,6 +84,7 @@ # Authors: Gabe Black Import('*') + if env['TARGET_ISA'] == 'x86': Source('emulenv.cc') Source('floatregfile.cc') @@ -110,9 +111,80 @@ if env['TARGET_ISA'] == 'x86': Source('linux/process.cc') Source('linux/syscalls.cc') + python_files = ( + '__init__.py', + 'arithmetic/__init__.py', + 'arithmetic/add_and_subtract.py', + 'arithmetic/increment_and_decrement.py', + 'arithmetic/multiply_and_divide.py', + 'cache_and_memory_management.py', + 'compare_and_test/__init__.py', + 'compare_and_test/bit_scan.py', + 'compare_and_test/bit_test.py', + 'compare_and_test/bounds.py', + 'compare_and_test/compare.py', + 'compare_and_test/set_byte_on_condition.py', + 'compare_and_test/test.py', + 'control_transfer/__init__.py', + 'control_transfer/call.py', + 'control_transfer/conditional_jump.py', + 'control_transfer/interrupts_and_exceptions.py', + 'control_transfer/jump.py', + 'control_transfer/loop.py', + 'control_transfer/xreturn.py', + 'data_conversion/__init__.py', + 'data_conversion/ascii_adjust.py', + 'data_conversion/bcd_adjust.py', + 'data_conversion/endian_conversion.py', + 'data_conversion/extract_sign_mask.py', + 'data_conversion/sign_extension.py', + 'data_conversion/translate.py', + 'data_transfer/__init__.py', + 'data_transfer/conditional_move.py', + 'data_transfer/move.py', + 'data_transfer/stack_operations.py', + 'data_transfer/xchg.py', + 'flags/__init__.py', + 'flags/load_and_store.py', + 'flags/push_and_pop.py', + 'flags/set_and_clear.py', + 'input_output/__init__.py', + 'input_output/general_io.py', + 'input_output/string_io.py', + 'load_effective_address.py', + 'load_segment_registers.py', + 'logical.py', + 'no_operation.py', + 'processor_information.py', + 'rotate_and_shift/__init__.py', + 'rotate_and_shift/rotate.py', + 'rotate_and_shift/shift.py', + 'semaphores.py', + 'string/__init__.py', + 'string/compare_strings.py', + 'string/load_string.py', + 'string/move_string.py', + 'string/scan_string.py', + 'string/store_string.py', + 'system/__init__.py', + 'system/undefined_operation.py', + 'system_calls.py', + 'sse/__init__.py', + 'sse/move.py', + 'sse/convert.py', + 'sse/add_and_subtract.py', + 'sse/multiply_and_divide.py', + 'sse/logical.py', + 'sse/compare.py', + 'sse/square_root.py' + ) + # Add in files generated by the ISA description. isa_desc_files = env.ISADesc('isa/main.isa') - # Only non-header files need to be compiled. for f in isa_desc_files: + # Add in python file dependencies that won't be caught otherwise + for pyfile in python_files: + env.Depends(f, "isa/insts/%s" % pyfile) + # Only non-header files need to be compiled. if not f.path.endswith('.hh'): Source(f) |