Page 2 of 2

Re: NDS: Move a function to ITCM

Posted: Mon Jun 20, 2011 3:08 pm
by elhobbs
code is being run from cache - which is fast. if it fits in cache then it will already be fast. if the loop is too big to fit in cache then there will be cache misses/loads. if the the loop has a high iteration then the overhead of repeatedly filling the cache will slow things down.

Re: NDS: Move a function to ITCM

Posted: Sat Jun 25, 2011 11:39 pm
by HeavyDude
Thank you, thats so obvious now!! :oops:

Re: NDS: Move a function to ITCM

Posted: Tue Jun 28, 2011 3:02 am
by coreyh2
This is a good article about cache. Its a bit old and it more PC oriented but describes the basics well.
http://arstechnica.com/gadgets/reviews/ ... aching.ars