macromem.cc (7342:72166bc39ff8) | macromem.cc (7343:26c00092d9f3) |
---|---|
1/* 2 * Copyright (c) 2010 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 114 unchanged lines hidden (view full) --- 123 addr -= 4; 124 } 125 126 if (!load && writeback) { 127 *++uop = wbUop; 128 } 129 130 (*uop)->setLastMicroop(); | 1/* 2 * Copyright (c) 2010 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 114 unchanged lines hidden (view full) --- 123 addr -= 4; 124 } 125 126 if (!load && writeback) { 127 *++uop = wbUop; 128 } 129 130 (*uop)->setLastMicroop(); |
131 132 for (StaticInstPtr *curUop = microOps; 133 !(*curUop)->isLastMicroop(); curUop++) { 134 MicroOp * uopPtr = dynamic_cast<MicroOp *>(curUop->get()); 135 assert(uopPtr); 136 uopPtr->setDelayedCommit(); 137 } |
|
131} 132 133MacroVFPMemOp::MacroVFPMemOp(const char *mnem, ExtMachInst machInst, 134 OpClass __opClass, IntRegIndex rn, 135 RegIndex vd, bool single, bool up, 136 bool writeback, bool load, uint32_t offset) : 137 PredMacroOp(mnem, machInst, __opClass) 138{ --- 54 unchanged lines hidden (view full) --- 193 } else { 194 microOps[i++] = 195 new MicroSubiUop(machInst, rn, rn, 4 * offset); 196 } 197 } 198 199 assert(numMicroops == i); 200 microOps[numMicroops - 1]->setLastMicroop(); | 138} 139 140MacroVFPMemOp::MacroVFPMemOp(const char *mnem, ExtMachInst machInst, 141 OpClass __opClass, IntRegIndex rn, 142 RegIndex vd, bool single, bool up, 143 bool writeback, bool load, uint32_t offset) : 144 PredMacroOp(mnem, machInst, __opClass) 145{ --- 54 unchanged lines hidden (view full) --- 200 } else { 201 microOps[i++] = 202 new MicroSubiUop(machInst, rn, rn, 4 * offset); 203 } 204 } 205 206 assert(numMicroops == i); 207 microOps[numMicroops - 1]->setLastMicroop(); |
208 209 for (StaticInstPtr *curUop = microOps; 210 !(*curUop)->isLastMicroop(); curUop++) { 211 MicroOp * uopPtr = dynamic_cast<MicroOp *>(curUop->get()); 212 assert(uopPtr); 213 uopPtr->setDelayedCommit(); 214 } |
|
201} 202 203} | 215} 216 217} |