首页> 外文期刊>Computer-Aided Design of Integrated Circuits and Systems, IEEE Transactions on >An SMT Based Method for Optimizing Arithmetic Computations in Embedded Software Code
【24h】

An SMT Based Method for Optimizing Arithmetic Computations in Embedded Software Code

机译:基于SMT的嵌入式软件代码优化算法计算方法。

获取原文
获取原文并翻译 | 示例

摘要

We present a new method for optimizing the source code of embedded control software with the objective of minimizing implementation errors in the linear fixed-point arithmetic computations caused by overflow, underflow, and truncation. Our method relies on the use of the satisfiability modulo theory (SMT) solver to search for alternative implementations that are mathematically equivalent but require a smaller bit-width, or implementations that use the same bit-width but have a larger error-free dynamic range. Our systematic search of the bounded implementation space is based on a new inductive synthesis procedure, which is guaranteed to find a valid solution as long as such solution exists. Furthermore, we propose an incremental optimization procedure, which applies the synthesis procedure only to small code regions—one at a time—as opposed to the entire program, which is crucial for scaling the method up to programs of realistic size and complexity. We have implemented our new method in a software tool based on the Clang/LLVM compiler frontend and the Yices SMT solver. Our experiments, conducted on a set of representative benchmarks from embedded control and digital signal processing applications, show that the method is both effective and efficient in optimizing arithmetic computations in embedded software code.
机译:我们提出了一种优化嵌入式控制软件源代码的新方法,目的是最大程度地减少由上溢,下溢和截断引起的线性定点算术运算中的实现错误。我们的方法依赖于可满足性模理论(SMT)求解器的使用,以搜索数学上等效但需要较小位宽的替代实现,或使用相同位宽但具有较大无错误动态范围的实现。我们对有界实现空间的系统搜索基于一种新的归纳综合程序,只要存在这样的解决方案,就可以保证找到有效的解决方案。此外,我们提出了一种增量优化过程,该过程仅将合成过程一次应用于一个小的代码区域,而不是整个程序,这对于将方法扩展到实际大小和复杂性的程序至关重要。我们已经在基于Clang / LLVM编译器前端和Yices SMT求解器的软件工具中实现了新方法。我们对嵌入式控制和数字信号处理应用程序的一组代表性基准进行的实验表明,该方法在优化嵌入式软件代码中的算术计算方面既有效又高效。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号