#
628264b8 |
| 29-Jan-2014 |
matt <matt@NetBSD.org> |
Also test for __AARCH64EB__ as well as __ARMEB__ for big-endian.
|
#
2723c11b |
| 30-Jan-2006 |
dsl <dsl@NetBSD.org> |
Move the definitions of ntohl() and friends into sys/endian.h where they are defined in terms of bswap32() and bswap16(). This makes the definition be in the same place for all systems regardless of
Move the definitions of ntohl() and friends into sys/endian.h where they are defined in terms of bswap32() and bswap16(). This makes the definition be in the same place for all systems regardless of creed^Wendianness.
show more ...
|
#
95e1ffb1 |
| 11-Dec-2005 |
christos <christos@NetBSD.org> |
merge ktrace-lwp.
|
#
c004d32e |
| 10-Jun-2004 |
kleink <kleink@NetBSD.org> |
Reflect <sys/endian.h> rev. 1.4: make htonl() et al. arguments and results uint{16,32}_t. Noted by Ian Zagorskih.
|
#
201e41fc |
| 14-Aug-2002 |
thorpej <thorpej@NetBSD.org> |
* Rename "word" -> 16, and "long" -> 32, as suggested by Ben Harris. * Replace __byte_swap_32_variable() with a C version from Richard Earnshaw that generates nearly identical assembly (and it woul
* Rename "word" -> 16, and "long" -> 32, as suggested by Ben Harris. * Replace __byte_swap_32_variable() with a C version from Richard Earnshaw that generates nearly identical assembly (and it would be exactly identical with the addition of another peephole to GCC ARM back-end).
show more ...
|
#
da5ef20b |
| 13-Aug-2002 |
thorpej <thorpej@NetBSD.org> |
Byte-swapping optimizations, enabled if compiling with GCC: * Byte-swap 16-bit and 32-bit constants at compile-time. * Inline 16-bit and 32-bit variable byte-swaps. These take 3 and 4 insns, respe
Byte-swapping optimizations, enabled if compiling with GCC: * Byte-swap 16-bit and 32-bit constants at compile-time. * Inline 16-bit and 32-bit variable byte-swaps. These take 3 and 4 insns, respectively, and inlining saves the minimum 6 cycle penalty to call/return from the byte swap function.
show more ...
|
#
8b601afa |
| 17-Feb-2001 |
bjh21 <bjh21@NetBSD.org> |
Re-introduce <arm/endian_machdep.h>, this time using GCC's idea of the target endianness.
|
#
29de7da7 |
| 10-Jan-2001 |
bjh21 <bjh21@NetBSD.org> |
Header files which don't differ between arm32 and arm26 and can thus be shared.
|