Title :
On the effectiveness of register moves to minimise post-pass unrolling in software pipelined loops
Author :
Bachir, Mounira ; Cohen, Albert ; Touati, Sid-Ahmed-Ali
Author_Institution :
LIP6, Univ. Pierre et Marie Curie, Paris, France
Abstract :
Software pipelining is a powerful technique to expose fine-grain parallelism, but it results in variables staying alive across more than one kernel iteration. It requires periodic register allocation and is challenging for code generation: the lack of a reliable solution currently restricts the applicability of software pipelining. The classical software solution that does not alter the computation throughput consists in unrolling the loop a posteriori [11], [10]. However, the resulting unrolling degree is often unacceptable and may reach absurd levels. Alternatively, loop unrolling can be avoided thanks to software register renaming. This is achieved through the insertion of move operations, but this may increase the initiation interval (II) which nullifies the benefits of software pipelining. This article aims at tightly controling the post-pass loop unrolling necessary to generate code. We study the potential of live range splitting to reduce kernel loop unrolling, introducing additional move instructions without inscreasing the II. We provide a complete formalisation of the problem, an algorithm, and extensive experiments. Our algorithm yields low unrolling degrees in most cases - with no increase of the II.
Keywords :
optimising compilers; program control structures; code generation; fine-grain parallelism; kernel loop unrolling reduction; live range splitting; periodic register allocation; post-pass unrolling minimisation; software pipelined loops; software pipelining; software register renaming; Clocks; Interference; Kernel; Pipeline processing; Registers; Resource management; Code Optimisation; Compiler; Instruction Level Parallelism; Loop Unrolling; Register Allocation; Software Pipelining;
Conference_Titel :
High Performance Computing and Simulation (HPCS), 2012 International Conference on
Conference_Location :
Madrid
Print_ISBN :
978-1-4673-2359-8
DOI :
10.1109/HPCSim.2012.6266972