unknown.isa (2754:e3d023bc752c) unknown.isa (5222:bb733a878f85)
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

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

67 }
68}};
69
70output exec {{
71 Fault
72 Unknown::execute(%(CPU_exec_context)s *xc,
73 Trace::InstRecord *traceData) const
74 {
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

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

67 }
68}};
69
70output exec {{
71 Fault
72 Unknown::execute(%(CPU_exec_context)s *xc,
73 Trace::InstRecord *traceData) const
74 {
75 panic("attempt to execute unknown instruction "
76 "(inst 0x%08x, opcode 0x%x, binary: %s)", machInst, OPCODE, inst2string(machInst));
77 return new UnimplementedOpcodeFault;
75 return new ReservedInstructionFault;
78 }
79}};
80
81def format Unknown() {{
82 decode_block = 'return new Unknown(machInst);\n'
83}};
84
76 }
77}};
78
79def format Unknown() {{
80 decode_block = 'return new Unknown(machInst);\n'
81}};
82