Data processing apparatus and method for controlling access to registers
    1.
    发明授权
    Data processing apparatus and method for controlling access to registers 有权
    用于控制对寄存器的访问的数据处理装置和方法

    公开(公告)号:US07529916B2

    公开(公告)日:2009-05-05

    申请号:US11504780

    申请日:2006-08-16

    IPC分类号: G06F9/00

    摘要: A data processing apparatus and method are provided for controlling access to registers. The data processing apparatus comprises a processing unit for performing data processing operations on data values, the processing unit having a plurality of modes of operation. A plurality of registers are provided for storing data values for access by the processing unit, with a subset of those registers being mode specific registers. Each mode specific register is used by the processing unit when operating in an associated mode of operation. The processing unit is switchable between a plurality of contexts, the data values stored in the plurality of registers being dependent on a current context of the processing unit. The processing unit performs a switch operation to switch from the current context to a new context, during which the data values in the registers are updated having regard to the new context. A control register is provided which, for at least one mode of operation having at least one mode specific register associated therewith, has an access field which is programmable by the processing unit when operating in a predetermined mode of operation. When the access field is set, the processing unit is selectively denied access to the associated at least one mode specific register, whereby updating of the data values in the associated at least one mode specific register is avoided during the switch operation. This significantly increases the speed of the switch operation.

    摘要翻译: 提供了一种用于控制对寄存器的访问的数据处理装置和方法。 数据处理装置包括用于对数据值执行数据处理操作的处理单元,所述处理单元具有多种操作模式。 提供多个寄存器用于存储用于由处理单元访问的数据值,其中这些寄存器的子集是模式特定寄存器。 当在相关联的操作模式下操作时,处理单元使用每个模式特定寄存器。 处理单元可在多个上下文之间切换,存储在多个寄存器中的数据值取决于处理单元的当前上下文。 处理单元执行切换操作以从当前上下文切换到新的上下文,在此期间,考虑到新的上下文,更新寄存器中的数据值。 提供控制寄存器,对于具有与其相关联的至少一个模式特定寄存器的至少一种操作模式,具有在以预定操作模式操作时由处理单元可编程的访问字段。 当访问字段被设置时,处理单元被选择性地拒绝对相关联的至少一个模式特定寄存器的访问,由此在切换操作期间避免在相关联的至少一个模式特定寄存器中更新数据值。 这显着提高了开关操作的速度。

    Data processing apparatus and method for controlling access to registers
    2.
    发明申请
    Data processing apparatus and method for controlling access to registers 有权
    用于控制对寄存器的访问的数据处理装置和方法

    公开(公告)号:US20080046701A1

    公开(公告)日:2008-02-21

    申请号:US11504780

    申请日:2006-08-16

    IPC分类号: G06F9/44

    摘要: A data processing apparatus and method are provided for controlling access to registers. The data processing apparatus comprises a processing unit for performing data processing operations on data values, the processing unit having a plurality of modes of operation. A plurality of registers are provided for storing data values for access by the processing unit, with a subset of those registers being mode specific registers. Each mode specific register is used by the processing unit when operating in an associated mode of operation. The processing unit is switchable between a plurality of contexts, the data values stored in the plurality of registers being dependent on a current context of the processing unit. The processing unit performs a switch operation to switch from the current context to a new context, during which the data values in the registers are updated having regard to the new context. A control register is provided which, for at least one mode of operation having at least one mode specific register associated therewith, has an access field which is programmable by the processing unit when operating in a predetermined mode of operation. When the access field is set, the processing unit is selectively denied access to the associated at least one mode specific register, whereby updating of the data values in the associated at least one mode specific register is avoided during the switch operation. This significantly increases the speed of the switch operation.

    摘要翻译: 提供了一种用于控制对寄存器的访问的数据处理装置和方法。 数据处理装置包括用于对数据值执行数据处理操作的处理单元,所述处理单元具有多种操作模式。 提供多个寄存器用于存储用于由处理单元访问的数据值,其中这些寄存器的子集是模式特定寄存器。 当在相关联的操作模式下操作时,处理单元使用每个模式特定寄存器。 处理单元可在多个上下文之间切换,存储在多个寄存器中的数据值取决于处理单元的当前上下文。 处理单元执行切换操作以从当前上下文切换到新的上下文,在此期间,考虑到新的上下文,更新寄存器中的数据值。 提供控制寄存器,对于具有与其相关联的至少一个模式特定寄存器的至少一种操作模式,具有在以预定操作模式操作时由处理单元可编程的访问字段。 当访问字段被设置时,处理单元被选择性地拒绝对相关联的至少一个模式特定寄存器的访问,由此在切换操作期间避免在相关联的至少一个模式特定寄存器中更新数据值。 这显着提高了开关操作的速度。