Cc: David Brownell <david-b@...>, Linux Kernel list <linux-kernel@...>, Felipe Balbi <felipebalbi@...>, Haavard Skinnemoen <hskinnemoen@...>, Andrew Victor <andrew@...>, Tony Lindgren <tony@...>, eric miao <eric.y.miao@...>, Kevin Hilman <khilman@...>, Paul Mundt <lethal@...>, Ben Dooks <ben@...>
Hi Bill,
On Fri, 30 Nov 2007 07:04:10 -0600, Bill Gatliff wrote:
I don't understand. How could the compiler create the mask at
compile-time when "offset" is only known at runtime?
Anyway, I just checked and gcc (4.1.2 on x86_86) generates the same
code for both expressions, so there's not much to argue about. David,
feel free to ignore my comment if you prefer your implementation :)
--
Jean Delvare
-