Hi, All !

 >Which optimization level did you use for mspgcc? -Os produces the
 >smallest code.

When I compile a big (25 KB of Flash) project that uses my SOS,
I got the best results with -O2 optimization for both size and speed.

So, -Os option does not make a good job always.

GCC is very flexible compiler, so you should be able to get the best code
(in all terms),
but some experimentation may be needed :).

To Dmitry: How is about graph coloring register allocator and SSA
optimizations ?

All the best,
Oleg.



Reply via email to