X86: Implement the media floating point max instructions.
[gem5.git] / src / arch / x86 / SConscript
index 2a14943b04ab9b91262a0bff72b10fc898a60a35..97868986fa9f2497bbbb01c8da43790f6a2b3318 100644 (file)
@@ -28,7 +28,7 @@
 #
 # Authors: Gabe Black
 
-# Copyright (c) 2007 The Hewlett-Packard Development Company
+# Copyright (c) 2007-2008 The Hewlett-Packard Development Company
 # All rights reserved.
 #
 # Redistribution and use of this software in source and binary forms,
 Import('*')
 
 if env['TARGET_ISA'] == 'x86':
+    Source('cpuid.cc')
     Source('emulenv.cc')
-    Source('floatregfile.cc')
     Source('faults.cc')
     Source('insts/microfpop.cc')
     Source('insts/microldstop.cc')
+    Source('insts/micromediaop.cc')
     Source('insts/microop.cc')
     Source('insts/microregop.cc')
     Source('insts/static_inst.cc')
-    Source('intregfile.cc')
-    Source('miscregfile.cc')
+    Source('isa.cc')
+    Source('nativetrace.cc')
     Source('pagetable.cc')
     Source('predecoder.cc')
     Source('predecoder_tables.cc')
-    Source('regfile.cc')
     Source('remote_gdb.cc')
     Source('tlb.cc')
+    Source('utility.cc')
+
+    SimObject('X86NativeTrace.py')
 
     SimObject('X86TLB.py')
+    TraceFlag('Predecoder', "Predecoder debug output")
+    TraceFlag('X86', "Generic X86 ISA debugging")
 
     if env['FULL_SYSTEM']:
+        TraceFlag('LocalApic', "Local APIC debugging")
+        TraceFlag('PageTableWalker', \
+                  "Page table walker state machine debugging")
+        TraceFlag('Faults', "Trace all faults/exceptions/traps")
+
+        SimObject('X86LocalApic.py')
         SimObject('X86System.py')
 
         # Full-system sources
+        Source('interrupts.cc')
+        Source('linux/system.cc')
+        Source('pagetable_walker.cc')
         Source('system.cc')
         Source('stacktrace.cc')
-        Source('utility.cc')
         Source('vtophys.cc')
     else:
         Source('process.cc')
@@ -165,7 +178,6 @@ if env['TARGET_ISA'] == 'x86':
         'general_purpose/load_segment_registers.py',
         'general_purpose/logical.py',
         'general_purpose/no_operation.py',
-        'general_purpose/processor_information.py',
         'general_purpose/rotate_and_shift/__init__.py',
         'general_purpose/rotate_and_shift/rotate.py',
         'general_purpose/rotate_and_shift/shift.py',
@@ -177,8 +189,14 @@ if env['TARGET_ISA'] == 'x86':
         'general_purpose/string/scan_string.py',
         'general_purpose/string/store_string.py',
         'general_purpose/system_calls.py',
+        'romutil.py',
         'system/__init__.py',
+        'system/control_registers.py',
+        'system/halt.py',
+        'system/invlpg.py',
         'system/undefined_operation.py',
+        'system/msrs.py',
+        'system/segmentation.py',
         'simd128/__init__.py',
         'simd128/integer/__init__.py',
         'simd128/integer/data_transfer/__init__.py',