'bank'ing a register 是什么意思? [英] What does 'bank'ing a register mean?
问题描述
在维基百科上阅读ARM 架构"并发现以下声明:
Reading 'ARM Architecture' on Wikipedia and found the following statement:
寄存器 R0-R7 在所有 CPU 模式中都相同;他们从不银行.
Registers R0-R7 are the same across all CPU modes; they are never banked.
R13 和 R14 跨所有特权 CPU 模式进行存储,系统除外模式.
R13 and R14 are banked across all privileged CPU modes except system mode.
银行注册是什么意思?
推荐答案
注册银行是指在同一地址提供多个注册副本.
Register banking refers to providing multiple copies of a register at the same address.
取自 arm 的第 1.4.6 节 文档
Taken from section 1.4.6 of the arm docs
该术语指的是无法同时看到所有寄存器的问题的解决方案.
The term is referring to a solution for the problem that not all registers can be seen at once.
每种处理器模式都有不同的寄存器组.存储寄存器为处理处理器异常和特权操作提供了快速的上下文切换.
There is a different register bank for each processor mode. The banked registers give rapid context switching for dealing with processor exceptions and privileged operations.
如果您正在寻找更理论化的推理,我推荐this纸.
给出了比我更深入的答案 这里
If your looking for a more theoretical reasoning, I recommend this paper.
A much deeper answer than mine is given here
这篇关于'bank'ing a register 是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!