Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Loop: lw $t0, 0($s1) lw $t1, 4($s1) addu $t2, $t0, $t1 sw $t0, 0($s2) addi $s1, $s1, -8 bne $s1, $zero, loop Assume you have
Loop: lw $t0, 0($s1)
lw $t1, 4($s1) addu $t2, $t0, $t1
sw $t0, 0($s2)
addi $s1, $s1, -8
bne $s1, $zero, loop
Assume you have a 2-issue processor with static scheduling (VLIW), the first slot can have ALU or branch, and the second slot is for load/store instructions.
A) Show potential scheduling for this code
B) Calculate CPI and IPC
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started