unknown.isa (10474:799c8ee4ecba) unknown.isa (12234:78ece221f9f5)
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

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

39 {
40 return csprintf("%-10s (inst 0x%x, opcode 0x%x)",
41 "unknown", machInst, OPCODE);
42 }
43}};
44
45output exec {{
46 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

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

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