Question: Problem 2 : Consider a dynamically scheduled single - issue processor that uses Tomasulo s algorithm with the following execution latencies: 2 cycles for LD
Problem :
Consider a dynamically scheduled singleissue processor that uses Tomasulos algorithm with the following
execution latencies:
cycles for LD cycle for address computation
cycles for SD cycle for address computation
cycles for integer addsub
cycles for double precision add ADDD
cycles for double precision multiply MULTD
cycles for double precision divide DIVD
Also assume that the number of reservation stations we have for load, store, integer addsub double
precision addsub and double precision multiplydivide are and respectively. Finally assume that
if two instructions are ready to write their results back in the same clock cycle, the priority will be given to
the oldest instruction based on program order
Consider the program segment below:
I: LD FRx
I: DIVD FFF
I: MULTD FFF
I: LD FRy
I: ADDD FFF
I: ADDD FFF
I: ADDI RxRx#
I: ADDI RyRy#
I: SUB RRRx
I: SD FRy
Show the status of each instruction, the reservation stations including loadstore buffers and the registers
status at cycle How many cycles does it take for the program segment below to finish execution? For each
instruction show when it issues, when it finishes execution, and when it writes its result.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
