Shailendra B. answered 03/29/19
Technical Leader with 23 years software experience
Well when you tried loop unrolling, did it make any difference or were you unable to discern any difference in performance ? So first question, you should be able to answer on your own.
Loop unrolling can help if your loops are small - like 2 to 4, you could just expand the loop contents whatever number of times you need to execute the loop. Obviously you can do loop unrolling only if you know number of executions of the loop body in advance.