首页> 外国专利> AUTO-VECTORIZATION IN JUST-IN-TIME COMPILERS FOR DYNAMICALLY TYPED PROGRAMMING LANGUAGES

AUTO-VECTORIZATION IN JUST-IN-TIME COMPILERS FOR DYNAMICALLY TYPED PROGRAMMING LANGUAGES

机译:动态编译程序语言的即时编译器中的自动保护

摘要

A computing device with an optimizing compiler is disclosed that is configured to generate optimized machine code including a vector operation corresponding to multiple scalar operations where the vector operation is a single operation on multiple pairs of operands. The optimizing compiler includes a vector guard condition generator configured to generate a vector guard condition for one or more vector operations, a mapping module to generate a mapping between elements of the vector guard condition and positions of the relevant scalar operations in the non-optimized machine code or intermediate representation of the source code, and a guard condition handler configured to initiate execution from a particular scalar operation in the non-optimized machine code or intermediate representation if the vector guard condition is triggered. The computing device may include a non-optimizing compiler and/or an interpreter to perform execution of the scalar operations if the vector guard condition is triggered.
机译:公开了具有优化编译器的计算设备,该计算设备被配置为生成包括对应于多个标量运算的矢量运算的优化机器码,其中矢量运算是对多对操作数的单个运算。该优化编译器包括:矢量保护条件生成器,被配置为生成一个或多个矢量运算的矢量保护条件;映射模块,用于生成矢量保护条件的元素与未优化机器中相关标量操作的位置之间的映射代码或源代码的中间表示形式,以及保护条件处理程序,该保护条件处理程序配置为在触发矢量保护条件时从未优化的机器码或中间表示形式中的特定标量运算启动执行。如果触发了矢量保护条件,则计算设备可以包括非优化编译器和/或解释器以执行标量运算。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号