计算机组成与结构
文章平均质量分 90
JamSlade
这个作者很懒,什么都没留下…
展开
-
Computer composition and design work08 ——fifth verson
如果使用MRU算法,那在访问253的时候,被移除的数据应该为93,缺失率和LRU一致,并且这就是最好的缺失率,因为除了21并没有从cache中移除的数据。计算的CPI,比上文计算的L2cache的CPI更大,所以不需要改进实现这种cache。指定地址为字节地址,每一组的16次访问会映射到相同的32字节块,cache的失效率为。所有的失效都是必然的,失效率对缓存大小或工作集大小不敏感;50ns的访问时间会导致他的AMAT为。无法做其他事情(劣势)假定失效的时候已经探索过一边cache了,也有0.66的损耗。.原创 2022-08-26 10:50:13 · 728 阅读 · 3 评论 -
计组实践实验9——使用CMStudio设计基于分段模型机微程序指令(2)
2原创 2022-06-26 10:34:10 · 1096 阅读 · 0 评论 -
机组实践实验8——使用CMStudio设计基于基本模型机微程序指令(1)
1原创 2022-06-26 10:25:16 · 2369 阅读 · 0 评论 -
Computer composition and design work09 ——fifth verson
1原创 2022-06-18 14:01:17 · 545 阅读 · 0 评论 -
Computer composition and design work07 ——fifth verson
.原创 2022-06-14 16:26:32 · 760 阅读 · 0 评论 -
Computer composition and design work06 —— 基于MIPS
4.9In this exercise, we examine how data dependences aff ect execution in thebasic 5-stage pipeline described in Section 4.5. Problems in this exercise refer to thefollowing sequence of instructions: or r1,r2,r3 or r2,r1,r4 or r1,r1,r2Also原创 2022-06-02 11:05:22 · 1853 阅读 · 6 评论 -
Computer composition and design work05 ——fifth verson
[5] What decimal number does the bit pattern 0×0C000000 represent if it is a two’s complement integer? An unsigned integer?[10] What decimal number does the bit pattern 0×0C000000 represent if it is a floating point number? Use the IEEE 754 s原创 2022-06-02 11:05:08 · 974 阅读 · 0 评论 -
Computer composition and design work04 ——fifth verson
Computer Composition and Design Homework 42.26Consider the following MIPS loop: LOOP: slt $t2, $0, $t1 # 0<t1则t2=1 else 0 beq $t2, $0, DONE # t2==0则跳转到DONE subi $t1, $t1, 1 # t1 = t1 - 1 addi $s2, $s2, 2原创 2022-03-25 10:20:23 · 1958 阅读 · 0 评论 -
Computer composition and design work03 ——fifth verson
Computer Composition and Design Homework 32.4 [5] <§§2.2, 2.3> For the MIPS assembly instructions below, what is thecorresponding C statement? Assume that the variables f, g, h, i, and j are assignedto registers $s0, $s1, $s2, $s3, and $s4, respec原创 2022-03-25 10:19:56 · 2251 阅读 · 0 评论 -
Computer composition and design work02——fifth verson
CPI=程序的指令数CPU时钟周期数CPU时间=CPU时钟周期数×时钟周期长度所以有CPI=时钟周期长度×程序的指令数CPU时间=0.333×10−9×2.389×1012750=0.95PECratio.SPEC=实际处理时间参考处理时间=7509650=12.9Timenew=0.95×1.1×0.333×10−9×2.389×1。...原创 2022-03-25 10:19:16 · 955 阅读 · 0 评论 -
Computer composition and design work01(1.6-1.9)——fifth verson
1.6[20] <§1.6> Consider two diff erent implementations of the same instructionset architecture. Th e instructions can be divided into four classes according totheir CPI (class A, B, C, and D). P1 with a clock rate of 2.5 GHz and CPIs of 1, 2, 3,a原创 2022-03-03 19:55:03 · 1048 阅读 · 1 评论