specop.isa (9211:46c3a74952ec) specop.isa (10184:bbfa3152bdea)
1// Copyright (c) 2007-2008 The Hewlett-Packard Development Company
2// Copyright (c) 2011 Mark D. Hill and David A. Wood
3// All rights reserved.
4//
5// The license below extends only to copyright in the software and shall
6// not be construed as granting a license to any other intellectual
7// property including but not limited to intellectual property relating
8// to a hardware implementation of the functionality of the software

--- 98 unchanged lines hidden (view full) ---

107 Trace::InstRecord * traceData) const
108 {
109 xc->tcBase()->suspend();
110 return NoFault;
111 }
112}};
113
114output decoder {{
1// Copyright (c) 2007-2008 The Hewlett-Packard Development Company
2// Copyright (c) 2011 Mark D. Hill and David A. Wood
3// All rights reserved.
4//
5// The license below extends only to copyright in the software and shall
6// not be construed as granting a license to any other intellectual
7// property including but not limited to intellectual property relating
8// to a hardware implementation of the functionality of the software

--- 98 unchanged lines hidden (view full) ---

107 Trace::InstRecord * traceData) const
108 {
109 xc->tcBase()->suspend();
110 return NoFault;
111 }
112}};
113
114output decoder {{
115 inline MicroFaultBase::MicroFaultBase(
115 MicroFaultBase::MicroFaultBase(
116 ExtMachInst machInst, const char * instMnem,
117 uint64_t setFlags, Fault _fault, uint8_t _cc) :
118 X86MicroopBase(machInst, "fault", instMnem, setFlags, No_OpClass),
119 fault(_fault), cc(_cc)
120 {
121 }
122}};
123
124def template MicroFaultConstructor {{
116 ExtMachInst machInst, const char * instMnem,
117 uint64_t setFlags, Fault _fault, uint8_t _cc) :
118 X86MicroopBase(machInst, "fault", instMnem, setFlags, No_OpClass),
119 fault(_fault), cc(_cc)
120 {
121 }
122}};
123
124def template MicroFaultConstructor {{
125 inline %(class_name)s::%(class_name)s(
125 %(class_name)s::%(class_name)s(
126 ExtMachInst machInst, const char * instMnem, uint64_t setFlags,
127 Fault _fault, uint8_t _cc) :
128 %(base_class)s(machInst, instMnem, setFlags, _fault, _cc)
129 {
130 %(constructor)s;
131 }
132}};
133

--- 80 unchanged lines hidden (view full) ---

214 const char * instMnem,
215 uint64_t setFlags);
216
217 %(BasicExecDeclare)s
218 };
219}};
220
221def template MicroFenceOpConstructor {{
126 ExtMachInst machInst, const char * instMnem, uint64_t setFlags,
127 Fault _fault, uint8_t _cc) :
128 %(base_class)s(machInst, instMnem, setFlags, _fault, _cc)
129 {
130 %(constructor)s;
131 }
132}};
133

--- 80 unchanged lines hidden (view full) ---

214 const char * instMnem,
215 uint64_t setFlags);
216
217 %(BasicExecDeclare)s
218 };
219}};
220
221def template MicroFenceOpConstructor {{
222 inline %(class_name)s::%(class_name)s(
222 %(class_name)s::%(class_name)s(
223 ExtMachInst machInst, const char * instMnem, uint64_t setFlags) :
224 %(base_class)s(machInst, "%(mnemonic)s", instMnem,
225 setFlags, %(op_class)s)
226 {
227 %(constructor)s;
228 }
229}};
230

--- 29 unchanged lines hidden ---
223 ExtMachInst machInst, const char * instMnem, uint64_t setFlags) :
224 %(base_class)s(machInst, "%(mnemonic)s", instMnem,
225 setFlags, %(op_class)s)
226 {
227 %(constructor)s;
228 }
229}};
230

--- 29 unchanged lines hidden ---