unknown.isa (10196:be0e1724eb39) unknown.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

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

44
45output exec {{
46 Fault
47 Unknown::execute(CPU_EXEC_CONTEXT *xc,
48 Trace::InstRecord *traceData) const
49 {
50 panic("attempt to execute unknown instruction "
51 "(inst 0x%08x, opcode 0x%x)", machInst, OPCODE);
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

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

44
45output exec {{
46 Fault
47 Unknown::execute(CPU_EXEC_CONTEXT *xc,
48 Trace::InstRecord *traceData) const
49 {
50 panic("attempt to execute unknown instruction "
51 "(inst 0x%08x, opcode 0x%x)", machInst, OPCODE);
52 return new UnimplementedOpcodeFault;
52 return std::make_shared<UnimplementedOpcodeFault>();
53 }
54}};
55
56def format Unknown() {{
57 decode_block = 'return new Unknown(machInst);\n'
58}};
59
53 }
54}};
55
56def format Unknown() {{
57 decode_block = 'return new Unknown(machInst);\n'
58}};
59