> For the complete documentation index, see [llms.txt](https://hansimov.gitbook.io/csapp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hansimov.gitbook.io/csapp/labs/arch-lab.md).

# 实验 4：Architechture Lab

## 实验附件

* README
  * <http://csapp.cs.cmu.edu/3e/README-archlab>
* Writeup
  * <http://csapp.cs.cmu.edu/3e/archlab.pdf>
* 版本历史
  * <http://csapp.cs.cmu.edu/3e/archlab-release.html>
* 自学材料
  * <http://csapp.cs.cmu.edu/3e/archlab-handout.tar>

## 实验简介

> 注：为 CSAPP 第 3 版更新到 Y86-64。

给学生一个 Y86-64 默认的小的数组复制函数，和一个工作的流水线化的 Y86-64 处理器设计，该处理器以**每个数组元素**（CPE）的某些标称（nomial number）时钟周期数运行复制函数。学生试图通过修改函数和处理器设计来最小化 CPE。这让学生对硬件和软件之间的交互有深刻的理解。

注：实验材料包括 Y86-64 处理器模拟器的主分支源代码和 Y86-64 模拟器指南。
