> > > Actually, that may have been a fault in my test. When I started, I > didn't have 32 in the constant, but something else. When I tried to > reproduce the problem with 32 it always seems to generate the shift. > > Compiling with no -O option or with -O0 causes the helper function to > be called. Compiling with -O1, 2, 3 or s causes a divide by 32 to be > replaced with a shift. > I was using -Os when I hit it.
_______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list