计算机系统结构Computer Architecture.pptVIP

  • 6
  • 0
  • 约 62页
  • 2017-02-13 发布于北京
  • 举报
计算机系统结构Computer Architecture.ppt

* * * * * * * 第二次课结束 * 第三次课开始 * * * * * * * * * * * * * * * * * * * * * * * * * * * * 第一次课结束 * 第二次课开始 * * * * * * Global Variables - 2 Options Allocated by the compiler to memory 由编译器为全局变量指定存储器位置 Straightforward 直截了当 Inefficient for frequently accessed variables 对经常访问的全局变量效率低下 Have a set of registers for global variables CPU中有一组全局寄存器 e.g., registers 0 - 7: global 8 - 31: local to current window Increased hardware burden 硬件负担增加 Compiler must decide which global variables should be designed to registers 编译器也必须裁定什么样的全局变量应指派到寄存器。 * Registers v Cache Large Register File

文档评论(0)

1亿VIP精品文档

相关文档