mem.isa (12420:f5c80f4ed41f) | mem.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 --- 30 unchanged lines hidden (view full) --- 39 */ 40 class %(class_name)s : public %(base_class)s 41 { 42 public: 43 44 /// Constructor. 45 %(class_name)s(ExtMachInst machInst); 46 | 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 --- 30 unchanged lines hidden (view full) --- 39 */ 40 class %(class_name)s : public %(base_class)s 41 { 42 public: 43 44 /// Constructor. 45 %(class_name)s(ExtMachInst machInst); 46 |
47 Fault execute(ExecContext *, Trace::InstRecord *) const; 48 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const; 49 Fault completeAcc(PacketPtr, ExecContext *, Trace::InstRecord *) const; | 47 Fault execute(ExecContext *, Trace::InstRecord *) const override; 48 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const override; 49 Fault completeAcc(PacketPtr, ExecContext *, 50 Trace::InstRecord *) const override; |
50 }; 51}}; 52 53 54def template LoadStoreConstructor {{ 55 %(class_name)s::%(class_name)s(ExtMachInst machInst) 56 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s) 57 { --- 268 unchanged lines hidden --- | 51 }; 52}}; 53 54 55def template LoadStoreConstructor {{ 56 %(class_name)s::%(class_name)s(ExtMachInst machInst) 57 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s) 58 { --- 268 unchanged lines hidden --- |