in Compiler Design recategorized by
3,648 views
1 vote
1 vote

Loop unrolling is a code optimization technique:

  1. that avoids tests at every iteration of the loop
  2. that improves preformance by decreasing the number of instructions in a basic block
  3. that exchanges inner loops with outer loops
  4. that reorders operations to allow multiple computations to happen in parallel
in Compiler Design recategorized by
3.6k views

1 Answer

0 votes
0 votes
ans should be A

Lopp unrolling is used to reduce the number of jump & branch instructions which could potentially make the loop faster but will increase the size of the the binary. Depending on the implementation and platform, either could be faster.
Answer:

Related questions