unimp.isa (8565:d9b69f03e7af) unimp.isa (10196:be0e1724eb39)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2003-2005 The Regents of The University of Michigan
4// All rights reserved.
5//
6// Redistribution and use in source and binary forms, with or without
7// modification, are permitted provided that the following conditions are
8// met: redistributions of source code must retain the above copyright

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

104 const SymbolTable *symtab) const
105 {
106 return csprintf("%-10s (unimplemented)", mnemonic);
107 }
108}};
109
110output exec {{
111 Fault
1// -*- mode:c++ -*-
2
3// Copyright (c) 2003-2005 The Regents of The University of Michigan
4// All rights reserved.
5//
6// Redistribution and use in source and binary forms, with or without
7// modification, are permitted provided that the following conditions are
8// met: redistributions of source code must retain the above copyright

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

104 const SymbolTable *symtab) const
105 {
106 return csprintf("%-10s (unimplemented)", mnemonic);
107 }
108}};
109
110output exec {{
111 Fault
112 FailUnimplemented::execute(%(CPU_exec_context)s *xc,
112 FailUnimplemented::execute(CPU_EXEC_CONTEXT *xc,
113 Trace::InstRecord *traceData) const
114 {
115 panic("attempt to execute unimplemented instruction '%s' "
116 "(inst 0x%08x)", mnemonic, machInst);
117 return NoFault;
118 }
119
120 Fault
113 Trace::InstRecord *traceData) const
114 {
115 panic("attempt to execute unimplemented instruction '%s' "
116 "(inst 0x%08x)", mnemonic, machInst);
117 return NoFault;
118 }
119
120 Fault
121 WarnUnimplemented::execute(%(CPU_exec_context)s *xc,
121 WarnUnimplemented::execute(CPU_EXEC_CONTEXT *xc,
122 Trace::InstRecord *traceData) const
123 {
124 if (!warned) {
125 warn("instruction '%s' unimplemented\n", mnemonic);
126 warned = true;
127 }
128
129 return NoFault;

--- 14 unchanged lines hidden ---
122 Trace::InstRecord *traceData) const
123 {
124 if (!warned) {
125 warn("instruction '%s' unimplemented\n", mnemonic);
126 warned = true;
127 }
128
129 return NoFault;

--- 14 unchanged lines hidden ---