mike b8cc0d1207 o Don't require long long support in bswap64() functions.
o In i386's <machine/endian.h>, macros have some advantages over
  inlines, so change some inlines to macros.
o In i386's <machine/endian.h>, ungarbage collect word_swap_int()
  (previously __uint16_swap_uint32), it has some uses on i386's with
  PDP endianness.

Submitted by:	bde

o Move a comment up in <machine/endian.h> that was accidentially moved
  down a few revisions ago.
o Reenable userland's use of optimized inline-asm versions of
  byteorder(3) functions.
o Fix ordering of prototypes vs. redefinition of byteorder(3)
  functions, so that the non-GCC (libc asm) case has proper
  prototypes.
o Add proper prototypes for byteorder(3) functions in <sys/param.h>.
o Prevent redundant duplicate prototypes by making use of the
  _BYTEORDER_PROTOTYPED define.
o Move the bswap16(), bswap32(), bswap64() C functions into MD space
  for platforms in which asm versions don't exist.  This significantly
  reduces the complexity of some things at the cost of duplicate code.

Reviewed by:	bde
2002-03-09 21:02:16 +00:00
..
2001-11-02 18:05:43 +00:00
2001-11-02 18:05:43 +00:00
2001-11-03 15:51:14 +00:00
2001-11-02 18:05:43 +00:00
2001-09-29 11:11:18 +00:00
2001-09-12 08:38:13 +00:00
2001-09-29 11:11:18 +00:00
2001-12-11 23:33:44 +00:00
2001-10-20 15:19:43 +00:00
2001-09-05 01:36:46 +00:00
2001-09-05 01:36:46 +00:00
2001-12-30 09:41:29 +00:00
2001-12-09 19:12:07 +00:00