首页> 外国专利> Utilizing software locking approach to execute code upon failure of hardware transactional approach

Utilizing software locking approach to execute code upon failure of hardware transactional approach

机译:利用软件锁定方法在硬件事务处理方法失败时执行代码

摘要

Utilizing a software locking approach to execute a code section, upon failure of a hardware transactional approach, is disclosed. A method is disclosed that includes utilizing a hardware approach to transactional memory to execute a code section relating to memory. Where utilizing the hardware approach fails a threshold in executing the code section, the software approach is instead utilized to execute the code section relating to the memory. The threshold may include the hardware approach aborting execution of the code section a predetermined one or more times. The hardware approach includes starting a transaction inclusive of the code section, conditionally executing the transaction, and upon successfully completing the transaction, committing execution to memory. The software locking approach includes placing a lock on memory, executing the code section, committing execution of the code section to the memory as the code section is executed, and then removing the lock from the memory.
机译:公开了一种在硬件事务处理方法失败时利用软件锁定方法来执行代码段的方法。公开了一种方法,该方法包括利用对事务存储器的硬件​​方法来执行与存储器有关的代码段。在利用硬件方法未能执行代码部分的阈值的情况下,相反,利用软件方法来执行与存储器有关的代码部分。阈值可包括硬件方法将代码部分的执行中止预定的一次或多次。硬件方法包括启动包含代码部分的事务,有条件地执行事务,以及在成功完成事务后将执行提交到内存。软件锁定方法包括在存储器上放置锁,执行代码段,在执行代码段时将代码段的执行提交到存储器,然后从存储器中删除锁。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号