Scoreboarding Problem 2


Q: Write the DLX code of the following C statement.

     for (k = 0 ; k<2 ; k++)
        x[k] = r*x[k] + t*y[k];
And try to optimize(unroll) the code for scoreboarding as much as you can. Calculate the total clock cycles you need. Assume the following latencies in clock cycles:

The following are the default values of DLXscore:

Scoreboarding Hardware Configuration
 1 integer_unit,       latency =  1 cycles
 3 add/subtract units, latency =  2 cycles
 1 divide units,       latency = 40 cycles
 2 multiply units,     latency = 10 cycles

Sample solution of problem 2


This page is created by Yueh-Lin Liu(yueh@cs.bu.edu) as a part of Master project under the supervision of Prof. Azer Bestavros(best@cs.bu.edu)
Last updated: 1995.5.18