Hello,
I want to implement a tight loop that doesn't need pipeline using the SPLOOP, the loop might look like :
inst1 .L1
inst2 .L1
inst3 .L1
inst4 .L1
The wanted execution flow is :
Cycle 1 : inst1
Cycle 2 : inst2
Cycle 3 : inst3
Cycle 4 : inst4
Cycle 5 : inst1
Cycle 6 : inst2
...
I first tried the code :
MVK .S2 10,B9
MVC .S2 B9,ILC
NOP 3
SPLOOP 4
inst1 .L1
inst2 .L1
inst3 .L1
SPKERNEL 0,0
|| inst4 .L1
But the compiler says that the dynamic length must be > than the ii
Is there someway to use SPLOOP to do it in the manner i want ? could u explain what does that SPKERNEL parameters really mean ? i just put them to 0,0 so as to not have any delays ..
Thanks ..