[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
article

Selective code transformation for dual instruction set processors

Published: 01 May 2007 Publication History

Abstract

Embedded systems are often constrained in terms of both code size and execution time, because of a limited amount of available memory and real-time nature of applications. A dual instruction set processor, which supports a reduced instruction set (16 bits/instruction), in addition to a full instruction set (32 bits/instruction), allows an opportunity for a tradeoff between these two design criteria. Specifically, while the reduced instruction set can be used to reduce code size by providing smaller instructions, a program compiled into the reduced instruction set typically runs slower than the same program compiled into the full instruction set. Motivated by this observation, we propose a code generation technique that exploits this tradeoff relationship by selectively using the two instruction sets for different sections in the program. The proposed technique, called selective code transformation, not only provides a mechanism to enable a flexible tradeoff between a program's code size and its execution time, but also facilitates program optimization toward enhancing its worst case performance. The results from our experiments show that our proposed technique can be effectively used to fine-tune an application program on a spectrum of code size and execution performance, which, in turn, enables a system-wide optimization on memory space and execution speed involving multiple applications.

References

[1]
Advanced RISC Machines Ltd. 1995. ARM7TDMI Data Sheet. Advanced RISC Machines Ltd.
[2]
Aho, A. V., Sethi, R., and Ullman, J. D. 1986. Compilers: Principles, Techniques, and Tools. Addison-Wesley, Reading, MA.
[3]
ARC Cores (http://www.arc.com). The ARCtangent-A5 Processor.
[4]
ARM Limited. ARM Developer Suite Developer Guide.
[5]
ARM Linux Project. http://www.arm.linux.org.uk.
[6]
Ball, T. and Larus, J. R. 1996. Efficient path profiling. In Proceedings of the 29th Annual IEEE/ACM Symposium on Microarchitecture. Paris. 46--57.
[7]
Benitez, M. E. and Davidson, J. W. 1994. Target-specific global code improvement: Principles and applications. Tech. Rep. CS-94-42, Department of Computer Science, University of Virginia. April.
[8]
Davidson, J. W. and Fraser, C. W. 1984. Code selection through object code optimization. ACM Transactions on Programming Languages and Systems 6, 4 (Oct.), 505--526.
[9]
Davidson, J. W. and Whalley, D. B. 1991. A design environment for addressing architecture and compiler interactions. Microprocessors and Microsystems 15, 9 (Nov.), 459--472.
[10]
Furber, S. 1996. ARM System Architecture. Addison-Wesley. ISBN 0-201-40352-8.
[11]
Goudge, L. and Segars, S. 1996. Thumb: Reducing the cost of 32-bit RISC performance in portable and consumer applications. In Proceedings of COMPCON.
[12]
Guthaus, M. R., Ringenberg, J. S., Ernst, D., Austin, T. M., Mudge, T., and Brown, R. B. 2001. MiBench: A free, commercially representative embedded benchmark suite. In Proceedings of the 4th IEEE Annual Workshop on Workload Characterization. Austin, TX.
[13]
Halambi, A., Shrivastava, A., Biswas, P., Dutt, N., and Nicolau, A. 2002. An efficient compiler technique for code size reduction using reduced bit-width ISAs. In Proceedings of the Design, Automation and Test in Europe (DATE). Paris.
[14]
Kirner, R. 2003. Extending optimising compilation to support worst-case execution time analysis. Ph.D. thesis, Vienna University of Technology.
[15]
Kissel, K. 1997. MIPS16: High-density MIPS for the embedded market. Tech. rep., Silicon Graphics MIPS Group.
[16]
Krishnaswamy, A. and Gupta, R. 2002. Profile guided selection of ARM and Thumb instructions. In Proceedings of LCTES/SCOPES. Berlin.
[17]
Krishnaswamy, A. and Gupta, R. 2003a. Enhancing the performance of 16-bit code using augmenting instructions. In Proceedings of the ACM SIGPLAN Conferece on Languages, Compilers, and Tools for Embedded Systems (LCTES). San Diego, CA. 254--264.
[18]
Krishnaswamy, A. and Gupta, R. 2003b. Mixed width instruction sets. Communications of the ACM 46, 8 (Aug.), 47--52.
[19]
Lee, C., Potkonjak, M., and Mangione-Smith, W. H. 1997. MediaBench: A tool for evaluating and synthesizing multimedia and communications systems. In Proceedings of the 30th Annual International Symposium on Microarchitecture. 330--335.
[20]
Lee, S., Lee, J., Min, S. L., Hiser, J., and Davidson, J. W. 2003. Code generation for a dual instruction set processor based on selective code transformation. In Proceedings of the 7th International Workshop on Software and Compilers for Embedded Systems (SCOPES). Vienna. 33--48.
[21]
Lee, S., Lee, J., Park, C. Y., and Min, S. L. 2004. A flexible tradeoff between code size and WCET using a dual instruction set processor. In Proceedings of the 8th International Workshop on Software and Compilers for Embedded Systems (SCOPES). Amsterdam. 244--258.
[22]
Lim, S.-S., Bae, Y. H., Jang, G. T., Rhee, B.-D., Min, S. L., Park, C. Y., Shin, H., Park, K., Moon, S.-M., and Kim, C. S. 1995. An accurate worst case timing analysis for RISC processors. IEEE Transactions on Software Engineering 21, 7, 593--694.
[23]
Lim, S.-S., Kim, J., and Min, S. L. 1998. A worst case timing analysis technique for optimized programs. In Proceedings of the 5th International Conference on Real-Time Computing Systems and Applications (RTCSA). Hiroshima. 151--157.
[24]
Park, C. Y. and Shaw, A. C. 1990. Experiments with a program timing tool based on source-level timing schema. In Proceedings of the 11th Real-Time Systems Symposium (RTSS). 72--81.
[25]
Shin, I., Lee, I., and Min, S. L. 2002. Embedded system design framework for minimizing code size and guaranteeing real-time requirements. In Proceedings of the 23rd IEEE Real-Time Systems Symposium (RTSS). Austin, TX. 201--211.
[26]
Shrivastava, A. and Dutt, N. 2004. Energy effcient code generation exploiting reduced bit-width instruction set architectures (rISA). In Proceedings of the 9th Asia and South Pacific Design Automation Conference (ASPCDAC). Yokohama. 475--477.
[27]
SNU Real-Time Benchmark Suite. http://archi.snu.ac.kr/realtime/benchmark.
[28]
Tamches, A. and Miller, B. P. 2001. Dynamic kernel code optimization. In Proceedings of the 3rd Workshop on Binary Translation. Barcelona.
[29]
Zhao, W., Kulkarni, P., Whalley, D., Healy, C., Mueller, F., and Uh, G.-R. 2004. Tuning the WCET of embedded applications. In Proceedings of the 10th IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS). Toronto. 472--481.

Cited By

View all

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Transactions on Embedded Computing Systems
ACM Transactions on Embedded Computing Systems  Volume 6, Issue 2
SPECIAL ISSUE SCOPES 2005
May 2007
119 pages
ISSN:1539-9087
EISSN:1558-3465
DOI:10.1145/1234675
Issue’s Table of Contents
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]

Publisher

Association for Computing Machinery

New York, NY, United States

Journal Family

Publication History

Published: 01 May 2007
Published in TECS Volume 6, Issue 2

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Dual instruction set processors
  2. mixed-width instruction set architecture
  3. reduced bid-width instruction set architecture

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

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

Other Metrics

Citations

Cited By

View all
  • (2024)Energy-Efficient Exposed Datapath Architecture With a RISC-V Instruction Set ModeIEEE Transactions on Computers10.1109/TC.2023.333731373:2(560-573)Online publication date: 1-Feb-2024
  • (2018)DI-SSDProceedings of the 23rd Asia and South Pacific Design Automation Conference10.5555/3201607.3201615(34-39)Online publication date: 22-Jan-2018
  • (2018)FMMUProceedings of the 55th Annual Design Automation Conference10.1145/3195970.3196053(1-6)Online publication date: 24-Jun-2018
  • (2017)Relieving self-healing SSDs of heal stormsProceedings of the 10th ACM International Systems and Storage Conference10.1145/3078468.3078476(1-7)Online publication date: 22-May-2017
  • (2017)The Unwritten Contract of Solid State DrivesProceedings of the Twelfth European Conference on Computer Systems10.1145/3064176.3064187(127-144)Online publication date: 23-Apr-2017
  • (2016)Collaboration of Merge Operations in Hybrid-Mapped Flash Translation Layers with the Multi-Controller DesignProceedings of the International Conference on Research in Adaptive and Convergent Systems10.1145/2987386.2987395(181-186)Online publication date: 11-Oct-2016
  • (2015)ThyNVMProceedings of the 48th International Symposium on Microarchitecture10.1145/2830772.2830802(672-685)Online publication date: 5-Dec-2015
  • (2015)Rethinking I/O request management over eMMC-based solid-state drivesProceedings of the 2015 Conference on research in adaptive and convergent systems10.1145/2811411.2811536(451-456)Online publication date: 9-Oct-2015
  • (2015)FAWBProceedings of the 2015 Conference on research in adaptive and convergent systems10.1145/2811411.2811473(400-405)Online publication date: 9-Oct-2015
  • (2015)Space and write overhead are inversely proportional in flash memoryProceedings of the 8th ACM International Systems and Storage Conference10.1145/2757667.2757682(1-6)Online publication date: 26-May-2015
  • Show More Cited By

View Options

Login options

Full Access

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