DocumentCode :
2534786
Title :
Efficient use of invisible registers in Thumb code
Author :
Krishnaswamy, Arvind ; Gupta, Rajiv
Author_Institution :
Dept. of Comput. Sci., Arizona Univ., Tucson, AZ, USA
fYear :
2005
fDate :
12-16 Nov. 2005
Abstract :
The ARM processor is a dual width ISA processor that provides a 16-bit Thumb instruction set in addition to the 32-bit ARM instruction set. The compromises made in designing the Thumb instruction set leads to significantly increased instruction counts. This increase is in part due to the fact that only half of the register file is visible to most instructions in Thumb code. In this paper we address this inefficiency by providing a new instruction, the SetMask instruction, using which the compiler can change the visible subset of registers at any program point. Thus, through the use of this instruction the compiler can make use of all registers in all instructions. We present compiler techniques for allocating invisible registers and introducing SetMask instructions in a manner that the number of introduced instructions is minimized so that the increase in code size is insignificant. We implement this new instruction using the dynamic instruction coalescing framework which enables the SetMask instruction to have zero execution time cost. Our techniques eliminated 11.7% of MOV instructions from Thumb code while causing negligible code size increase.
Keywords :
file organisation; instruction sets; program compilers; 16 bit; 16-bit thumb instruction set; 32 bit; 32-bit ARM instruction set; ARM processor; ISA processor; SetMask instruction; Thumb code; Thumb instruction set; dynamic instruction coalescing framework; invisible registers; Computer science; Costs; Instruction sets; Macrocell networks; Memory management; Microarchitecture; Microprocessors; Program processors; Registers; Thumb;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Microarchitecture, 2005. MICRO-38. Proceedings. 38th Annual IEEE/ACM International Symposium on
Print_ISBN :
0-7695-2440-0
Type :
conf
DOI :
10.1109/MICRO.2005.19
Filename :
1540946
Link To Document :
بازگشت