Re: [gem5-users] Register File Reading

2014-01-13 Thread Martin Brown
The code section that I was looking at has changed recently I believe, so it may be slightly different from what I mention here. Take a look at src/cpu/static_inst.hh and hopefully you'll see methods srcRegIdx(int) and destRegIdx(int), both return uint_16t. If that's what you're looking for, you

Re: [gem5-users] Register File Reading

2014-01-01 Thread GE ZHIGUO
: gem5-users@gem5.org Subject: [gem5-users] Register File Reading Hi all I am trying to understand how register file reading works in gem5 for ARM_Detailled. I found that in IEW stage inside executeInsts function, inst->execute(); is being called. I looked up for this function and found a comm

[gem5-users] Register File Reading

2014-01-01 Thread Vanchinathan Venkataramani
Hi all I am trying to understand how register file reading works in gem5 for ARM_Detailled. I found that in IEW stage inside executeInsts function, inst->execute(); is being called. I looked up for this function and found a comment saying that it is auto-generated. In cpu.cc, the function readInt