|
|
||||||||||||||||
MCodeOpt |
|||||||||||||||||
Brief Explanation:
This program demonstrates various techniques for the code optimization. As
you know there is so many ways to optimize a program; here we intend just to include those
techniques that mostly are related to the architecture of modern CPUs. We try to take
advantage from things like the pipeline hole reduction in CPU's function units. The
program
written as an assignment for the "Advanced Computer Architecture" course, Fall
2000.
You will find example codes to validate the following techniques:
"Calculating PI" and "Finding Maximum Value in an Array" have presented as case studies to show how we may use the techniques in existing codes.
You may download the last available version as freeware from the download page.
Screen Shots:

Figure 1. Main Window

Figure 2. Speedup for Calculating PI

Figure 3. Speedup for Finding Maximum Value in an Array

Figure 4. Speedup for Column Major Accessing

Figure 5. Windows Help format documentation