Comments (2)
我们的处理器通过流水线来获得高性能,流水线的要求就是事先明确要执行的指令顺序。在流水线中,把一条指令分为多个阶段,每个阶段只执行所需操作的一小部分,比如取指令、确定指令类型、读数据、运算、写数据以及更新程序计数器。流水线通过重叠连续指令的步骤来获得高性能,比如在取一条指令的同时,执行它前面指令的算术运算。所以如果事先不知道指令执行顺序,那么事先所做的预备工作就白干了。 为了提高性能,往往可以改写**使用条件数据传送**的代码形式提高指令执行效率。
from computer-basics.
https://compas.cs.stonybrook.edu/~nhonarmand/courses/sp16/cse502/slides/06-pipelining.pdf 参考下
from computer-basics.
Related Issues (20)
- 第二章 2.3.6-2.3.7 整数乘法及除法 HOT 1
- 6.5章节中提及的概念:局部变量存储在寄存器中 HOT 2
- 动态链接的问题 HOT 1
- 3.7.3 数据传递(栈帧相关问题) HOT 2
- 牺牲页的问题 HOT 1
- 关联问题
- 关联问题 HOT 1
- 为什么64位的计算机可以运行32位计算机编译出来的程序 HOT 1
- signal处理会中断进程,为什么还需要使用异步安全的函数呢 HOT 1
- 第八章 异常控制流 8.5小节的程序问题 HOT 1
- 过程调用中使用的栈是线程独有还是线程共享? HOT 1
- 第九章mmap,文件映射,匿名映射的区别,及Android共享内存相关的问题 HOT 1
- 深入理解计算机系统第八章8.2.4关于用户模式和内核模式的问题(p510) HOT 1
- 在linux进程中的fd
- 关于进程回收的问题
- 静态库链接的问题
- 第12章,12.1.2,进程疑问
- 第六章书430页,高速缓存命中这块看不明白
- 节头表与段头表映射字段.shstrtab
- c程序堆与数据结构堆得区别
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 computer-basics.