limmop.isa (9764:7e744dcb1904) | limmop.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 --- 76 unchanged lines hidden (view full) --- 85 printDestReg(response, 0, dataSize); 86 response << ", "; 87 ccprintf(response, "%#x", imm); 88 return response.str(); 89 } 90}}; 91 92def template MicroLimmOpConstructor {{ | 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 --- 76 unchanged lines hidden (view full) --- 85 printDestReg(response, 0, dataSize); 86 response << ", "; 87 ccprintf(response, "%#x", imm); 88 return response.str(); 89 } 90}}; 91 92def template MicroLimmOpConstructor {{ |
93 inline %(class_name)s::%(class_name)s( | 93 %(class_name)s::%(class_name)s( |
94 ExtMachInst machInst, const char * instMnem, uint64_t setFlags, 95 InstRegIndex _dest, uint64_t _imm, uint8_t _dataSize) : 96 %(base_class)s(machInst, "%(mnemonic)s", instMnem, 97 setFlags, %(op_class)s), 98 dest(_dest.idx), imm(_imm), dataSize(_dataSize) 99 { 100 foldOBit = (dataSize == 1 && !machInst.rex.present) ? 1 << 6 : 0; 101 %(constructor)s; --- 78 unchanged lines hidden --- | 94 ExtMachInst machInst, const char * instMnem, uint64_t setFlags, 95 InstRegIndex _dest, uint64_t _imm, uint8_t _dataSize) : 96 %(base_class)s(machInst, "%(mnemonic)s", instMnem, 97 setFlags, %(op_class)s), 98 dest(_dest.idx), imm(_imm), dataSize(_dataSize) 99 { 100 foldOBit = (dataSize == 1 && !machInst.rex.present) ? 1 << 6 : 0; 101 %(constructor)s; --- 78 unchanged lines hidden --- |