开发者

Are CPU registers and CPU cache different? [closed]

Closed. This question is off-topic. It is not currently accepting answers. 开发者_运维知识库

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 9 years ago.

Improve this question

Are CPU registers and CPU cache different?


Yes, CPU register is just a small amount of data storage, that facilitates some CPU operations.

CPU cache, it is a high speed volatile memory which is bigger in size, that helps the processor to reduce the memory operations.


It is not very inaccurate to think of the processor's register as the level 0 cache, smaller and faster than the other layers of cache in-between the processor and memory. The difference is only that from the point of view of the instruction set, cache access is transparent (the cache is accessed through a memory address that happens to be a cached address at the moment) whereas registers are explicitly referenced in each instruction.


registers are special temporary storage locations within the CPU that very quickly accept,store and transfer data and instructions that Are immediately used.cache memory is a very fast used by the CPU of computer that is used to frequently request data and instructions

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜