[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1170799756.3535.27.camel@rh4>
Date: Tue, 06 Feb 2007 14:09:16 -0800
From: "Michael Chan" <mchan@...adcom.com>
To: "David Miller" <davem@...emloft.net>
cc: dada1@...mosbay.com, netdev@...r.kernel.org
Subject: Re: [PATCH] tg3 : avoid an expensive divide
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.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists