1// -*- mode:c++ -*- 2 3// Copyright (c) 2007-2008 The Florida State University 4// Copyright (c) 2009 The University of Edinburgh 5// All rights reserved. 6// 7// Redistribution and use in source and binary forms, with or without 8// modification, are permitted provided that the following conditions are --- 57 unchanged lines hidden (view full) --- 66 { 67 return csprintf("%-10s (inst 0x%x, opcode 0x%x, binary:%s)", 68 "unknown", machInst, OPCODE, inst2string(machInst)); 69 } 70}}; 71 72output exec {{ 73 Fault |
74 Unknown::execute(ExecContext *xc, Trace::InstRecord *traceData) const |
75 { 76 panic("attempt to execute unknown instruction at %#x" 77 "(inst 0x%08x, opcode 0x%x, binary: %s)", 78 xc->pcState().pc(), machInst, OPCODE, inst2string(machInst)); 79 return std::make_shared<UnimplementedOpcodeFault>(); 80 } 81}}; 82 83def format Unknown() {{ 84 decode_block = 'return new Unknown(machInst);\n' 85}}; 86 |