Discussion Locked

LOOP UNROLLING / Data Hazards

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Question #1
What is the 2 times loop unrolling of the following?

Loop: ADD R0, R0 R2
SUBI R1, R1, #1
BNEZ R1, Loop

Question # 2

What type of hazards exist in this code?

LW R1, 0(R2)
ADDI R1, R1, #1

email:saeedmdali@hotmail.com

1 reply

This discussion is closed to new replies.