On Wed, Mar 07, 2007 at 08:38:27AM -0800, Linus Torvalds wrote:
GCC's assembler version of this macro is optimized as needed.
But i wanted to address Al's statement about using typeof():
,-*- [ Message-ID: <20061127044138.GA3078@ftp.linux.org.uk> ]
|IOW, gcc allows type to leak out of scope it's been defined in (and
|typeof adds even more fun to the picture). It not only goes against
|a _lot_ in C, it's actually not thought through by gcc folks. Just
|try to mix that with variable-length arrays and watch it blow up
|in interesting ways...
`-*-
As for me, this is example of assembler's need, that very hard to
implement in C. Also, i doubt, C's shift doing any "type fluff" on its
only argument.
Yes, maybe so.
____
-