cs152 lab1

发布时间 2023-12-10 23:41:51作者: ijpq

3.4

Note how the mix of different types of instructions vary between benchmarks. Record the mix
for each benchmark. (Remember: Do not provide raw dumps. A good way to visualize this kind
of data would be a bar graph.) Which benchmark has the highest arithmetic intensity? Which
benchmark seems most likely to be memory bound? Which benchmark seems most likely to be
dependent on branch predictor performance?

multiply这个benchmark的计算强度最高;因为在roofline模型中,越低的计算强度越有可能会在脊点的左侧,即是memory bound。因此,根据这个条件,我认为最有可能的是median.

image

image