??? 08/06/09 07:47 Read: times |
#168203 - Isn't 4k plenty for a '51? Responding to: ???'s previous message |
Richard Erlacher said:
My app's don't have any time to waste either.
I've yet to see/evaluate a 'C' compiler that could keep up with ASM. I've yet to see/evaluate a 'C' compiler that I had time to fool with. They're either time-limited, or they're going to have too small a memory range to be "evaluatable." Now, that's a real waste of time! 4k should be plenty to evaluate the performance-critical parts of most applications for a '51 (usually, the CPU spends 90% of its time executing a handful of percent of the code). And as soon as you look at pipelined architectures (or, even worse, quirks like instructions with delayed execution), writing anything in assembly will become a royal pain in the neck. And after that, you're not faster than the compiler yet, you merely have code that doesn't mess up because of pipeline conflicts - beating the compiler will take another round of work. |