Elliott Hughes 3cf53d1a78 Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64.
1. Make the feature test work by excluding known-deficient processors, so
we don't have to maintain a complete list of all the processors that support
REV and REV16.

2. Don't abuse 'register' to get an effect similar to GCC's +l constraint,
but which was unnecessarily restrictive.

3. Fix __swap64md so _x isn't clobbered, breaking 64-bit swaps.

4. Make <byteswap.h> (which declars bswap_16 and friends) use <endian.h>
rather than <sys/endian.h>, so we get the machine-dependent implementations.

Change-Id: I6a38fad7a9fbe394aff141489617eb3883e1e944
2010-09-26 11:26:53 -07:00
..
2010-08-31 16:16:01 -05:00
2010-03-17 16:11:37 -05:00
2009-03-03 19:28:35 -08:00
2010-01-15 15:57:02 -08:00
2010-01-15 15:57:02 -08:00
2009-03-03 19:28:35 -08:00
2010-01-15 15:57:02 -08:00
2010-02-12 11:37:25 -08:00
2010-07-23 13:10:16 -07:00
2009-03-03 19:28:35 -08:00
2010-01-15 15:01:44 -08:00
2010-05-14 13:30:10 -07:00