??? 11/02/09 16:09 Read: times |
#170354 - C51 has smart linker Responding to: ???'s previous message |
I haven't fully investigated the C51 behaviour in relation to multiple builds. But is it changing the code generation based on how well it did for previous builds? The C51 is a bit special in that some of the optimization is performed by the linker, something compilers for bigger processors normally don't have to do. The memory regions in the 8051 are so small, and the impact of using a non-optimal addressing mode so large, that the gain from having seen all source code before allocating the variables into shared memory cells can be extremely high. |
Topic | Author | Date |
Odd calculation result... | 01/01/70 00:00 | |
Hmm. Even odder. | 01/01/70 00:00 | |
what is the definition... | 01/01/70 00:00 | |
Compiler reuses registers and memory cells | 01/01/70 00:00 | |
Ah. | 01/01/70 00:00 | |
Disable compiler optimizations. | 01/01/70 00:00 | |
Compiler bug? | 01/01/70 00:00 | |
Maturity of compilers | 01/01/70 00:00 | |
the primary suspect should always be the end user. | 01/01/70 00:00 | |
"innovation" as alternative name for bug | 01/01/70 00:00 | |
C51 also does that! | 01/01/70 00:00 | |
C51 has smart linker | 01/01/70 00:00 | |
I found a some genuine compiler bugs. | 01/01/70 00:00 | |
Broken code in RTL is the worst | 01/01/70 00:00 | |
Thanks! | 01/01/70 00:00 | |
Defs | 01/01/70 00:00 | |
poor choice of names | 01/01/70 00:00 | |
Good data types are really critical | 01/01/70 00:00 | |
I'm an idiot. | 01/01/70 00:00 | |
informative! | 01/01/70 00:00 | |
"Answer is wrong" | 01/01/70 00:00 | |
Which one would you prefer??![]() | 01/01/70 00:00 |