Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: GCC on M32, WIERD happenings.

2009-03-19 by Dave VanHorn

Resolved.. It was a helper function that was being called to do a divide.  The math routines weren't compiled by me, and weren't compiled with debugging information, so Studio didn't know what was going on apparently.. 

Also, it was a missed optimization bug.
I'd set up to divide by a binary multiple, (32 in this case) so that the compiler using -Os would optimize that into a bit shift.  
Unfortunately it didn't.  I ended up with an explicit shift.

That was a fun exercise.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.