计算机体系结构实验二报告.doc

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
计算机体系结构实验报告 实验二 流水线技术 软件工程07级2班 陈良伟 20073001016 实验目的 通过实验,加深对流水线技术的理解。 初步掌握SimpleScalar的使用。 实验环境 Ubuntu 9.04+(或其他Linux版本) SimpleScalar v3.0 实验步骤 利用SimpleScalar中的模拟器sim-outorder,运行其自带的测试程序: ./tests-pisa/bin.little目录下的test-math, test-fmath及test-printf。 记录结果及生成的统计量,注意观察流水线相关的统计量。 实验结果 1,运行test-math: student@clw1101-laptop:~/simplescalar/simplesim-3.0$ ./sim-outorder ./tests-pisa/bin.little/test-math …… sim: ** starting performance simulation ** pow(12.0, 2.0) == 144.000000 pow(10.0, 3.0) == 1000.000000 pow(10.0, -3.0) == 0.001000 str: 123.456 x: 123.000000 str: 123.456 x: 123.456000 str: 123.456 x: 123.456000 123.456 123.456000 123 1000 sinh(2.0) = 3.62686 sinh(3.0) = 10.01787 h=3.60555 atan2(3,2) = 0.98279 pow(3.60555,4.0) = 169 169 / exp(0.98279 * 5) = 1.24102 3.93117 + 5*log(3.60555) = 10.34355 cos(10.34355) = -0.6068, sin(10.34355) = -0.79486 x 0.5x x0.5 x x 0.5x -1e-17 != -1e-17 Worked! sim: ** simulation statistics ** sim_num_insn 213745 # total number of instructions committed sim_num_refs 56902 # total number of loads and stores committed sim_num_loads 34108 # total number of loads committed sim_num_stores 22794.0000 # total number of stores committed sim_num_branches 38605 # total number of branches committed sim_elapsed_time 1 # total simulation time in seconds sim_inst_rate 213745.0000 # simulation speed (in insts/sec) sim_total_insn 233112 # total number of instructions executed sim_total_refs 61930 # total number of loads and stores executed sim_total_loads 37548 # total number of loads executed sim_total_stores 24382.0000 # total number of stores executed sim_total_branches 42799 # total number of branches executed sim_cycle 224374 # total simulation time in cycles sim_IPC 0.9526 # instructions per cy

文档评论(0)

xingyuxiaxiang + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档