电脑入门 [英] introduction to computers

查看:93
本文介绍了电脑入门的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

what is the difference between L1 cache and registers in computer

推荐答案

https://in.answers.yahoo.com/question/index?qid=20081006232740AAkc8UF [ ^ ]


由于大多数关于差异的问题,这个问题是不正确的。 (如果您不明白,请尝试告诉我们苹果和Apple之间的区别:-))

您可以轻松找到有关每个主题的所有信息。



但是,在这种情况下,我建议注意一个关键方面的重要性。 CPU寄存器是编程中立即使用的东西。每个本机可执行代码文件实质上包含代码片段的数量,每个代码片段由用于直接操作那些寄存器,RAM和CPU端口的指令组成。



与此相反,所有CPU缓存子系统(缓存级别的层次结构)对程序完全透明。它们不能以任何方式直接操纵。缓存用于提高性能,而不是太大的惊喜。



请参阅:

http://en.wikipedia.org/wiki/processor_register [ ^ ],

http:// en.wikipedia.org/wiki/CPU_cache [ ^ ]。



-SA
As most questions about "difference", this question is incorrect. (If you don't understand that, try to tell us the difference between apple and Apple :-))
You can easily find out all the information on each of the topics.

However, in this case, I suggest to pay attention for importance of one key aspect. CPU registers is something immediately used in programming. Every native executable code file contains, in essence, the number of code fragments, each consisting of instruction used to directly manipulate those registers, RAM and CPU ports.

In contrast to that, all the CPU cache subsystems (hierarchy of cache levels) are fully transparent to programs. They cannot be manipulated directly in any way. The cache is used, not to much of surprise, for improving performance.

Please see:
http://en.wikipedia.org/wiki/processor_register[^],
http://en.wikipedia.org/wiki/CPU_cache[^].

—SA


这篇关于电脑入门的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆