1// -*- mode:c++ -*- 2 3// Copyright (c) 2007 The Hewlett-Packard Development Company 4// All rights reserved. 5// 6// The license below extends only to copyright in the software and shall 7// not be construed as granting a license to any other intellectual 8// property including but not limited to intellectual property relating --- 108 unchanged lines hidden (view full) --- 117#else 118 return csprintf("%-10s (unimplemented)", mnemonic); 119#endif 120 } 121}}; 122 123output exec {{ 124 Fault |
125 FailUnimplemented::execute(ExecContext *xc, |
126 Trace::InstRecord *traceData) const 127 { 128 panic("attempt to execute unimplemented instruction '%s' %s", 129 mnemonic, machInst); 130 return NoFault; 131 } 132 133 Fault |
134 WarnUnimplemented::execute(ExecContext *xc, |
135 Trace::InstRecord *traceData) const 136 { 137 if (!warned) { 138 warn("instruction '%s' unimplemented\n", mnemonic); 139 warned = true; 140 } 141 142 return NoFault; --- 14 unchanged lines hidden --- |