unknown.isa (6691:cd68b6ecd68d) | unknown.isa (7720:65d338a8dba4) |
---|---|
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 --- 62 unchanged lines hidden (view full) --- 71 72output exec {{ 73 Fault 74 Unknown::execute(%(CPU_exec_context)s *xc, 75 Trace::InstRecord *traceData) const 76 { 77 panic("attempt to execute unknown instruction at %#x" 78 "(inst 0x%08x, opcode 0x%x, binary: %s)", | 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 --- 62 unchanged lines hidden (view full) --- 71 72output exec {{ 73 Fault 74 Unknown::execute(%(CPU_exec_context)s *xc, 75 Trace::InstRecord *traceData) const 76 { 77 panic("attempt to execute unknown instruction at %#x" 78 "(inst 0x%08x, opcode 0x%x, binary: %s)", |
79 xc->readPC(), machInst, OPCODE, inst2string(machInst)); | 79 xc->pcState().pc(), machInst, OPCODE, inst2string(machInst)); |
80 return new UnimplementedOpcodeFault; 81 } 82}}; 83 84def format Unknown() {{ 85 decode_block = 'return new Unknown(machInst);\n' 86}}; 87 | 80 return new UnimplementedOpcodeFault; 81 } 82}}; 83 84def format Unknown() {{ 85 decode_block = 'return new Unknown(machInst);\n' 86}}; 87 |