ACM Home Page
Please provide us with feedback. Feedback
Digital Library logoTake a look at the new version of this page: [ beta version ]. Tell us what you think.
Compiling with code-size constraints
Full text PdfPdf (246 KB)
Source Language, Compiler and Tool Support for Embedded Systems archive
Proceedings of the joint conference on Languages, compilers and tools for embedded systems: software and compilers for embedded systems table of contents
Berlin, Germany
SESSION: Code Generation table of contents
Pages: 120 - 129  
Year of Publication: 2002
ISBN:1-58113-527-0
Also published in ...
Authors
Mayur Naik  Purdue University, West Lafayette, IN
Jens Palsberg  Purdue University, West Lafayette, IN
Sponsor
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 1,   Downloads (12 Months): 13,   Citation Count: 8
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/513829.513851
What is a DOI?

ABSTRACT

Most compilers ignore the problems of limited code space in embedded systems. Designers of embedded software often have no better alternative than to manually reduce the size of the source code or even the compiled code. Besides being tedious and error-prone, such optimization results in obfuscated code which is difficult to maintain and reuse. In this paper, we present a code-size-directed compiler. We phrase register allocation and code generation as an integer linear programming problem where the upper bound on the code size can simply be expressed as an additional constraint. Our experiments show that our compiler, when applied to two commercial microcontroller programs, generates code as compact as carefully crafted code.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
CPLEX mixed integer optimizer. www.ilog.com/products/cplex/product/mip.cfm
 
2
Greenhill Manufacturing. www.greenhillmfg.com
 
3
Zilog, Inc. www.zilog.com
4
 
5
 
6
R. Fourer, D. M. Gay, and B. W. Kernighan. AMPL: A Modeling Language for Mathematical Programming. The Scientific Press, 1993. www.ampl.com
 
7
 
8
 
9
10
 
11
12
13
14
15
16
 
17
18


Collaborative Colleagues:
Mayur Naik: colleagues
Jens Palsberg: colleagues