









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










In addition to detecting the presence of a dependence, a compiler wants to classify the type of dependence That is, the compiler recognize name dependence and eliminate them at compile time by renaming and copying
Enhancing ILP To achieve more ILP, compliers can reduce the impact of dependent computations The key technique for this is to eliminate or reduce dependent computations by back substitution
Following this we discussed techniques to eliminate dependent computation These techniques are employed in compiler based scheduling
Detecting and enhancing loop level parallelism In this example, dependence information is inexact, as it tells that such a dependence occur.
Now consider one more example, for ( i=1; i<=100; i=i+1) { A[i] = B[i] + C[i]; D[i] = A[i] * E[i]; }
In general, data dependence analysis tells that one reference may depends on another. But a complex analysis requires to determine that two reference must be to the exact same address.
In this example a simple version of this analysis suffices. As the two references are on the same basic block.
Recurrence exists, when the variable is defined based on the value of that variable in the earlier iteration. Recurrence detection is important for two reasons.
Here in ith iteration, the loop reference element is i-5. This loop have a dependence distance of 5. Loop carried dependences have a data dependence of 1.