Warner Losh
|
5f00fec406
|
Whitespace nit.
|
2008-08-23 23:35:08 +00:00 |
|
Olivier Houchard
|
4168e66b1f
|
In __bswap16_var(), make sure the 16 upper bits are cleared; while
optimizing, gcc4 doesn't always do so.
Reported by: Nathan Whitehorn
Approved by: re (blanket)
|
2007-09-09 11:58:38 +00:00 |
|
John Baldwin
|
e11fe02dfb
|
Use a + constraint modifier for a register arg in __bswap16_var().
Reviewed by: cognet
|
2005-07-27 19:59:21 +00:00 |
|
Olivier Houchard
|
fdc05f7913
|
Asm version of bswap16().
Obtained from: NetBSD
|
2005-05-24 21:43:16 +00:00 |
|
Olivier Houchard
|
12a58da422
|
Start to support the big endian case as well.
|
2005-01-18 15:51:50 +00:00 |
|
Warner Losh
|
d8315c79d9
|
Start all license statements with /*-
|
2005-01-05 21:58:49 +00:00 |
|
Olivier Houchard
|
eeaa69102a
|
Use casts to enforce the return type of bswap16() and bswap32().
|
2004-11-04 19:07:28 +00:00 |
|
Olivier Houchard
|
74e9b5ed3b
|
Add optimized version of the bswap macroes for constants if __OPTIMIZED__ is
defined.
|
2004-10-01 16:55:59 +00:00 |
|
Olivier Houchard
|
9b60f79d2a
|
*blush*
Fix htonl and htons.
|
2004-08-02 12:24:18 +00:00 |
|
Olivier Houchard
|
2cbc052a4c
|
Add some endianess-related functions and macros.
|
2004-05-04 22:24:56 +00:00 |
|
David E. O'Brien
|
a98a5f06d3
|
Style sync.
|
2003-08-03 07:50:19 +00:00 |
|
David E. O'Brien
|
d4cfb42174
|
StrongARM platform-specific definitions.
|
2001-01-04 05:23:06 +00:00 |
|