Integrated Instruction Selection and Register Allocation for Compact Code Generation Exploiting Freeform Mixing of 16- And 32-Bit Instructions

For memory constrained embedded systems code size is at least as important as performance. One way of increasing code density is to exploit compact instruction formats, e.g. ARM thumb, where the processor either operates in standard or compact instruction mode. The ARCompact ISA considered in this paper is different in that it allows freeform mixing of 16- and 32-bit instructions without a mode switch. Compact 16-bit instructions can be used anywhere in the code given that additional register constraints are satisfied. In this paper, the authors present an integrated instruction selection and register allocation methodology and develop two approaches for mixed-mode code generation: a simple opportunistic scheme and a more advanced feedback-guided instruction selection scheme.

Provided by: Association for Computing Machinery Topic: Hardware Date Added: Apr 2010 Format: PDF

Find By Topic