[Icc-avr] Optimization of write and read to register STS, LDS
Bengt Ragnemalm
benra at imt.liu.se
Sun Sep 30 02:40:38 PDT 2007
I am testing a size optimized osccal routine (RetroDan, AVRfreaks). It is a
hint there about the possibility to optimize many STS and LDS instructions
with LDD and STD (load and store with displacement).
It occured to me that why could a C-compiler not catch that possibility? Or
maybe it would be possible to "fool" the compiler to use it anyway.
Regards,
Bengt
More information about the Icc-avr
mailing list