首页> 外国专利> Automatic Parallelization in a Tracing Just-in-Time Compiler System

Automatic Parallelization in a Tracing Just-in-Time Compiler System

机译:跟踪实时编译器系统中的自动并行化

摘要

A tracing just-in-time (TJIT) compiler system is described for performing parallelization of code in a runtime phase in the execution of code. Upon detecting a hot loop during the execution of the code, the compiler system extracts trace information from sequentially recorded traces. In a first phase, the compiler system uses the trace information to identify at least one group of operation components that can be operated on in a parallel manner. In a second phase, the compiler system provides instructions which allocate the group of operation components to plural processing resources. A native code generator module carries out those instructions by recompiling native code that directs the operation of a native system to perform parallel processing. The compiler system terminates a group if it encounters program data in a loop iteration that is not consistent with previously encountered predicated information (upon which it records a new trace in a sequential manner).
机译:描述了一种跟踪实时(TJIT)编译器系统,用于在代码的运行时阶段中执行代码的并行化。在代码执行期间检测到热循环后,编译器系统将从顺序记录的跟踪中提取跟踪信息。在第一阶段,编译器系统使用跟踪信息来标识至少一组可以并行操作的操作组件。在第二阶段,编译器系统提供指令,该指令将一组操作组件分配给多个处理资源。本机代码生成器模块通过重新编译本机代码来执行这些指令,这些代码指导本机系统的操作以执行并行处理。如果编译器系统在循环迭代中遇到程序数据时终止了该组,该循环与先前遇到的谓词信息不一致(基于该信息,它会顺序记录新的跟踪)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号