1/* 2 * Copyright (c) 2011-2014 ARM Limited 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 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 --- 126 unchanged lines hidden (view full) --- 135 136 TheISA::FloatRegBits 137 readFloatRegOperandBits(const StaticInst *si, int idx) 138 { 139 int reg_idx = si->srcRegIdx(idx) - TheISA::FP_Reg_Base; 140 return thread.readFloatRegBits(reg_idx); 141 } 142 |
143 void 144 setIntRegOperand(const StaticInst *si, int idx, IntReg val) 145 { 146 thread.setIntReg(si->destRegIdx(idx), val); 147 } 148 149 void 150 setFloatRegOperand(const StaticInst *si, int idx, --- 6 unchanged lines hidden (view full) --- 157 void 158 setFloatRegOperandBits(const StaticInst *si, int idx, 159 TheISA::FloatRegBits val) 160 { 161 int reg_idx = si->destRegIdx(idx) - TheISA::FP_Reg_Base; 162 thread.setFloatRegBits(reg_idx, val); 163 } 164 |
165 bool 166 readPredicate() 167 { 168 return thread.readPredicate(); 169 } 170 171 void 172 setPredicate(bool val) --- 87 unchanged lines hidden (view full) --- 260 /* X86: TLB twiddling */ 261 void 262 demapPage(Addr vaddr, uint64_t asn) 263 { 264 thread.getITBPtr()->demapPage(vaddr, asn); 265 thread.getDTBPtr()->demapPage(vaddr, asn); 266 } 267 |
268 TheISA::CCReg 269 readCCRegOperand(const StaticInst *si, int idx) 270 { 271 int reg_idx = si->srcRegIdx(idx) - TheISA::CC_Reg_Base; 272 return thread.readCCReg(reg_idx); 273 } 274 |
275 void |
276 setCCRegOperand(const StaticInst *si, int idx, TheISA::CCReg val) 277 { 278 int reg_idx = si->destRegIdx(idx) - TheISA::CC_Reg_Base; 279 thread.setCCReg(reg_idx, val); 280 } 281 282 void |
283 demapInstPage(Addr vaddr, uint64_t asn) 284 { 285 thread.getITBPtr()->demapPage(vaddr, asn); 286 } 287 288 void 289 demapDataPage(Addr vaddr, uint64_t asn) 290 { --- 66 unchanged lines hidden --- |