3. The compiler's role
As previously mentioned, the compiler is responsible for generating long instructions according to the different slots available. VLIW instructions can have up to 8 slots, whereas the length of basic blocks in programs, i.e. the sequence of instructions followed by a branch, varies on average between 4 to 5 for integer programs and 8 to 10 for float programs. This means that a basic block requires one instruction or a very small number of VLIW instructions.
3.1 Trace scheduling
The compiler must first schedule the basic blocks. To optimize further, the compiler must schedule instructions across several basic blocks to form super-blocks. This technique is called trace scheduling. It is illustrated in figure
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed? Log in!
The compiler's role
Article included in this offer
"Software technologies and System architectures"
(
227 articles
)
Updated and enriched with articles validated by our scientific committees
A set of exclusive tools to complement the resources
Bibliography
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed? Log in!