Deleted Added
sdiff udiff text old ( 12294:650a9d8b23cc ) new ( 12616:4b463b4dc098 )
full compact
1// Copyright (c) 2006-2007 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

--- 34 unchanged lines hidden (view full) ---

43 %(class_name)s(ExtMachInst machInst);
44
45 protected:
46 class %(class_name)s_0 : public %(base_class)sMicro
47 {
48 public:
49 // Constructor
50 %(class_name)s_0(ExtMachInst machInst);
51 Fault execute(ExecContext *,
52 Trace::InstRecord *) const override;
53 Fault initiateAcc(ExecContext *,
54 Trace::InstRecord *) const override;
55 Fault completeAcc(PacketPtr, ExecContext *,
56 Trace::InstRecord *) const override;
57 };
58
59 class %(class_name)s_1 : public %(base_class)sMicro
60 {
61 public:
62 // Constructor
63 %(class_name)s_1(ExtMachInst machInst);
64 Fault execute(ExecContext *,
65 Trace::InstRecord *) const override;
66 Fault initiateAcc(ExecContext *,
67 Trace::InstRecord *) const override;
68 Fault completeAcc(PacketPtr, ExecContext *,
69 Trace::InstRecord *) const override;
70 };
71
72 class %(class_name)s_2 : public %(base_class)sMicro
73 {
74 public:
75 // Constructor
76 %(class_name)s_2(ExtMachInst machInst);
77 Fault execute(ExecContext *,
78 Trace::InstRecord *) const override;
79 Fault initiateAcc(ExecContext *,
80 Trace::InstRecord *) const override;
81 Fault completeAcc(PacketPtr, ExecContext *,
82 Trace::InstRecord *) const override;
83 };
84
85 class %(class_name)s_3 : public %(base_class)sMicro
86 {
87 public:
88 // Constructor
89 %(class_name)s_3(ExtMachInst machInst);
90 Fault execute(ExecContext *,
91 Trace::InstRecord *) const override;
92 Fault initiateAcc(ExecContext *,
93 Trace::InstRecord *) const override;
94 Fault completeAcc(PacketPtr, ExecContext *,
95 Trace::InstRecord *) const override;
96 };
97
98 class %(class_name)s_4 : public %(base_class)sMicro
99 {
100 public:
101 // Constructor
102 %(class_name)s_4(ExtMachInst machInst);
103 Fault execute(ExecContext *,
104 Trace::InstRecord *) const override;
105 Fault initiateAcc(ExecContext *,
106 Trace::InstRecord *) const override;
107 Fault completeAcc(PacketPtr, ExecContext *,
108 Trace::InstRecord *) const override;
109 };
110
111 class %(class_name)s_5 : public %(base_class)sMicro
112 {
113 public:
114 // Constructor
115 %(class_name)s_5(ExtMachInst machInst);
116 Fault execute(ExecContext *,
117 Trace::InstRecord *) const override;
118 Fault initiateAcc(ExecContext *,
119 Trace::InstRecord *) const override;
120 Fault completeAcc(PacketPtr, ExecContext *,
121 Trace::InstRecord *) const override;
122 };
123
124 class %(class_name)s_6 : public %(base_class)sMicro
125 {
126 public:
127 // Constructor
128 %(class_name)s_6(ExtMachInst machInst);
129 Fault execute(ExecContext *,
130 Trace::InstRecord *) const override;
131 Fault initiateAcc(ExecContext *,
132 Trace::InstRecord *) const override;
133 Fault completeAcc(PacketPtr, ExecContext *,
134 Trace::InstRecord *) const override;
135 };
136
137 class %(class_name)s_7 : public %(base_class)sMicro
138 {
139 public:
140 // Constructor
141 %(class_name)s_7(ExtMachInst machInst);
142 Fault execute(ExecContext *,
143 Trace::InstRecord *) const override;
144 Fault initiateAcc(ExecContext *,
145 Trace::InstRecord *) const override;
146 Fault completeAcc(PacketPtr, ExecContext *,
147 Trace::InstRecord *) const override;
148 };
149 };
150}};
151
152// Basic instruction class constructor template.
153def template BlockMemConstructor {{
154 %(class_name)s::%(class_name)s(ExtMachInst machInst)
155 : %(base_class)s("%(mnemonic)s", machInst)

--- 97 unchanged lines hidden ---