basic.isa (3272:c28038eaefb8) | basic.isa (3275:72793cdc795c) |
---|---|
1// Copyright (c) 2006 The Regents of The University of Michigan 2// All rights reserved. 3// 4// Redistribution and use in source and binary forms, with or without 5// modification, are permitted provided that the following conditions are 6// met: redistributions of source code must retain the above copyright 7// notice, this list of conditions and the following disclaimer; 8// redistributions in binary form must reproduce the above copyright --- 19 unchanged lines hidden (view full) --- 28// Gabe Black 29// Steve Reinhardt 30 31// Declarations for execute() methods. 32def template BasicExecDeclare {{ 33 Fault execute(%(CPU_exec_context)s *, Trace::InstRecord *) const; 34}}; 35 | 1// Copyright (c) 2006 The Regents of The University of Michigan 2// All rights reserved. 3// 4// Redistribution and use in source and binary forms, with or without 5// modification, are permitted provided that the following conditions are 6// met: redistributions of source code must retain the above copyright 7// notice, this list of conditions and the following disclaimer; 8// redistributions in binary form must reproduce the above copyright --- 19 unchanged lines hidden (view full) --- 28// Gabe Black 29// Steve Reinhardt 30 31// Declarations for execute() methods. 32def template BasicExecDeclare {{ 33 Fault execute(%(CPU_exec_context)s *, Trace::InstRecord *) const; 34}}; 35 |
36// Definitions of execute methods that panic. 37def template BasicExecPanic {{ 38 Fault execute(%(CPU_exec_context)s *, Trace::InstRecord *) const 39 { 40 panic("Execute method called when it shouldn't!"); 41 } 42}}; 43 |
|
36// Basic instruction class declaration template. 37def template BasicDeclare {{ 38 /** 39 * Static instruction class for "%(mnemonic)s". 40 */ 41 class %(class_name)s : public %(base_class)s 42 { 43 public: --- 53 unchanged lines hidden --- | 44// Basic instruction class declaration template. 45def template BasicDeclare {{ 46 /** 47 * Static instruction class for "%(mnemonic)s". 48 */ 49 class %(class_name)s : public %(base_class)s 50 { 51 public: --- 53 unchanged lines hidden --- |