Re: Compiler loop optimizations



Hi Amit,

At any rate, for the specified program, a compiler optimization would
not result into any endcase significant improvement.

Well, if you can get rid of the control flow in the loop, subsequent
phases (scheduler/pipeliner, etc) might be able to perform a (much)
better job. So, if you can get rid of it, you should definitely try!

Cheers
-- Robert

On Dec 31, 6:25 am, "Amit Gupta" <emaila...@xxxxxxxxx> wrote:
NOW, you don't really need to worry if gcc/CC can optimize this
particular program. The processor branch prediction unit will be able
to take care of it. ...
.