basic.isa (12236:126ac9da6050) | basic.isa (12616:4b463b4dc098) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2009 The University of Edinburgh 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 --- 24 unchanged lines hidden (view full) --- 33 /** 34 * Static instruction class for "%(mnemonic)s". 35 */ 36 class %(class_name)s : public %(base_class)s 37 { 38 public: 39 /// Constructor. 40 %(class_name)s(ExtMachInst machInst); | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2009 The University of Edinburgh 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 --- 24 unchanged lines hidden (view full) --- 33 /** 34 * Static instruction class for "%(mnemonic)s". 35 */ 36 class %(class_name)s : public %(base_class)s 37 { 38 public: 39 /// Constructor. 40 %(class_name)s(ExtMachInst machInst); |
41 Fault execute(ExecContext *, Trace::InstRecord *) const; | 41 Fault execute(ExecContext *, 42 Trace::InstRecord *) const override; |
42 }; 43}}; 44 45// Basic instruction class constructor template. 46def template BasicConstructor {{ 47 %(class_name)s::%(class_name)s(ExtMachInst machInst) : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s) 48 { 49 %(constructor)s; --- 42 unchanged lines hidden --- | 43 }; 44}}; 45 46// Basic instruction class constructor template. 47def template BasicConstructor {{ 48 %(class_name)s::%(class_name)s(ExtMachInst machInst) : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s) 49 { 50 %(constructor)s; --- 42 unchanged lines hidden --- |