author | Linus Torvalds <torvalds@linux-foundation.org> | |
Wed, 19 Dec 2012 15:52:48 +0000 (07:52 -0800) | ||
committer | Linus Torvalds <torvalds@linux-foundation.org> | |
Wed, 19 Dec 2012 15:52:48 +0000 (07:52 -0800) | ||
commit | 7f2de8171ddf28fdb2ca7f9a683ee1207849f718 | |
tree | d89da981ac762de3fd32e1c08ddc8041f3c37519 | tree | snapshot (tar.xz tar.gz zip) |
parent | 59771079c18c44e39106f0f30054025acafadb41 | commit | diff |
parent | cf66bb93e0f75e0a4ba1ec070692618fa028e994 | commit | diff |
Merge tag 'byteswap-for-linus-20121219' of git://git.infradead.org/users/dwmw2/byteswap
Pull preparatory gcc intrisics bswap patch from David Woodhouse:
"This single patch is effectively a no-op for now. It enables
architectures to opt in to using GCC's __builtin_bswapXX() intrinsics
for byteswapping, and if we merge this now then the architecture
maintainers can enable it for their arch during the next cycle without
dependency issues.
It's worth making it a par-arch opt-in, because although in *theory*
the compiler should never do worse than hand-coded assembler (and of
course it also ought to do a lot better on platforms like Atom and
PowerPC which have load-and-swap or store-and-swap instructions), that
isn't always the case. See
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46453
for example."
* tag 'byteswap-for-linus-20121219' of git://git.infradead.org/users/dwmw2/byteswap:
byteorder: allow arch to opt to use GCC intrinsics for byteswapping
Pull preparatory gcc intrisics bswap patch from David Woodhouse:
"This single patch is effectively a no-op for now. It enables
architectures to opt in to using GCC's __builtin_bswapXX() intrinsics
for byteswapping, and if we merge this now then the architecture
maintainers can enable it for their arch during the next cycle without
dependency issues.
It's worth making it a par-arch opt-in, because although in *theory*
the compiler should never do worse than hand-coded assembler (and of
course it also ought to do a lot better on platforms like Atom and
PowerPC which have load-and-swap or store-and-swap instructions), that
isn't always the case. See
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46453
for example."
* tag 'byteswap-for-linus-20121219' of git://git.infradead.org/users/dwmw2/byteswap:
byteorder: allow arch to opt to use GCC intrinsics for byteswapping
arch/Kconfig | diff1 | | diff2 | | blob | history |