avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Re: Wierd Calls.


From: David VanHorn
Subject: Re: [avr-gcc-list] Re: Wierd Calls.
Date: Fri, 13 Mar 2009 09:57:56 -0400



 
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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]