Question: 5 - Calculate this code sequence's baseline performance ( in cycles, per loop iteration ) , assuming that no new instruction's execution can begin until
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 FRw
ADDD F F F
ADDD F F F
LD FRz
DIVD F F F
MULTD F F F
ADDI Rz F#
ADDI Rw F#
SD RzRx
SUB R R Rz
BNZ R Loop
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
