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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/06/02 18:18
Read: times


 
#20506 - RE: What is cheap ?, Erik
"That said, I'm surprised they don't use jump tables for switch statements. That seems pretty straight-forward to me."

Keil certainly does use jump tables in some cases - it probably depends on how many cases there are, and how "sparse" they are?

From the v6.23 manual,

Optimisation Level 4 includes:
"Case/Switch Optimizing: Code involving switch and case statements is optimized as jump tables or jump strings."

Optimisation Level 5 includes:
"Simple Loop Optimizing: Program loops that fill a memory range with a constant are converted and optimized."

Optimisation Level 6:
"Loop Rotation: Program loops are rotated if the resulting program code is faster and more efficient."

I'm not exactly sure what these "Loop optimisations" are - whether they're the same as Erik mentioned?

List of 25 messages in thread
TopicAuthorDate
Which C tools is better?            01/01/70 00:00      
RE: Which C tools is better?            01/01/70 00:00      
RE: Which C tools is better?            01/01/70 00:00      
RE: Which C tools is better?            01/01/70 00:00      
RE: Which C tools is better?            01/01/70 00:00      
RE: Which C tools is better?            01/01/70 00:00      
RE: Which C tools is better?            01/01/70 00:00      
RE: Which C tools is better Werner            01/01/70 00:00      
RE: Which C tools is better?            01/01/70 00:00      
RE: Which C tools is better?            01/01/70 00:00      
RE: Which C tools is better?            01/01/70 00:00      
RE: What is cheap ?            01/01/70 00:00      
RE: Which C tools is better?            01/01/70 00:00      
RE: What is cheap ?, Erik            01/01/70 00:00      
RE: What is cheap ?, Erik            01/01/70 00:00      
RE: What is cheap ?, Erik            01/01/70 00:00      
who would have thought so            01/01/70 00:00      
RE: who would have thought so            01/01/70 00:00      
about Tasking            01/01/70 00:00      
RE: Which C tools is better?            01/01/70 00:00      
RE: Which C tools is better?            01/01/70 00:00      
RE: Which C tools is better? J.Ward            01/01/70 00:00      
RE: Which C tools is better? J.Ward            01/01/70 00:00      
RE: Which C tools is better? J.Ward            01/01/70 00:00      
RE: What is cheap ?, Erik -> CASE jumps            01/01/70 00:00      

Back to Subject List