• 运行任务的时间
– Execution time, response time, latency
• 单位时间内完成的任务数
– Throughput, bandwidth
• “X性能是Y的n倍 ” :
ExTime(Y)
Performance(X)
--------- =
--------------
ExTime(X)
– jumps, conditions, branches – fetch-decode-execute is implicit!
中国科学技术大学
Chapter2.6
有关ISA的7个方面
• Class of ISA • Memory addressing • Addressing modes • Types and sizes of operands • Operations • Control flow instructions • Encoding an ISA
Performance(Y)
2019/11/12
中国科学技术大学
Chapter2.2
• Amdahl’s 定律:
Speedupoverall
= ExTimeold = ExTimenew
1 (1 - Fractionenhanced) +
Fractionenhanced
• CPI Law:
Speedupenhanced
中国科学技术大学
Chapter2.11
通用寄存器的分类
• 分类原则: – ALU指令到底是两地址指令还是三地址指令 – ALU指令中有多少个操作数可以用存储器寻址,即有多少个存 储器操作数
2019/11/12