[Top][All Lists]

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

Re: [avr-gcc-list] dev and mod may not be optimized

From: Gre7g Luterman
Subject: Re: [avr-gcc-list] dev and mod may not be optimized
Date: Wed, 12 Dec 2007 07:52:04 -0800 (PST)

--- Paulo Marques <address@hidden> wrote:
> Actually after a few more digging, we can do this
> all in plain C, by 
> using a smaller reciprocal multiplier:


Wow, that's freakin' inspired!  And you're right it
does optimize nicely.  Here's a 20 byte version that
executes in 12 cycles:


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

reply via email to

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