unknown.isa (10474:799c8ee4ecba) unknown.isa (12234:78ece221f9f5)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2006 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

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

64 {
65 return csprintf("%-10s (inst 0x%x, opcode 0x%x, binary:%s)",
66 "unknown", machInst, OPCODE, inst2string(machInst));
67 }
68}};
69
70output exec {{
71 Fault
1// -*- mode:c++ -*-
2
3// Copyright (c) 2006 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

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

64 {
65 return csprintf("%-10s (inst 0x%x, opcode 0x%x, binary:%s)",
66 "unknown", machInst, OPCODE, inst2string(machInst));
67 }
68}};
69
70output exec {{
71 Fault
72 Unknown::execute(CPU_EXEC_CONTEXT *xc,
73 Trace::InstRecord *traceData) const
72 Unknown::execute(ExecContext *xc, Trace::InstRecord *traceData) const
74 {
75 return std::make_shared<ReservedInstructionFault>();
76 }
77}};
78
79def format Unknown() {{
80 decode_block = 'return new Unknown(machInst);\n'
81}};
82
73 {
74 return std::make_shared<ReservedInstructionFault>();
75 }
76}};
77
78def format Unknown() {{
79 decode_block = 'return new Unknown(machInst);\n'
80}};
81