首页> 外国专利> Code evaluation of fixed-point math in the presence of customizable fixed-point typing rules

Code evaluation of fixed-point math in the presence of customizable fixed-point typing rules

机译:在存在可自定义的定点键入规则的情况下对定点数学进行代码评估

摘要

Systems and methods are provided for using partial evaluation techniques to efficiently generate code for a fixed-point operation. The present invention uses partial evaluation techniques to evaluate a fixed-point rule of a fixed-point operation. The fixed-point rules, which may be customized by a user, determine the data type of the result or output of the operation. Although the values of all the inputs may not be known at code generation time, the present invention determines via static or known information associated with the input the portion of the fixed-point rule known at code generation time. As such, the present invention can generate more efficient code by generating code representing the static analysis of the inputs and fixed-point typing rules of the fixed-point operation.
机译:提供了用于使用部分评估技术来有效地生成用于定点操作的代码的系统和方法。本发明使用部分评估技术来评估定点运算的定点规则。用户可以定制的定点规则确定操作结果或输出的数据类型。尽管在代码生成时可能不知道所有输入的值,但是本发明通过与输入相关联的静态或已知信息来确定在代码生成时已知的定点规则的部分。这样,本发明可以通过生成表示输入的静态分析和定点操作的定点键入规则的代码来生成更有效的代码。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号