6th Great Lakes Symposium on VLSI
A Global Mode Instruction Minimization Technique for Embedded DSPs.
Ames, IA
March 22-March 23
ISBN: 0-8186-7502-0
This paper addresses the problem of minimizing mode setting instructions for embedded DSPs. Many such processors use a state register to control the mode of ALU operations (e.g., sign extension, round, and shift). Often two or more modes can be changed by a single instruction. A method is given to determine the minimum number of instructions needed to properly set modes, assuming a schedule has been determined. Our approach models the problem as a minimum cover, and is not limited to a basic block. Block frequency information is exploited to encourage mode changes in less frequently executed blocks whenever possible. Special attention is given to the proper optimization of loops.