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 --- 46 unchanged lines hidden (view full) --- 55 uint8_t _imm); 56 %(BasicExecDeclare)s 57 %(InitiateAccDeclare)s 58 %(CompleteAccDeclare)s 59 }; 60}}; 61 62def template MicroMemConstructor {{ |
63 %(class_name)s::%(class_name)s(ExtMachInst machInst, 64 RegIndex _ura, 65 RegIndex _urb, 66 bool _up, 67 uint8_t _imm) |
68 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, 69 _ura, _urb, _up, _imm) 70 { 71 %(constructor)s; 72 } 73}}; 74 75//////////////////////////////////////////////////////////////////// --- 8 unchanged lines hidden (view full) --- 84 %(class_name)s(ExtMachInst machInst, 85 RegIndex _ura, RegIndex _urb, 86 uint8_t _imm); 87 %(BasicExecDeclare)s 88 }; 89}}; 90 91def template MicroIntConstructor {{ |
92 %(class_name)s::%(class_name)s(ExtMachInst machInst, 93 RegIndex _ura, 94 RegIndex _urb, 95 uint8_t _imm) |
96 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, 97 _ura, _urb, _imm) 98 { 99 %(constructor)s; 100 } 101}}; 102 103//////////////////////////////////////////////////////////////////// --- 12 unchanged lines hidden (view full) --- 116 %(class_name)s(ExtMachInst machInst, IntRegIndex rn, 117 bool index, bool up, bool user, bool writeback, bool load, 118 uint32_t reglist); 119 %(BasicExecPanic)s 120}; 121}}; 122 123def template MacroMemConstructor {{ |
124%(class_name)s::%(class_name)s(ExtMachInst machInst, IntRegIndex rn, |
125 bool index, bool up, bool user, bool writeback, bool load, 126 uint32_t reglist) |
127 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, rn, 128 index, up, user, writeback, load, reglist) |
129{ 130 %(constructor)s; |
131} 132 133}}; |