Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/03/06 15:41
Read: times


 
#127324 - if what you want is to bitch, the cache stinks, if
Responding to: ???'s previous message
If they pipeline the architecture such that if you branch out of a loop and into another it takes an indeterminate period of time to reload the pipeline .... How'd they manage to sell that? This clearly makes their claim of "100 MIPS" false, except for loops shorter than whatever the pipeline is.

with proper coding the pipeline will miss only where you, as most often is the case, do not care. There are means of making "precise timing loops" run at full and precise speed.

So, yes, if what you want is to bitch, the cache stinks, if what you want is fast code it works.

BTW a cache miss is simple to calculate: 40ns if on 4 byte boundary up to 70 (40 + 30) if not.

as far as makes their claim of "100 MIPS" false" sure, only 'ideal' code runs at that speed; however 85 MIPS seems to be 'the rule' for 'typical un-tuned code' with 'tuning' you can easily make e.g. an ISR run at 100. There are, in the SILabs community, those that align the start of ISRs on a 4 byte boundary and make the first 4 bytes plus the vector 'permanent cache store' that way you can get an ISR to 'fly'. So, the correct statement (but this is marketing) would be "100 MIPS for critical code ~85 MIPS for the rest".

Other companies (e.g. Cypress) start off the chip by loading the code from flash to CODE RAM and then run from RAM to get access times that flash can not provide. Again "some like the mother, some like the daughter"

Erik

List of 33 messages in thread
TopicAuthorDate
Pipelines revisited            01/01/70 00:00      
   You cannot say without more information            01/01/70 00:00      
      You've got it! That's the problem, for sure.            01/01/70 00:00      
         Synchronization            01/01/70 00:00      
            True enough, but in this case            01/01/70 00:00      
   So you can be happily chugging away            01/01/70 00:00      
      That renders the SiLabs architecture unuseable            01/01/70 00:00      
         Can't You Trurn it off?            01/01/70 00:00      
         Advertising.            01/01/70 00:00      
            a better term would have been "unspecified"            01/01/70 00:00      
         if what you want is to bitch, the cache stinks, if            01/01/70 00:00      
            No ... it's not just a complaint ...            01/01/70 00:00      
               experience and the other is stated already            01/01/70 00:00      
                  it's not quite that simple ...            01/01/70 00:00      
                     does not matter, in this case an advantage            01/01/70 00:00      
                        Yes, same length, irrespective of path            01/01/70 00:00      
   can you explain more?            01/01/70 00:00      
      It uses a pipeline to achieve the high speed            01/01/70 00:00      
         why pipeline??            01/01/70 00:00      
   branch cache            01/01/70 00:00      
      i dont know about slightly unpredictable            01/01/70 00:00      
      I second this.            01/01/70 00:00      
      It's called "branche cache" rather than pipeline?            01/01/70 00:00      
         They're two different things.            01/01/70 00:00      
            This flush and refill process is what I feared            01/01/70 00:00      
         you might also try something completely different            01/01/70 00:00      
            well ... maybe ...            01/01/70 00:00      
   what is the problem?            01/01/70 00:00      
      The problem is blaming the pipeline ...            01/01/70 00:00      
         oh, I wish            01/01/70 00:00      
         Exactly ...            01/01/70 00:00      
      That reference is helpful            01/01/70 00:00      
         not a "litterary masterpiece" but after reading            01/01/70 00:00      

Back to Subject List