> > > > The assembly above comes from the __udivmodhi4 helper function (found > in libgcc.a), which is a helper function for performing a 32-bit > divide. >
Let me guess.. It was stuck on below the LCD routines in memory, and AVR Studio didn't know that somehow? Gak.. Ok. I'm still puzzled as to why the compiler didn't change: // This takes 53uS at 4 MHz Bin = ( A / Data_Divisor ) // Data_Divisor is a constant, 32. into // This takes 8.9uS at 4 MHz Bin = ( A >> 5) I have -Os specified.
_______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list