[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/1016720.1016732acmconferencesArticle/Chapter ViewAbstractPublication PagesesweekConference Proceedingsconference-collections
Article

Detecting overflow detection

Published: 08 September 2004 Publication History

Abstract

Fixed-point saturating arithmetic is widely used in media and digital signal processing applications. A number of processor architectures provide instructions that implement saturating operations. However, standard high-level languages, such as ANSI C, provide no direct support for saturating arithmetic. Applications written in standard languages have to implement saturating operations in terms of basic two's complement operations. In order to provide fast execution of such programs it is important to have an optimizing compiler automatically detect and convert appropriate code fragments to hardware instructions.We present a set of techniques for automatic recognition of saturating arithmetic operations. We show that in most cases the recognition problem is simply one of Boolean circuit equivalence. Given the expense of solving circuit equivalence, we develop a set of practical approximations based on abstract interpretation. Experiments show that our techniques, while reliably recognizing saturating arithmetic, have small compile-time overhead. We also demonstrate that our approach is not limited to saturating arithmetic, but is directly applicable to recognizing other idioms, such as add-with-carry and absolute value.

References

[1]
Mihai Budiu, Majd Sakr, Kip Walker, and Seth~Copen Goldstein. BitValue inference: Detecting and exploiting narrow bitwidth computations. In Europar 2000.]]
[2]
Patric Cousot and Radhia Cousot. Abstract interpretation: a unified lattice model for static analysis of programs by construction or approximation of fixpoints. In POPL 1979.]]
[3]
DSP-C Proposed Standard. www.dsp-c.org.]]
[4]
J. Glossner, J. Moreno, M. Moudgill, J. Derby, E. Hokenek, D. Meltzer, U. Shvadron, and M. Ware. Trends in compilable dsp architecture. In SIPS 2000.]]
[5]
European Telecommunications~Standards Institute. Digital cellular telecommunications system, ANSI-C code for the GSM Enhanced Full Rate (EFR) speech codec. (GSM 46.053). ftp://ftp.3gpp.org/specs/archive.]]
[6]
European Telecommunications~Standards Institute. Digital cellular telecommunications system, ANSI-C code for the GSM Adaptive Multiple Rate (AMR) speech codec. (GSM 26.073). ftp://ftp.3gpp.org/specs/archive.]]
[7]
Texas Instruments. TMS320C6000 Programmers Guide.]]
[8]
Jorn Lind-Nielsen. BuDDy - A Binary Decision Diagram Package. http://www.itu.dk/research/buddy]]
[9]
MediaBench Benchmark. http://cares.icsl.ucla.edu/MediaBench/.]]
[10]
Mark Stephenson, Jonathan Babb, and Saman Amarasinghe. Bidwidth analysis with application to silicon compilation. In PLDI 2000.]]
[11]
Mark N. Wegman and F. Kenneth Zadeck. Constant propagation with conditional branches. TOPLAS, 13(2):181--210, 1991.]]

Cited By

View all
  • (2022)Efficient FPGA Parallelization of Lipschitz Interpolation for Real-Time Decision-MakingIEEE Transactions on Control Systems Technology10.1109/TCST.2021.313661630:5(2163-2175)Online publication date: Sep-2022
  • (2007)Trends in low power handset software defined radioProceedings of the 7th international conference on Embedded computer systems: architectures, modeling, and simulation10.5555/1776200.1776243(313-321)Online publication date: 16-Jul-2007
  • (2007)Trends in Low Power Handset Software Defined RadioEmbedded Computer Systems: Architectures, Modeling, and Simulation10.1007/978-3-540-73625-7_33(313-321)Online publication date: 2007
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
CODES+ISSS '04: Proceedings of the 2nd IEEE/ACM/IFIP international conference on Hardware/software codesign and system synthesis
September 2004
266 pages
ISBN:158113 9373
DOI:10.1145/1016720
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 08 September 2004

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Conference

CODES/ISSS04

Acceptance Rates

Overall Acceptance Rate 280 of 864 submissions, 32%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)4
  • Downloads (Last 6 weeks)0
Reflects downloads up to 14 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2022)Efficient FPGA Parallelization of Lipschitz Interpolation for Real-Time Decision-MakingIEEE Transactions on Control Systems Technology10.1109/TCST.2021.313661630:5(2163-2175)Online publication date: Sep-2022
  • (2007)Trends in low power handset software defined radioProceedings of the 7th international conference on Embedded computer systems: architectures, modeling, and simulation10.5555/1776200.1776243(313-321)Online publication date: 16-Jul-2007
  • (2007)Trends in Low Power Handset Software Defined RadioEmbedded Computer Systems: Architectures, Modeling, and Simulation10.1007/978-3-540-73625-7_33(313-321)Online publication date: 2007
  • (2006)The sandbridge SB3011 SDR platformJoint IST Workshop on Mobile Future, 2006 and the Symposium on Trends in Communications. SympoTIC '06.10.1109/TIC.2006.1708006(ii-v)Online publication date: 2006
  • (2006)A Low-Power Multithreaded Processor for Software Defined RadioJournal of VLSI Signal Processing Systems10.1007/s11265-006-7267-143:2-3(143-159)Online publication date: 1-Jun-2006
  • (2006)Software implementation of WiMAX on the sandbridge sandblaster platformProceedings of the 6th international conference on Embedded Computer Systems: architectures, Modeling, and Simulation10.1007/11796435_44(435-446)Online publication date: 17-Jul-2006

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media