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 *, Trace::InstRecord *) const;
52 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const;
53 Fault completeAcc(PacketPtr, ExecContext *,
54 Trace::InstRecord *) const;
55 };
56
57 class %(class_name)s_1 : public %(base_class)sMicro
58 {
59 public:
60 // Constructor
61 %(class_name)s_1(ExtMachInst machInst);
62 Fault execute(ExecContext *, Trace::InstRecord *) const;
63 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const;
64 Fault completeAcc(PacketPtr, ExecContext *,
65 Trace::InstRecord *) const;
66 };
67
68 class %(class_name)s_2 : public %(base_class)sMicro
69 {
70 public:
71 // Constructor
72 %(class_name)s_2(ExtMachInst machInst);
73 Fault execute(ExecContext *, Trace::InstRecord *) const;
74 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const;
75 Fault completeAcc(PacketPtr, ExecContext *,
76 Trace::InstRecord *) const;
77 };
78
79 class %(class_name)s_3 : public %(base_class)sMicro
80 {
81 public:
82 // Constructor
83 %(class_name)s_3(ExtMachInst machInst);
84 Fault execute(ExecContext *, Trace::InstRecord *) const;
85 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const;
86 Fault completeAcc(PacketPtr, ExecContext *,
87 Trace::InstRecord *) const;
88 };
89
90 class %(class_name)s_4 : public %(base_class)sMicro
91 {
92 public:
93 // Constructor
94 %(class_name)s_4(ExtMachInst machInst);
95 Fault execute(ExecContext *, Trace::InstRecord *) const;
96 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const;
97 Fault completeAcc(PacketPtr, ExecContext *,
98 Trace::InstRecord *) const;
99 };
100
101 class %(class_name)s_5 : public %(base_class)sMicro
102 {
103 public:
104 // Constructor
105 %(class_name)s_5(ExtMachInst machInst);
106 Fault execute(ExecContext *, Trace::InstRecord *) const;
107 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const;
108 Fault completeAcc(PacketPtr, ExecContext *,
109 Trace::InstRecord *) const;
110 };
111
112 class %(class_name)s_6 : public %(base_class)sMicro
113 {
114 public:
115 // Constructor
116 %(class_name)s_6(ExtMachInst machInst);
117 Fault execute(ExecContext *, Trace::InstRecord *) const;
118 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const;
119 Fault completeAcc(PacketPtr, ExecContext *,
120 Trace::InstRecord *) const;
121 };
122
123 class %(class_name)s_7 : public %(base_class)sMicro
124 {
125 public:
126 // Constructor
127 %(class_name)s_7(ExtMachInst machInst);
128 Fault execute(ExecContext *, Trace::InstRecord *) const;
129 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const;
130 Fault completeAcc(PacketPtr, ExecContext *,
131 Trace::InstRecord *) const;
132 };
133 };
134}};
135
136// Basic instruction class constructor template.
137def template BlockMemConstructor {{
138 %(class_name)s::%(class_name)s(ExtMachInst machInst)
139 : %(base_class)s("%(mnemonic)s", machInst)

--- 97 unchanged lines hidden ---