Answered You can hire a professional tutor to get the answer.

QUESTION

1-What is true about the following code sequence: addi x18, x0, 1 addi x19, x0, 2 addi x20, x0, 2 addi x21, x0, 4 addi x22, x0, 5 a.Must stall on the...

1-What is true about the following code sequence:

addi x18, x0, 1 

addi x19, x0, 2 

addi x20, x0, 2 

addi x21, x0, 4 

addi x22, x0, 5

a.Must stall on the addi results

b.Can avoid stalls using only forwarding

c.Can execute without stalling or forwarding

d.None of the above

2-What is true about the following code sequence:

ld x9, 64(x22) 

add x9, x21, x9

a.Must stall on the ld result

b.Can avoid stalls using only forwarding

c.Can execute without stalling or forwarding

d.None of the above

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question