Question: 5 - Calculate this code sequence's baseline performance ( in cycles, per loop iteration ) , assuming that no new instruction's execution can begin until

5- Calculate this code sequence's baseline performance (in cycles, per loop iteration), assuming that no new instruction's execution can begin until the previous instruction's execution completes. Each instruction requires one clock cycle to execute.
Consider:
- A branch shadow cycle is required.
- Any additional latency due to instruction dependencies.
Loop:
LD F11,0(Rw)
ADDD F11, F3, F11
ADDD F13, F5, F7
LD F1,0(Rz)
DIVD F5, F1, F3
MULTD F7, F5, F9
ADDI Rz, F1,\#4
ADDI Rw, F7,\#4
SD Rz,0(Rx)
SUB R21, R6, Rz
BNZ R21, Loop
5 - Calculate this code sequence's baseline

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!