Re: [PATCH] block-sha1: Windows declares ntohl() in winsock2.h
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Aug 18, 2009, 20:25 UTC
- Message-ID
- <alpine.LFD.2.01.0908181316330.3158@localhost.localdomain>
- In-Reply-To
- <alpine.LFD.2.00.0908181607240.6044@xanadu.home>
On Tue, 18 Aug 2009, Nicolas Pitre wrote:
> > Does it really implement the gcc inline assembly syntax?
A fair number of compilers do. The Intel compiler does too.
The reason? The gcc inline asm is as close to a standard there is, and is fairly expressive without being the mess that is MSC. So if you do inline asm at all (and considering the target market for a C compiler, most do), gcc asm is a good thing to aim for.
Linus