Compile-time and instruction-set methods for improving floating- to fixed-point conversion accuracy

Author:

Aamodt Tor M.1,Chow Paul2

Affiliation:

1. University of British Columbia, Vancouver, Canada

2. University of Toronto, Ontario, Canada

Abstract

This paper proposes and evaluates compile time and instruction-set techniques for improving the accuracy of signal-processing algorithms run on fixed-point embedded processors. These techniques are proposed in the context of a profile guided floating- to fixed-point compiler-based conversion process. A novel fixed-point scaling algorithm (IRP) is introduced that exploits correlations between values in a program by applying fixed-point scaling, retaining as much precision as possible without causing overflow. This approach is extended into a more aggressive scaling algorithm (IRP-SA) by leveraging the modulo nature of 2's complement addition and subtraction to discard most significant bits that may not be redundant sign-extension bits. A complementary scaling technique (IDS) is then proposed that enables the fixed-point scaling of a variable to be parameterized, depending upon the context of its definitions and uses. Finally, a novel instruction-set enhancement— fractional multiplication with internal left shift (FMLS)—is proposed to further leverage interoperand correlations uncovered by the IRP-SA scaling algorithm. FMLS preserves a different subset of the full product's bits than traditional fractional fixed-point or integer multiplication. On average, FMLS combined with IRP-SA improves accuracy on processors with uniform bitwidth register architectures by the equivalent of 0.61 bits of additional precision for a set of signal-processing benchmarks (up to 2 bits). Even without employing FMLS, the IRP-SA scaling algorithm achieves additional accuracy over two previous fixed-point scaling algorithms by averages of 1.71 and 0.49 bits. Furthermore, as FMLS combines multiplication with a scaling shift, it reduces execution time by an average of 9.8%. An implementation of IDS, specialized to single-nested loops, is found to improve accuracy of a lattice filter benchmark by the equivalent of more than 16-bits of precision.

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture,Software

Reference32 articles.

1. Aamodt T. 2001. Floating-point to Fixed-Point Compilation and Embedded Architectural Support. M.S. thesis University of Toronto. Aamodt T. 2001. Floating-point to Fixed-Point Compilation and Embedded Architectural Support. M.S. thesis University of Toronto.

2. Embedded ISA support for enhanced floating-point to fixed-point ANSI-C compilation

3. Alta Group. 1994. Fixed-Point Optimizer User's Guide. Cadence Design Systems Inc. Sunnyvale CA. Alta Group. 1994. Fixed-Point Optimizer User's Guide. Cadence Design Systems Inc. Sunnyvale CA.

4. Minimization of fixed-point roundoff noise in extended state-space digital filters;Anspach K. M.;IEEE Trans. Circuits Syst.,1996

5. Approximate state-feedback linearization using spline functions

Cited by 5 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3