计算机体系

Learn branch prediction from SimpleScalar source (2)

五 23 8月 2013 by Galoisplusplus / tech

(施工中...)

branch direction predictor

dynamic branch prediction

correlated branch predictor

前面提到我们用一张被称为PHT(Pattern History Table)的hash table来存放branch指令的跳转历史,我们也解释了这张hash table的entry如何更新以及如何根据entry来作出相应的预测。 接下来的问题是使用 …

Read more

Learn branch prediction from SimpleScalar source (1)

一 22 7月 2013 by Galoisplusplus / tech

作为一名CSer,最好的学习方式之一无疑是tracing code,看源代码—— 不知你此时是否与我一样想起了Linus那句名言「talk is cheap, show me the fucking code!」? 可是对计 …

Read more