base.hh (7764:03efcdc3421f) | base.hh (7783:9b880b40ac10) |
---|---|
1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 283 unchanged lines hidden (view full) --- 292 return thread->readMiscRegNoEffect(misc_reg); 293 } 294 295 MiscReg readMiscReg(int misc_reg) 296 { 297 return thread->readMiscReg(misc_reg); 298 } 299 | 1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 283 unchanged lines hidden (view full) --- 292 return thread->readMiscRegNoEffect(misc_reg); 293 } 294 295 MiscReg readMiscReg(int misc_reg) 296 { 297 return thread->readMiscReg(misc_reg); 298 } 299 |
300 void setMiscRegNoEffect(int misc_reg, const MiscReg &val) 301 { 302 return thread->setMiscRegNoEffect(misc_reg, val); 303 } 304 | |
305 void setMiscReg(int misc_reg, const MiscReg &val) 306 { 307 return thread->setMiscReg(misc_reg, val); 308 } 309 | 300 void setMiscReg(int misc_reg, const MiscReg &val) 301 { 302 return thread->setMiscReg(misc_reg, val); 303 } 304 |
310 MiscReg readMiscRegOperandNoEffect(const StaticInst *si, int idx) 311 { 312 int reg_idx = si->srcRegIdx(idx) - TheISA::Ctrl_Base_DepTag; 313 return thread->readMiscRegNoEffect(reg_idx); 314 } 315 | |
316 MiscReg readMiscRegOperand(const StaticInst *si, int idx) 317 { 318 int reg_idx = si->srcRegIdx(idx) - TheISA::Ctrl_Base_DepTag; 319 return thread->readMiscReg(reg_idx); 320 } 321 | 305 MiscReg readMiscRegOperand(const StaticInst *si, int idx) 306 { 307 int reg_idx = si->srcRegIdx(idx) - TheISA::Ctrl_Base_DepTag; 308 return thread->readMiscReg(reg_idx); 309 } 310 |
322 void setMiscRegOperandNoEffect(const StaticInst *si, int idx, const MiscReg &val) 323 { 324 int reg_idx = si->destRegIdx(idx) - TheISA::Ctrl_Base_DepTag; 325 return thread->setMiscRegNoEffect(reg_idx, val); 326 } 327 | |
328 void setMiscRegOperand( 329 const StaticInst *si, int idx, const MiscReg &val) 330 { 331 int reg_idx = si->destRegIdx(idx) - TheISA::Ctrl_Base_DepTag; 332 return thread->setMiscReg(reg_idx, val); 333 } 334 335 void demapPage(Addr vaddr, uint64_t asn) --- 49 unchanged lines hidden --- | 311 void setMiscRegOperand( 312 const StaticInst *si, int idx, const MiscReg &val) 313 { 314 int reg_idx = si->destRegIdx(idx) - TheISA::Ctrl_Base_DepTag; 315 return thread->setMiscReg(reg_idx, val); 316 } 317 318 void demapPage(Addr vaddr, uint64_t asn) --- 49 unchanged lines hidden --- |