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
发布评论
评论(3)
是的,CPU寄存器只是少量的数据存储,方便CPU的一些操作。
CPU缓存,它是一种高速易失性存储器,尺寸较大,有助于处理器减少内存操作。
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.
将处理器的寄存器视为 0 级高速缓存并不是很不准确,它比处理器和内存之间的其他高速缓存层更小且更快。区别仅在于,从指令集的角度来看,缓存访问是透明的(通过当前恰好是缓存地址的内存地址来访问缓存),而寄存器在每条指令中显式引用。
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.
寄存器是CPU内特殊的临时存储位置,可以非常快速地接受、存储和传输立即使用的数据和指令。高速缓冲存储器是计算机CPU非常快速使用的存储器,用于频繁请求数据和指令
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