misc.isa (7253:38b991b82859) | misc.isa (7261:5ed14bce7261) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2010 ARM Limited 4// All rights reserved 5// 6// The license below extends only to copyright in the software and shall 7// not be construed as granting a license to any other intellectual 8// property including but not limited to intellectual property relating --- 85 unchanged lines hidden (view full) --- 94 uint32_t imm, 95 uint8_t mask) 96 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, imm, mask) 97 { 98 %(constructor)s; 99 } 100}}; 101 | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2010 ARM Limited 4// All rights reserved 5// 6// The license below extends only to copyright in the software and shall 7// not be construed as granting a license to any other intellectual 8// property including but not limited to intellectual property relating --- 85 unchanged lines hidden (view full) --- 94 uint32_t imm, 95 uint8_t mask) 96 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, imm, mask) 97 { 98 %(constructor)s; 99 } 100}}; 101 |
102def template RevOpDeclare {{ | 102def template RegRegOpDeclare {{ |
103class %(class_name)s : public %(base_class)s 104{ 105 protected: 106 public: 107 // Constructor 108 %(class_name)s(ExtMachInst machInst, 109 IntRegIndex _dest, IntRegIndex _op1); 110 %(BasicExecDeclare)s 111}; 112}}; 113 | 103class %(class_name)s : public %(base_class)s 104{ 105 protected: 106 public: 107 // Constructor 108 %(class_name)s(ExtMachInst machInst, 109 IntRegIndex _dest, IntRegIndex _op1); 110 %(BasicExecDeclare)s 111}; 112}}; 113 |
114def template RevOpConstructor {{ | 114def template RegRegOpConstructor {{ |
115 inline %(class_name)s::%(class_name)s(ExtMachInst machInst, 116 IntRegIndex _dest, IntRegIndex _op1) 117 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _dest, _op1) 118 { 119 %(constructor)s; 120 } 121}}; 122 --- 152 unchanged lines hidden --- | 115 inline %(class_name)s::%(class_name)s(ExtMachInst machInst, 116 IntRegIndex _dest, IntRegIndex _op1) 117 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _dest, _op1) 118 { 119 %(constructor)s; 120 } 121}}; 122 --- 152 unchanged lines hidden --- |