AnsweredAssumed Answered

TS-201 memory wait cycles

Question asked by TYuD on Nov 27, 2009
Latest reply on Dec 17, 2009 by jeyanthi.jegadeesan



At the following instruction in time critical section of my program:
            yxr0  = l[j0 += 0x40];;
processor inserts 7-8 wait cycles (begin value of j0 is 0x00140002).


How can I escape these wait cycles?


I suppose the wait cycles appear because of data memory prefetch is not fully used.

Is there a possibility to start background prefetch process previously? Like following way:


            yxr0 = l[j0 += 0x40];;
            Start prefetch at new j0;;
            Some instruction;;
// Prefetch is executed at background
            ...                        ;; // Prefetch is executed at background
jump loop;;