In _______, the bodies of the two loops are merged together to form a single loop provided that they do not make any references to each other.
(A)
Loop unrolling
(B)
Strength reduction
(C)
Loop concatenation
(D)
Loop jamming
Answer: (D)
Explanation:
- In loop jamming, the bodies of the two loops are merged together to form a single loop provided that they do not make any references to each other.
- In loop concatenation, the bodies of the two loops are concatenated together to form a series of loop, loop concatenation, some times help to reduce complexity.
- In loop unrolling, we try to optimize a program\’s execution speed. It is also known as space–time tradeoff.
- In strength reduction compiler optimize expensive operations with equivalent but less expensive operations.
So, option (D) is correct.
Quiz of this Question
Please comment below if you find anything wrong in the above post
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape,
GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out -
check it out now!
Last Updated :
20 Apr, 2018
Like Article
Save Article