Use faster byte swapping when compiling with MSVC
commit7e9e93bc6764d65e26a5cb4f3fc6462c52ab075d
authorSebastian Schuberth <sschuberth@gmail.com>
Mon, 19 Oct 2009 16:28:50 +0000 (19 18:28 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 27 Oct 2009 16:07:49 +0000 (27 17:07 +0100)
treebc30d3a53c0f3b50deaf15f06d3f8ffd908fccd7
parent9ba38c833b5bbe06f74f19bc6911036ef6a9fb09
Use faster byte swapping when compiling with MSVC

When compiling with MSVC on x86-compatible, use an intrinsic for byte
swapping.  In contrast to the GCC path, we do not prefer inline assembly
here as it is not supported for the x64 platform.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
compat/bswap.h