basic.isa (8624:a1fca799b981) basic.isa (10184:bbfa3152bdea)
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

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

88 // Constructor.
89 %(class_name)s(const char * mnemonic, ExtMachInst machInst);
90 %(BasicExecDeclare)s
91 };
92}};
93
94// Basic instruction class constructor template.
95def template BasicConstructor {{
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

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

88 // Constructor.
89 %(class_name)s(const char * mnemonic, ExtMachInst machInst);
90 %(BasicExecDeclare)s
91 };
92}};
93
94// Basic instruction class constructor template.
95def template BasicConstructor {{
96 inline %(class_name)s::%(class_name)s(ExtMachInst machInst)
96 %(class_name)s::%(class_name)s(ExtMachInst machInst)
97 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
98 {
99 %(constructor)s;
100 }
101}};
102
103// Basic instruction class constructor template.
104def template BasicConstructorWithMnemonic {{
97 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
98 {
99 %(constructor)s;
100 }
101}};
102
103// Basic instruction class constructor template.
104def template BasicConstructorWithMnemonic {{
105 inline %(class_name)s::%(class_name)s(const char * mnemonic,
105 %(class_name)s::%(class_name)s(const char * mnemonic,
106 ExtMachInst machInst)
107 : %(base_class)s(mnemonic, machInst, %(op_class)s)
108 {
109 %(constructor)s;
110 }
111}};
112
113// Basic instruction class execute method template.

--- 83 unchanged lines hidden ---
106 ExtMachInst machInst)
107 : %(base_class)s(mnemonic, machInst, %(op_class)s)
108 {
109 %(constructor)s;
110 }
111}};
112
113// Basic instruction class execute method template.

--- 83 unchanged lines hidden ---