What Is Loop Unrolling?

Vishakha Disawal
Vishakha Disawal

Posted On: May 31, 2021

 

Loop unrolling is a compiler optimization that reduces the frequency of branches and loop maintenance instructions. It enables other optimizations and increases the parallelism degree in the loop body given the increase of its operations. It is easily applied to sequential array processing loops where the number of iterations is known prior to the execution of the loop.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Embedded Systems Interview Questions

    Explian what is embedded system?

    An embedded system is a hardware system attached with software that is designed to perform a dedicated function or a specific task, either as an independent system or as a part of a large system....

    Embedded Systems Interview Questions

    What are major components of embedded system?

    There are three major components of an embedded system i.e. hardware, software, and operating system. The sub-division of these components are Processor, Memory, Timers counters, Communication ports, ...

    Embedded Systems Interview Questions

    What is difference between thread and process?

    Process means a program that is under execution that runs in separate memory spaces whereas a thread means a segment of a process that shares information like data segment, code segment, files, etc. w...