ISRO Scientist/Engineer CSE 2020Compiler Design › Code Optimization and Runtime Environment
ISRO Scientist/Engineer CSE 2020 PYQ: Which of the following is a type of a out-of-order execution, with the reordering done by a compiler
Which of the following is a type of a out-of-order execution, with the reordering done by a compiler
- Aloop unrolling
- Bdead code elimination
- Cstrength reduction
- Dsoftware pipeliningCorrect answer
Answer
(D) software pipelining
Approach
Identify which compiler optimization technique reorders instructions to overlap iterations, analogous to hardware out-of-order execution. Software pipelining explicitly restructures loops so that operations from different iterations execute in parallel, with the reordering performed by the compiler.
Reviewed by ISRO IQ Editorial Team.