amo.isa (12385:288c62455dde) | amo.isa (12482:35461496d012) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2015 Riscv Developers 4// Copyright (c) 2016 The University of Virginia 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 --- 37 unchanged lines hidden (view full) --- 46 protected: 47 48 class %(class_name)sLoad : public %(base_class)sMicro 49 { 50 public: 51 // Constructor 52 %(class_name)sLoad(ExtMachInst machInst, %(class_name)s *_p); 53 | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2015 Riscv Developers 4// Copyright (c) 2016 The University of Virginia 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 --- 37 unchanged lines hidden (view full) --- 46 protected: 47 48 class %(class_name)sLoad : public %(base_class)sMicro 49 { 50 public: 51 // Constructor 52 %(class_name)sLoad(ExtMachInst machInst, %(class_name)s *_p); 53 |
54 Fault execute(ExecContext *, Trace::InstRecord *) const; 55 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const; | 54 Fault execute(ExecContext *, Trace::InstRecord *) const override; 55 Fault initiateAcc(ExecContext *, 56 Trace::InstRecord *) const override; |
56 Fault completeAcc(PacketPtr, ExecContext *, | 57 Fault completeAcc(PacketPtr, ExecContext *, |
57 Trace::InstRecord *) const; | 58 Trace::InstRecord *) const override; |
58 }; 59 60 class %(class_name)sStore : public %(base_class)sMicro 61 { 62 public: 63 // Constructor 64 %(class_name)sStore(ExtMachInst machInst, %(class_name)s *_p); 65 | 59 }; 60 61 class %(class_name)sStore : public %(base_class)sMicro 62 { 63 public: 64 // Constructor 65 %(class_name)sStore(ExtMachInst machInst, %(class_name)s *_p); 66 |
66 Fault execute(ExecContext *, Trace::InstRecord *) const; 67 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const; | 67 Fault execute(ExecContext *, Trace::InstRecord *) const override; 68 Fault initiateAcc(ExecContext *, 69 Trace::InstRecord *) const override; |
68 Fault completeAcc(PacketPtr, ExecContext *, | 70 Fault completeAcc(PacketPtr, ExecContext *, |
69 Trace::InstRecord *) const; | 71 Trace::InstRecord *) const override; |
70 }; 71 }; 72}}; 73 74def template LRSCConstructor {{ 75 %(class_name)s::%(class_name)s(ExtMachInst machInst): 76 %(base_class)s("%(mnemonic)s", machInst, %(op_class)s) 77 { --- 299 unchanged lines hidden --- | 72 }; 73 }; 74}}; 75 76def template LRSCConstructor {{ 77 %(class_name)s::%(class_name)s(ExtMachInst machInst): 78 %(base_class)s("%(mnemonic)s", machInst, %(op_class)s) 79 { --- 299 unchanged lines hidden --- |