basic.isa (7167:a28390624772) | basic.isa (7168:54105b48a0a7) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2007-2008 The Florida State University 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 --- 75 unchanged lines hidden (view full) --- 84 return new %(class_name)s("%(mnemonic)s", machInst); 85}}; 86 87// Definitions of execute methods that panic. 88def template BasicExecPanic {{ 89Fault execute(%(CPU_exec_context)s *, Trace::InstRecord *) const 90{ 91 panic("Execute method called when it shouldn't!"); | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2007-2008 The Florida State University 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 --- 75 unchanged lines hidden (view full) --- 84 return new %(class_name)s("%(mnemonic)s", machInst); 85}}; 86 87// Definitions of execute methods that panic. 88def template BasicExecPanic {{ 89Fault execute(%(CPU_exec_context)s *, Trace::InstRecord *) const 90{ 91 panic("Execute method called when it shouldn't!"); |
92 // GCC < 4.3 fail to recognize the above panic as no return 93 return NoFault; |
|
92} 93}}; | 94} 95}}; |