Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Science For Dummies

Authors: Lillian Pierson ,Jake Porway

2nd Edition

1119327636, 978-1119327639

More Books

Students also viewed these Databases questions

Question

Is it easier to adjust goals upward or downward? Explain.

Answered: 1 week ago

Question

3. Evaluate your listeners and tailor your speech to them

Answered: 1 week ago