Comments (2)
请教一个问题,希望有缘人回答~ 书本上练习题4.35给了个例子,关于改变Execute阶段的转发源为E_dstE。答案给的例子有一点不太明白,为什么在修改过后的版本中,条件传送源值0x123被转发到ALU的输入valA,valB正确地得到了操作数值0x321了? 我根据答案的例子绘出流水线图,对应
addq %rdx, %rdx
的decode阶段对应的irmovq $0x312, %rdx
的write-back阶段,%rdx
的值还没有写回寄存器文件,为什么答案说valB正确地得到了操作数值0x321了?
题目中说in the HCL code for d_valA uses signal e_dstE to see whether
to select the ALU output e_valE as the forwarding source. Suppose instead that
we use signal E_dstE, the destination register ID in pipeline register E for this
selection. 所以题目的意思应该是d_valA改了HCL版本,选择转发,d_valB没有改版本选择不转发,所以d_valB的值是从寄存器文件里来的。这个解释可以吗?
from csapp-3e-solutions.
from csapp-3e-solutions.
Related Issues (20)
- About the environment install HOT 3
- 2.74有误
- 2.64 error
- 8.12 - Update to 3rd Edition
- Chapter5 5.17.c bug HOT 1
- Question 2.76c second test case not appropriate
- Run make plugin error HOT 1
- 3.63中运算符优先级疑问
- ubuntu : make 后 出现以下错误
- 服务没跑起来是为什么?
- problem with hugo
- 2.88 HOT 1
- Run make plugin in ./CSAPP-3e-Solutions, failed and got: HOT 1
- the answer of 6.37 maybe wrong HOT 2
- The answer of 2.63 seems wrong HOT 3
- the answer of any-odd-one.c seems wrong HOT 1
- The answer of 7.10 may be wrong? HOT 5
- The answer of 3.63 seems wrong HOT 2
- the answer 2.88 may wrong HOT 3
- 3.69 struct grammar HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csapp-3e-solutions.