Question: Consider the following ARMv 8 code: MOV X 1 0 # 8 0 0 0 ADD X 2 , X 0 , X 1 0

Consider the following ARMv8 code:
MOV X10 #8000
ADD X2, X0, X10
ADDI X1, X0, #16
LOOP:
LDUR D0,[X1, #-16]
LDUR D2,[X1, #-8]
FADD D4, D0, D2
STUR D4,[X1, #0]
ADDI X1, X1, #8
CMP X1, X2
B.LE LOOP
With the following latencies: FADD is 4, LDUR is 6 and STUR is 1. How many times does the loop run?
Question 10 options:
16
999
128
8

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!