priv.isa (8829:d21889bface6) | priv.isa (10184:bbfa3152bdea) |
---|---|
1// Copyright (c) 2006-2007 The Regents of The University of Michigan 2// All rights reserved. 3// 4// Redistribution and use in source and binary forms, with or without 5// modification, are permitted provided that the following conditions are 6// met: redistributions of source code must retain the above copyright 7// notice, this list of conditions and the following disclaimer; 8// redistributions in binary form must reproduce the above copyright --- 172 unchanged lines hidden (view full) --- 181 } 182 ccprintf(response, "0x%x, %%%s", imm, regName); 183 184 return response.str(); 185 } 186}}; 187 188def template ControlRegConstructor {{ | 1// Copyright (c) 2006-2007 The Regents of The University of Michigan 2// All rights reserved. 3// 4// Redistribution and use in source and binary forms, with or without 5// modification, are permitted provided that the following conditions are 6// met: redistributions of source code must retain the above copyright 7// notice, this list of conditions and the following disclaimer; 8// redistributions in binary form must reproduce the above copyright --- 172 unchanged lines hidden (view full) --- 181 } 182 ccprintf(response, "0x%x, %%%s", imm, regName); 183 184 return response.str(); 185 } 186}}; 187 188def template ControlRegConstructor {{ |
189 inline %(class_name)s::%(class_name)s(ExtMachInst machInst) | 189 %(class_name)s::%(class_name)s(ExtMachInst machInst) |
190 : %(base_class)s("%(mnemonic)s", machInst, 191 %(op_class)s, "%(reg_name)s") 192 { 193 %(constructor)s; 194 } 195}}; 196 197def template PrivExecute {{ --- 104 unchanged lines hidden --- | 190 : %(base_class)s("%(mnemonic)s", machInst, 191 %(op_class)s, "%(reg_name)s") 192 { 193 %(constructor)s; 194 } 195}}; 196 197def template PrivExecute {{ --- 104 unchanged lines hidden --- |