Deleted Added
sdiff udiff text old ( 12385:288c62455dde ) new ( 12482:35461496d012 )
full compact
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;
56 Fault completeAcc(PacketPtr, ExecContext *,
57 Trace::InstRecord *) const;
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
66 Fault execute(ExecContext *, Trace::InstRecord *) const;
67 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const;
68 Fault completeAcc(PacketPtr, ExecContext *,
69 Trace::InstRecord *) const;
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 ---