basic.isa (6691:cd68b6ecd68d) basic.isa (10184:bbfa3152bdea)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2009 The University of Edinburgh
4// All rights reserved.
5//
6// Redistribution and use in source and binary forms, with or without
7// modification, are permitted provided that the following conditions are
8// met: redistributions of source code must retain the above copyright

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

44 /// Constructor.
45 %(class_name)s(ExtMachInst machInst);
46 %(BasicExecDeclare)s
47 };
48}};
49
50// Basic instruction class constructor template.
51def template BasicConstructor {{
1// -*- mode:c++ -*-
2
3// Copyright (c) 2009 The University of Edinburgh
4// All rights reserved.
5//
6// Redistribution and use in source and binary forms, with or without
7// modification, are permitted provided that the following conditions are
8// met: redistributions of source code must retain the above copyright

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

44 /// Constructor.
45 %(class_name)s(ExtMachInst machInst);
46 %(BasicExecDeclare)s
47 };
48}};
49
50// Basic instruction class constructor template.
51def template BasicConstructor {{
52 inline %(class_name)s::%(class_name)s(ExtMachInst machInst) : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
52 %(class_name)s::%(class_name)s(ExtMachInst machInst) : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
53 {
54 %(constructor)s;
55 }
56}};
57
58
59// Basic instruction class execute method template.
60def template BasicExecute {{

--- 43 unchanged lines hidden ---
53 {
54 %(constructor)s;
55 }
56}};
57
58
59// Basic instruction class execute method template.
60def template BasicExecute {{

--- 43 unchanged lines hidden ---