Automated Synthesis of Target-Dependent Programs for Polynomial Evaluation in Fixed-Point Arithmetic

被引:1
作者
Mouilleron, Christophe [1 ]
Najahi, Amine [2 ,3 ,4 ]
Revy, Guillaume [2 ,3 ,4 ]
机构
[1] ENSIIE, F-91025 Evry, France
[2] Univ Perpignan, DALI, F-66860 Perpignan, France
[3] Univ Montpellier 2, LIRMM, UMR 5506, F-34095 Montpellier, France
[4] LIRMM, CNRS, UMR 5506, F-34095 Montpellier, France
来源
16TH INTERNATIONAL SYMPOSIUM ON SYMBOLIC AND NUMERIC ALGORITHMS FOR SCIENTIFIC COMPUTING (SYNASC 2014) | 2014年
关键词
fixed-point arithmetic; automated code synthesis; error analysis; polynomial evaluation;
D O I
10.1109/SYNASC.2014.27
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The design of both fast and numerically accurate programs is a real challenge. Thus, the CGPE tool was introduced to assist programmers in synthesizing fast and numerically certified codes in fixed-point arithmetic for the particular case of polynomial evaluation. For performance purposes, this tool produces programs using exclusively unsigned arithmetic and addition/subtraction or multiplication operations, thus requiring some constraints on the fixed-point operands. These choices are well-suited when dealing with the implementation of certain mathematical functions, however they prevent from tackling a broader class of polynomial evaluation problems. In this paper, we first expose a rigorous arithmetic model for CGPE that takes into account signed arithmetic. Then, in order to make the most out of advanced instructions, we enhance this tool with a multi-criteria instruction selection module. This allows us to optimize the generated codes according to different criteria, like operation count, evaluation latency, or accuracy. Finally, we illustrate this technique on operation count, and we show that it yields an average reduction of up to 22.3% of the number of operations in the synthesized codes of some functions. We also explicit practical examples to show the impact of using accuracy based rather than latency based instruction selection.
引用
收藏
页码:141 / 148
页数:8
相关论文
共 24 条
[1]  
[Anonymous], 2008, ST231 CORE INSTRUCTI
[2]  
[Anonymous], 2008, 7542008 IEEE COMP SO
[3]  
[Anonymous], 2009, ARM ARCHITECTURE REF
[4]  
[Anonymous], 2011, ENCY PARALLEL COMPUT
[5]  
[Anonymous], 2011, THESIS
[6]  
[Anonymous], 2007, Compilers: principles, techniques and tools
[7]  
Boldo S., 2004, THESIS
[8]  
Eldib H, 2013, 2013 FORMAL METHODS IN COMPUTER-AIDED DESIGN (FMCAD), P129
[9]  
Green R., 2002, TUT GAM DEV C
[10]  
Harrison J., 1999, Intel Technology Journal, VQ4, P1