首页> 外国专利> Method and system for propagating exception status in data registers and for detecting exceptions from speculative operations with non-speculative operations

Method and system for propagating exception status in data registers and for detecting exceptions from speculative operations with non-speculative operations

机译:用于在数据寄存器中传播异常状态并从具有非推测性操作的推测性操作中检测异常的方法和系统

摘要

A method for supporting speculative execution includes designating operations as speculative or non-speculative, and then deferring exceptions generated by speculative operations while immediately reporting exceptions by non-speculative operations. If a speculative operation uses a result of a speculative operation that has generated an exception, the exception is propagated. Deferred exceptions are detected and reported using a check operation either incorporated into a non- speculative operation or inserted as a separate check operation. A system for supporting speculative execution includes a functional unit for recognizing a speculative operation and deferring any exceptions generated by such an operation. The functional unit may defer an exception by storing information indicating an error has occurred in the register file. To check for deferred exceptions, the functional unit then reads the register file. If an exception is detected, then the exception is processed and one or more of the speculative operation are re-executed (in a non-speculative mode) where necessary to process the exception.
机译:一种支持推测执行的方法,包括将操作指定为推测或非推测,然后推迟由推测操作生成的异常,同时立即报告非推测操作的异常。如果推测操作使用产生异常的推测操作的结果,则传播该异常。使用合并到非推测性操作中或作为单独检查操作插入的检查操作来检测并报告延迟的异常。用于支持推测执行的系统包括用于识别推测操作并推迟由该操作生成的任何异常的功能单元。功能单元可以通过将指示错误已发生的信息存储在寄存器文件中来推迟异常。为了检查延迟的异常,功能单元然后读取寄存器文件。如果检测到异常,则会处理该异常,并在需要处理异常的地方重新执行一个或多个推测操作(以非推测模式)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号