Consider the following program:
§ Perform at least the following optimizations:
§ Removal of the if in the innermost loop (line 14)
§ Loop unrolling (line 13)
§ Constant propagation
§ Floating-point to fixed-point conversion
§ Avoidance of all accesses to arrays
Please provide the optimized version of the program after each of the transformations and do also check for consistent results!