base.hh (4870:fcc39d001154) base.hh (4950:f5f19784acf1)
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;

--- 277 unchanged lines hidden (view full) ---

286 void setFloatRegOperandBits(const StaticInst *si, int idx,
287 FloatRegBits val)
288 {
289 int reg_idx = si->destRegIdx(idx) - TheISA::FP_Base_DepTag;
290 thread->setFloatRegBits(reg_idx, val);
291 }
292
293 uint64_t readPC() { return thread->readPC(); }
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;

--- 277 unchanged lines hidden (view full) ---

286 void setFloatRegOperandBits(const StaticInst *si, int idx,
287 FloatRegBits val)
288 {
289 int reg_idx = si->destRegIdx(idx) - TheISA::FP_Base_DepTag;
290 thread->setFloatRegBits(reg_idx, val);
291 }
292
293 uint64_t readPC() { return thread->readPC(); }
294 uint64_t readMicroPC() { return thread->readMicroPC(); }
294 uint64_t readNextPC() { return thread->readNextPC(); }
295 uint64_t readNextPC() { return thread->readNextPC(); }
296 uint64_t readNextMicroPC() { return thread->readNextMicroPC(); }
295 uint64_t readNextNPC() { return thread->readNextNPC(); }
296
297 void setPC(uint64_t val) { thread->setPC(val); }
297 uint64_t readNextNPC() { return thread->readNextNPC(); }
298
299 void setPC(uint64_t val) { thread->setPC(val); }
300 void setMicroPC(uint64_t val) { thread->setMicroPC(val); }
298 void setNextPC(uint64_t val) { thread->setNextPC(val); }
301 void setNextPC(uint64_t val) { thread->setNextPC(val); }
302 void setNextMicroPC(uint64_t val) { thread->setNextMicroPC(val); }
299 void setNextNPC(uint64_t val) { thread->setNextNPC(val); }
300
301 MiscReg readMiscRegNoEffect(int misc_reg)
302 {
303 return thread->readMiscRegNoEffect(misc_reg);
304 }
305
306 MiscReg readMiscReg(int misc_reg)

--- 72 unchanged lines hidden ---
303 void setNextNPC(uint64_t val) { thread->setNextNPC(val); }
304
305 MiscReg readMiscRegNoEffect(int misc_reg)
306 {
307 return thread->readMiscRegNoEffect(misc_reg);
308 }
309
310 MiscReg readMiscReg(int misc_reg)

--- 72 unchanged lines hidden ---