首页> 外国专利> METHOD FOR GUARANTEEING PROGRAM CORRECTNESS USING FINE-GRAINED HARDWARE SPECULATIVE EXECUTION

METHOD FOR GUARANTEEING PROGRAM CORRECTNESS USING FINE-GRAINED HARDWARE SPECULATIVE EXECUTION

机译:使用精细颗粒硬件执行力来保证程序正确性的方法

摘要

A method for checking program correctness may include executing a program on a main hardware thread in speculative execution mode on a hardware execution context on a chip having a plurality of hardware execution contexts. In this mode, the main hardware thread's state is not committed to main memory. Correctness checks by a plurality of helper threads are executed in parallel to the main hardware thread. Each helper thread runs on a separate hardware execution context on the chip in parallel with the main hardware thread. The correctness checks determine a safe point in the program up to which the operations executed by said main hardware thread are correct. Once the main hardware thread reaches the safe point, the mode of execution of the main hardware thread is switched to non-speculative. The runtime then causes the main thread to re-enter speculative mode of execution.
机译:一种检查程序正确性的方法,可以包括在具有多个硬件执行上下文的芯片上的硬件执行上下文上以推测执行模式在主硬件线程上执行程序。在这种模式下,主硬件线程的状态不提交给主内存。多个辅助线程的正确性检查与主硬件线程并行执行。每个辅助线程在芯片上与主硬件线程并行运行的独立硬件执行上下文中。正确性检查确定程序中的安全点,由所述主要硬件线程执行的操作在安全点之前是正确的。一旦主硬件线程到达安全点,就将主硬件线程的执行模式切换为非推测性。然后,运行时使主线程重新进入推测的执行模式。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号