specop.isa (5172:4f0e76579e7c) specop.isa (5173:07204d59a328)
1// Copyright (c) 2007 The Hewlett-Packard Development Company
2// All rights reserved.
3//
4// Redistribution and use of this software in source and binary forms,
5// with or without modification, are permitted provided that the
6// following conditions are met:
7//
8// The software must be used only for Non-Commercial Use which means any

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

130 }
131}};
132
133output exec {{
134 Fault
135 MicroHalt::execute(%(CPU_exec_context)s *xc,
136 Trace::InstRecord * traceData) const
137 {
1// Copyright (c) 2007 The Hewlett-Packard Development Company
2// All rights reserved.
3//
4// Redistribution and use of this software in source and binary forms,
5// with or without modification, are permitted provided that the
6// following conditions are met:
7//
8// The software must be used only for Non-Commercial Use which means any

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

130 }
131}};
132
133output exec {{
134 Fault
135 MicroHalt::execute(%(CPU_exec_context)s *xc,
136 Trace::InstRecord * traceData) const
137 {
138 xc->suspend();
138 xc->tcBase()->suspend();
139 return NoFault;
140 }
141}};
142
143output decoder {{
144 inline MicroFaultBase::MicroFaultBase(
145 ExtMachInst machInst, const char * instMnem,
146 Fault _fault, uint8_t _cc) :

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

239 decoder_output += MicroFaultConstructor.subst(iop)
240 microopClasses["fault"] = Fault
241
242 class Halt(X86Microop):
243 def __init__(self):
244 pass
245
246 def getAllocator(self, *microFlags):
139 return NoFault;
140 }
141}};
142
143output decoder {{
144 inline MicroFaultBase::MicroFaultBase(
145 ExtMachInst machInst, const char * instMnem,
146 Fault _fault, uint8_t _cc) :

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

239 decoder_output += MicroFaultConstructor.subst(iop)
240 microopClasses["fault"] = Fault
241
242 class Halt(X86Microop):
243 def __init__(self):
244 pass
245
246 def getAllocator(self, *microFlags):
247 return "new MicroHalt(machInst, mnemonic %(flags)s)" % \
247 return "new MicroHalt(machInst, mnemonic %s)" % \
248 self.microFlagsText(microFlags)
249
250 microopClasses["halt"] = Halt
251}};
248 self.microFlagsText(microFlags)
249
250 microopClasses["halt"] = Halt
251}};