basic.isa (5268:5bfc53fe60e7) | basic.isa (10184:bbfa3152bdea) |
---|---|
1// -*- mode:c++ -*- 2 3// -*- mode:c++ -*- 4 5// Copyright (c) 2003-2005 The Regents of The University of Michigan 6// All rights reserved. 7// 8// Redistribution and use in source and binary forms, with or without --- 38 unchanged lines hidden (view full) --- 47 /// Constructor. 48 %(class_name)s(MachInst machInst); 49 %(BasicExecDeclare)s 50 }; 51}}; 52 53// Basic instruction class constructor template. 54def template BasicConstructor {{ | 1// -*- mode:c++ -*- 2 3// -*- mode:c++ -*- 4 5// Copyright (c) 2003-2005 The Regents of The University of Michigan 6// All rights reserved. 7// 8// Redistribution and use in source and binary forms, with or without --- 38 unchanged lines hidden (view full) --- 47 /// Constructor. 48 %(class_name)s(MachInst machInst); 49 %(BasicExecDeclare)s 50 }; 51}}; 52 53// Basic instruction class constructor template. 54def template BasicConstructor {{ |
55 inline %(class_name)s::%(class_name)s(MachInst machInst) : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s) | 55 %(class_name)s::%(class_name)s(MachInst machInst) : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s) |
56 { 57 %(constructor)s; 58 } 59}}; 60 61 62// Basic instruction class execute method template. 63def template BasicExecute {{ --- 36 unchanged lines hidden --- | 56 { 57 %(constructor)s; 58 } 59}}; 60 61 62// Basic instruction class execute method template. 63def template BasicExecute {{ --- 36 unchanged lines hidden --- |