Part Number: AM5708
Hi,
I am so tired to understand the NOP below:
MVK .S1 100,A1
|| ZERO .L1 A7
LOOP:
LDW .D1 *A4++,A2
|| LDW .D2 *B4++,B2
SUB .S1 A1,1,A1
NOP 2
[A1] B .S2 LOOP
MPYSP .M1X A2, B2, A6
NOP 3
ADDSP .L1 A6,A7,A7
From above asm code, We can see the .M1X , .S1 and .S2 are parallel. So, I think the asm code should be written as the below code:
MVK .S1 100,A1
|| ZERO .L1 A7
LOOP:
LDW .D1 *A4++,A2
|| LDW .D2 *B4++,B2
SUB .S1 A1,1,A1
NOP 4 ; this is the variety
[A1] B .S2 LOOP
MPYSP .M1X A2, B2, A6
NOP 3
ADDSP .L1 A6,A7,A7
the variety is in red typeface. NOP 2 -> NOP 4
Why?