Q:Write the DLX code of the following C statement.
X = (a + b) - (c - (a * d));
Please optimize the code for tomasulo's algorithm as much as you can. Calculate the total clock cycles. Assume the following latencies in clock cycles:
The following are the default values of DLXtomasulo:
Tomasulo's Algorithm Hardware Configuration 3 add/subtract units, latency = 2 cycles 2 mult/div units, latency = 10 cycles (multiply) latency = 40 cycles (divide) 6 load_units, latency = 2 cycles 3 store_units, latency = 2 cycles
Last updated: 1995.5.18