由买买提看人间百态

topics

全部话题 - 话题: techium
(共0页)

发帖数: 1
1
来自主题: Hardware版 - 求问这个题要怎么解
We are working on a new processor, techium 5, which is going to replace the
old Techium 4. Techium 5 has new ISA with more registers, which
1. Reduces the number of memory instructions by 50 %
2. While increasing the number of simple ALU instructions by 10%
Additionally, Techium 4 has a clock frequency of 2GHzm while Techium 5 uses
3GHz.
The two processors have the same average CPI for each type of instruction—
1 CPI for simple ALU, 3 CPI for memory
2 CPI for all other instructions
A... 阅读全帖
d***a
发帖数: 13752
2
来自主题: Hardware版 - 求问这个题要怎么解
难道不先说清楚是single issue,in-order pipeline。:)
实际的处理器中,没有哪个2-3 GHz的处理器是single issue, in-order的了。
要解也很简单,CPU time = # instructions * CPI * clock cycle time,分别对ALU
,memory和others做计算,再求和。
Reduces the number of memory instructions by 50%的意思是,在Techium 4上执行
程序运行时有10 billion memory instructions。在Techium 5上,因为指令集变了(
编译器也变了),源程序相同,执行程序变得不同,执行程序运行时memory
instructions的数目减少到了5 billion了。

the
uses
(共0页)