basic.isa (7087:fb8d5786ff30) | basic.isa (10184:bbfa3152bdea) |
---|---|
1// Copyright (c) 2007 The Hewlett-Packard Development Company 2// All rights reserved. 3// 4// The license below extends only to copyright in the software and shall 5// not be construed as granting a license to any other intellectual 6// property including but not limited to intellectual property relating 7// to a hardware implementation of the functionality of the software 8// licensed hereunder. You may use the software subject to the license --- 54 unchanged lines hidden (view full) --- 63 // Constructor. 64 %(class_name)s(ExtMachInst machInst); 65 %(BasicExecDeclare)s 66 }; 67}}; 68 69// Basic instruction class constructor template. 70def template BasicConstructor {{ | 1// Copyright (c) 2007 The Hewlett-Packard Development Company 2// All rights reserved. 3// 4// The license below extends only to copyright in the software and shall 5// not be construed as granting a license to any other intellectual 6// property including but not limited to intellectual property relating 7// to a hardware implementation of the functionality of the software 8// licensed hereunder. You may use the software subject to the license --- 54 unchanged lines hidden (view full) --- 63 // Constructor. 64 %(class_name)s(ExtMachInst machInst); 65 %(BasicExecDeclare)s 66 }; 67}}; 68 69// Basic instruction class constructor template. 70def template BasicConstructor {{ |
71 inline %(class_name)s::%(class_name)s(ExtMachInst machInst) | 71 %(class_name)s::%(class_name)s(ExtMachInst machInst) |
72 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s) 73 { 74 %(constructor)s; 75 } 76}}; 77 78// Basic instruction class execute method template. 79def template BasicExecute {{ --- 35 unchanged lines hidden --- | 72 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s) 73 { 74 %(constructor)s; 75 } 76}}; 77 78// Basic instruction class execute method template. 79def template BasicExecute {{ --- 35 unchanged lines hidden --- |