Course Solutions Uncategorized (Solved) : Hi Help Following Questions Question 2 Need Execution Time Program Various Optimization Le Q34744469 . . . .

(Solved) : Hi Help Following Questions Question 2 Need Execution Time Program Various Optimization Le Q34744469 . . . .

 

Hi can you help me with the following questions?

For question 2, I will need the execution time for each programat the various optimization level.

For question 3, I will need to know the kinds of optimizationused by the compiler in each level in order to make the programfaster based on the results in question 2.

Optimizations:

1) High level – Procedure integration (procedure in-lining)

2) Local (within a basic block) – Common expression elimination,Constant propagation, Stack height reduction

3) Global (beyond a basic block) – Global common expressionelimination, Copy propagation, Code motion

4) Machine-Dependent- Strength reduction (shift formultiplication), Branch offset optimization, Pipelinescheduling

Examples of optimizations:

Copy propagation Common-expression elimination /7 before m60; h60 60; d24*m; days = seconds / d; /7 before a -b +c+ d; // aft

Assignment

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post