On May 29, 1:26 am, 杨笛一 <huyaoyang...@gmail.com> wrote:
> 求解答!
> 鹅鹅鹅
>
> 谢谢
When simulating an instruction cache, g-cache is able to use the Instruction STC tospeed up the simulation and report the number of instruction misses, but it won’treport the correct number of total transactions. If you wish to have a correct totalamount of instruction fetches, you need to disable ISTC usage at the command-linewith the istc-disable command.
On May 29, 6:46 pm, 王敏捷 <wmjlyjema...@gmail.com> wrote:
> 看了下,貌似和ic中的read penalty有关,如果值为0就不会有问题。而且其他benchmark也都没问题。
>
> 目前没有什么好的解决方案。推荐qrx的方法。在break point那里magic-break-disable。
>
> 对于istc和dstc引用user guide中的一段话:
>
> *When simulating an instruction cache, g-cache is able to use the
> Instruction STC tospeed up the simulation and report the number of
> instruction misses, but it won't*
> *report the correct number of total transactions. If you wish to have a
> correct total*
> *amount of instruction fetches, you need to disable ISTC usage at the
> command-line*
> *with the istc-disable command.*
>
> 所以如果不disable掉,会带来一些统计上的误差吧。
> * *
>
> 在 2011年5月29日 下午1:59,杨笛一 <huyaoyang...@gmail.com>写道:
>
>
>
>
>
>
>
> > 对!
> > 后面3.1的话也遇到一些貌似的问题,我现在的解决方法是把那个
> > magic-break-enable
> > 然后istc-disable和dstc-disable去掉之后,先让程序预热,然后再清空,拿数据,就对了......
> > 我也不知道这样对不对,但貌似结果蛮正常的。如果没有上述的操作,就要跪了。
> > 求解释。
>