Subject: Re: [PATCH] tg3 : avoid an expensive divide

From: "Michael Chan" <[email-masked]>
Date: Tue, 06 Feb 2007 14:09:16 -0800

On Tue, 2007-02-06 at 13:19 -0800, David Miller wrote:

> 
> Because I've seen gcc optimize this properly before (at least on
> sparc64), it means that either:
> 
> 1) There is a GCC bug where the properties of the constants
>    do not propagate.
> 
> 2) GCC really thinks the divide is cheaper (code density vs.
>    cycle count tradeoffs etc.)
> 
> Anyways, we should probably apply your patch in any event.
> 
> Michael, any objections?
> 
No objections.  I will create another patch to convert similar divisions
in other spots.