GATE 2008
May 17, 2024
Question 3925 – Compiler-Design
May 17, 2024
GATE 2008
May 17, 2024
Question 3925 – Compiler-Design
May 17, 2024

Question 3744 – Compiler-Design

Loop unrolling is a code optimization technique:

Correct Answer: A

Question 223 Explanation: 
→ Loop unrolling is a code optimization technique that avoids tests at every iteration of the loop.
→ The goal of loop unwinding is to increase a program’s speed by reducing (or) eliminating instructions that control the loop, such as pointer arithmetic and “end of loop” tests on each iteration.
A
that avoids tests at every iteration of the loop.
B
that improves performance by decreasing the number of instructions in a basic block.
C
that exchanges inner loops with outer loops
D
that reorders operations to allow multiple computations to happen in parallel

Leave a Reply

Your email address will not be published. Required fields are marked *