opcdec.isa (10196:be0e1724eb39) | opcdec.isa (10474:799c8ee4ecba) |
---|---|
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 --- 55 unchanged lines hidden (view full) --- 64 } 65}}; 66 67output exec {{ 68 Fault 69 OpcdecFault::execute(CPU_EXEC_CONTEXT *xc, 70 Trace::InstRecord *traceData) const 71 { | 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 --- 55 unchanged lines hidden (view full) --- 64 } 65}}; 66 67output exec {{ 68 Fault 69 OpcdecFault::execute(CPU_EXEC_CONTEXT *xc, 70 Trace::InstRecord *traceData) const 71 { |
72 return new UnimplementedOpcodeFault; | 72 return std::make_shared<UnimplementedOpcodeFault>(); |
73 } 74}}; 75 76def format OpcdecFault() {{ 77 decode_block = 'return new OpcdecFault(machInst);\n' 78}}; 79 | 73 } 74}}; 75 76def format OpcdecFault() {{ 77 decode_block = 'return new OpcdecFault(machInst);\n' 78}}; 79 |