summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/main.isa
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-04-06 16:55:56 +0000
committerGabe Black <gblack@eecs.umich.edu>2007-04-06 16:55:56 +0000
commit5d52cd64093548c80c4ab3daecb6b2daceade290 (patch)
treeaac7b7110e417be568120b5b001f9230a28f6271 /src/arch/x86/isa/main.isa
parenta3ed19f82a34626231ae7b5a024331b24645c01c (diff)
downloadgem5-5d52cd64093548c80c4ab3daecb6b2daceade290.tar.xz
Move the instruction specialization stuff out of the microassembler file, and added some comments to main.isa
--HG-- extra : convert_revision : 1534ae7d5a9e95bf662d79a04f9286c227541c6c
Diffstat (limited to 'src/arch/x86/isa/main.isa')
-rw-r--r--src/arch/x86/isa/main.isa29
1 files changed, 25 insertions, 4 deletions
diff --git a/src/arch/x86/isa/main.isa b/src/arch/x86/isa/main.isa
index d9e90689d..063d7125d 100644
--- a/src/arch/x86/isa/main.isa
+++ b/src/arch/x86/isa/main.isa
@@ -72,17 +72,38 @@
namespace X86ISA;
+////////////////////////////////////////////////////////////////////
+//
+// General infrastructure code. These files provide infrastructure
+// which was developed to support x86 but isn't specific to it.
+//
+
+//Include code to build macroops.
+##include "macroop.isa"
+
//Include the simple microcode assembler. This will hopefully stay
//unspecialized for x86 and can later be made available to other ISAs.
##include "microasm.isa"
-//Include code to build macroops.
-##include "macroop.isa"
+////////////////////////////////////////////////////////////////////
+//
+// X86 only infrastructure code.
+//
-//Include the base class for x86 instructions, and some support code
-//Code in this file should be general and useful everywhere
+//Include the base class for x86 instructions, and some support code.
##include "base.isa"
+//Include code to specialize an instruction template to operate on
+//a particular set of operands. This is specific to x86 and the x86
+//microcode ISA.
+##include "specialize.isa"
+
+////////////////////////////////////////////////////////////////////
+//
+// Code which directly specifies isa components like instructions
+// microops, and the decoder.
+//
+
//Include the definitions for the instruction formats
##include "formats/formats.isa"