unknown.isa (10196:be0e1724eb39) unknown.isa (10474:799c8ee4ecba)
1// Copyright (c) 2006 The Regents of The University of Michigan
2// All rights reserved.
3//
4// Redistribution and use in source and binary forms, with or without
5// modification, are permitted provided that the following conditions are
6// met: redistributions of source code must retain the above copyright
7// notice, this list of conditions and the following disclaimer;
8// redistributions in binary form must reproduce the above copyright

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

61 return "Unknown instruction";
62 }
63}};
64
65output exec {{
66 Fault Unknown::execute(CPU_EXEC_CONTEXT *xc,
67 Trace::InstRecord *traceData) const
68 {
1// Copyright (c) 2006 The Regents of The University of Michigan
2// All rights reserved.
3//
4// Redistribution and use in source and binary forms, with or without
5// modification, are permitted provided that the following conditions are
6// met: redistributions of source code must retain the above copyright
7// notice, this list of conditions and the following disclaimer;
8// redistributions in binary form must reproduce the above copyright

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

61 return "Unknown instruction";
62 }
63}};
64
65output exec {{
66 Fault Unknown::execute(CPU_EXEC_CONTEXT *xc,
67 Trace::InstRecord *traceData) const
68 {
69 return new IllegalInstruction;
69 return std::make_shared<IllegalInstruction>();
70 }
71}};
72
73def format Unknown() {{
74 decode_block = 'return new Unknown(machInst);\n'
75}};
70 }
71}};
72
73def format Unknown() {{
74 decode_block = 'return new Unknown(machInst);\n'
75}};