计 算 机 组 织 与 系 统 结 构
æå°ç - å京大å¦å¾®å¤çå¨ç 究å¼åä¸å¿
æå°ç - å京大å¦å¾®å¤çå¨ç 究å¼åä¸å¿
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Stack Machines: Essential features<br />
In addition to push, pop, + etc., the<br />
instruction set must provide the<br />
capability to<br />
hi t<br />
refer to any element in the<br />
data area<br />
jump to any instruction in<br />
the code area<br />
move any element in the<br />
stack frame to the top<br />
machinery to<br />
carry out<br />
+, -, etc. ⇔<br />
SP<br />
stack<br />
DP<br />
a<br />
push a<br />
b<br />
PC push b<br />
c<br />
push c .<br />
*<br />
+<br />
push e<br />
data<br />
/<br />
code<br />
堆 栈 式 <strong>结</strong> <strong>构</strong> 在 六 十 年 代 非 常 流 行 , 它 是<br />
从 <strong>机</strong> 器 设 <strong>计</strong> 角 度 考 虑 对 高 级 语 言 支 持 的 一 种<br />
非 常 有 益 的 尝 试 , 它 对 提 高 代 码 的 密 度 是 非<br />
常 有 益 的 , 但 是 这 种 <strong>结</strong> <strong>构</strong> 也 有 许 多 重 要 缺 陷 。<br />
实 践 表 明 <strong>机</strong> 器 的 高 性 能 在 很 大 程 度 上 是 通 过<br />
适 量 快 速 寄 存 器 , 而 不 是 堆 栈 <strong>结</strong> <strong>构</strong> , 来 获 得<br />
的 。 堆 栈 式 <strong>结</strong> <strong>构</strong> 受 限 较 多 , 而 且 需 要 大 量 的<br />
交 换 和 复 制 操 作 ; 只 用 快 速 寄 存 器 实 现 栈 顶 ,<br />
当 信 息 存 放 在 慢 速 存 储 器 中 时 , 会 使 性 能 产<br />
生 损 失 等 。<br />
北 京 大 学 <strong>计</strong> <strong>算</strong> <strong>机</strong> 科 学 技 术 <strong>系</strong><br />
北 京 大 学 微 处 理 器 研 究 开 发 中 心<br />
北 京 大 学 <strong>计</strong> <strong>算</strong> <strong>机</strong> 科 学 技 术 <strong>系</strong><br />
北 京 大 学 微 处 理 器 研 究 开 发 中 心<br />
<strong>计</strong> <strong>算</strong> <strong>机</strong> 的 应 用 领 域 不 断 扩 大 , 同 时 ,<br />
伴 随 着 软 件 资 源 的 不 断 积 累 , 软 件 兼 容 问<br />
题 显 得 越 来 越 重 要 , 为 了 有 效 地 解 决 这 一<br />
问 题 ,1964 年 ,IBM 公 司 宣 布 了 IBM 360 <strong>系</strong><br />
列 。 这 个 <strong>系</strong> 列 包 含 六 种 型 号 , 它 们 之 间 的<br />
性 能 可 相 差 25 倍 。Amdahl 和 Blaauw 等 人 在<br />
介 绍 IBM360 时 , 提 出 了 “ <strong>系</strong> <strong>统</strong> <strong>结</strong> <strong>构</strong> ” 这 一<br />
重 要 概 念 , 并 将 此 术 语 解 释 为 程 序 员 所 看<br />
到 的 那 部 分 指 令 <strong>系</strong> <strong>统</strong> 。 他 们 认 为 具 有 相 同<br />
<strong>结</strong> <strong>构</strong> 的 <strong>机</strong> 器 将 能 够 运 行 相 同 的 软 件 。<br />
IBM 360 : Design Premises<br />
Amdahl, Blaauw and Brooks, 1964<br />
The design must lend itself to growth and successor machines<br />
General method for connecting I/O devices<br />
Total performance - answers per month rather than bits per<br />
microsecond ⇒ programming aids<br />
Machine must be capable of supervising itself without manual<br />
intervention<br />
Built-in hardware fault checking and locating aids to reduce<br />
down time<br />
Simple to assemble systems with redundant d I/O devices,<br />
memories etc. for fault tolerance<br />
Some problems required floating point words larger than 36 bits<br />
北 京 大 学 <strong>计</strong> <strong>算</strong> <strong>机</strong> 科 学 技 术 <strong>系</strong><br />
北 京 大 学 微 处 理 器 研 究 开 发 中 心<br />
北 京 大 学 <strong>计</strong> <strong>算</strong> <strong>机</strong> 科 学 技 术 <strong>系</strong><br />
北 京 大 学 微 处 理 器 研 究 开 发 中 心