首页> 外国专利> Method and system for executing a context-altering instruction without performing a context-synchronization operation within high- performance processors

Method and system for executing a context-altering instruction without performing a context-synchronization operation within high- performance processors

机译:在高性能处理器内执行上下文更改指令而不执行上下文同步操作的方法和系统

摘要

A method and system for executing a context-altering instruction within a processor are disclosed. The processor has a superscalar architecture that includes multiple pipelines, buffers, registers, and execution units. The processor also includes a machine state register for identifying a context of the processor, and a shadow machine state register in conjunction with the machine state register. During operation, a first state of the machine state register is copied to the shadow machine state register. Instructions are executed in accordance with a context identified by the first state of the machine state register. The first state of the shadow machine state register is subsequently altered to a second state in response to decoding a context- altering instruction. The context-altering instruction and subsequent instructions are then executed in accordance with the second state of the shadow machine state register. Finally, the first state of the machine state register is altered to the second state in response to a completion of the context- altering instruction. As a result context synchronization operations are avoided.
机译:公开了一种用于在处理器内执行上下文改变指令的方法和系统。该处理器具有超标量体系结构,其中包括多个管线,缓冲区,寄存器和执行单元。处理器还包括用于标识处理器上下文的机器状态寄存器,以及与机器状态寄存器结合的影子机器状态寄存器。在操作期间,机器状态寄存器的第一状态被复制到影子机器状态寄存器。根据由机器状态寄存器的第一状态标识的上下文来执行指令。响应于解码上下文改变指令,影子机状态寄存器的第一状态随后被改变为第二状态。然后,根据影子机器状态寄存器的第二状态来执行上下文改变指令和后续指令。最后,响应于上下文改变指令的完成,将机器状态寄存器的第一状态改变为第二状态。结果,避免了上下文同步操作。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号