main.isa (4343:3f11bcf873b3) | main.isa (4348:5c21bdb46e6d) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2007 The Hewlett-Packard Development Company 4// All rights reserved. 5// 6// Redistribution and use of this software in source and binary forms, 7// with or without modification, are permitted provided that the 8// following conditions are met: --- 58 unchanged lines hidden (view full) --- 67//////////////////////////////////////////////////////////////////// 68// 69// Namespace statement. Everything below this line will be in the 70// SparcISAInst namespace. 71// 72 73namespace X86ISA; 74 | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2007 The Hewlett-Packard Development Company 4// All rights reserved. 5// 6// Redistribution and use of this software in source and binary forms, 7// with or without modification, are permitted provided that the 8// following conditions are met: --- 58 unchanged lines hidden (view full) --- 67//////////////////////////////////////////////////////////////////// 68// 69// Namespace statement. Everything below this line will be in the 70// SparcISAInst namespace. 71// 72 73namespace X86ISA; 74 |
75//////////////////////////////////////////////////////////////////// 76// 77// General infrastructure code. These files provide infrastructure 78// which was developed to support x86 but isn't specific to it. 79// 80 81//Include code to build macroops. 82##include "macroop.isa" 83 |
|
75//Include the simple microcode assembler. This will hopefully stay 76//unspecialized for x86 and can later be made available to other ISAs. 77##include "microasm.isa" 78 | 84//Include the simple microcode assembler. This will hopefully stay 85//unspecialized for x86 and can later be made available to other ISAs. 86##include "microasm.isa" 87 |
79//Include code to build macroops. 80##include "macroop.isa" | 88//////////////////////////////////////////////////////////////////// 89// 90// X86 only infrastructure code. 91// |
81 | 92 |
82//Include the base class for x86 instructions, and some support code 83//Code in this file should be general and useful everywhere | 93//Include the base class for x86 instructions, and some support code. |
84##include "base.isa" 85 | 94##include "base.isa" 95 |
96//Include code to specialize an instruction template to operate on 97//a particular set of operands. This is specific to x86 and the x86 98//microcode ISA. 99##include "specialize.isa" 100 101//////////////////////////////////////////////////////////////////// 102// 103// Code which directly specifies isa components like instructions 104// microops, and the decoder. 105// 106 |
|
86//Include the definitions for the instruction formats 87##include "formats/formats.isa" 88 89//Include the operand_types and operand definitions. These are needed by 90//the microop definitions. 91##include "operands.isa" 92 93//Include the definitions of the micro ops. --- 12 unchanged lines hidden --- | 107//Include the definitions for the instruction formats 108##include "formats/formats.isa" 109 110//Include the operand_types and operand definitions. These are needed by 111//the microop definitions. 112##include "operands.isa" 113 114//Include the definitions of the micro ops. --- 12 unchanged lines hidden --- |