unimp.isa (2665:a124942bacb8) | 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 --- 99 unchanged lines hidden (view full) --- 108#else 109 return csprintf("%-10s (unimplemented)", mnemonic); 110#endif 111 } 112}}; 113 114output exec {{ 115 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 --- 99 unchanged lines hidden (view full) --- 108#else 109 return csprintf("%-10s (unimplemented)", mnemonic); 110#endif 111 } 112}}; 113 114output exec {{ 115 Fault |
116 FailUnimplemented::execute(%(CPU_exec_context)s *xc, | 116 FailUnimplemented::execute(CPU_EXEC_CONTEXT *xc, |
117 Trace::InstRecord *traceData) const 118 { 119 panic("attempt to execute unimplemented instruction '%s' " 120 "(inst 0x%08x, opcode 0x%x)", mnemonic, machInst, OPCODE); 121 return new UnimplementedOpcodeFault; 122 } 123 124 Fault | 117 Trace::InstRecord *traceData) const 118 { 119 panic("attempt to execute unimplemented instruction '%s' " 120 "(inst 0x%08x, opcode 0x%x)", mnemonic, machInst, OPCODE); 121 return new UnimplementedOpcodeFault; 122 } 123 124 Fault |
125 WarnUnimplemented::execute(%(CPU_exec_context)s *xc, | 125 WarnUnimplemented::execute(CPU_EXEC_CONTEXT *xc, |
126 Trace::InstRecord *traceData) const 127 { 128 if (!warned) { 129 warn("instruction '%s' unimplemented\n", mnemonic); 130 warned = true; 131 } 132 133 return NoFault; --- 39 unchanged lines hidden --- | 126 Trace::InstRecord *traceData) const 127 { 128 if (!warned) { 129 warn("instruction '%s' unimplemented\n", mnemonic); 130 warned = true; 131 } 132 133 return NoFault; --- 39 unchanged lines hidden --- |