diff options
Diffstat (limited to 'src/arch/x86/isa/main.isa')
-rw-r--r-- | src/arch/x86/isa/main.isa | 29 |
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" |