Loading [MathJax]/extensions/tex2jax.js
|
ROOT
Reference Guide |
|
Go to the documentation of this file.
40#if (defined(__linux) || defined(__APPLE__)) && \
41 (defined(__i386__) || defined(__x86_64__)) && \
49#define R__bswap_constant_16(x) \
50 ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8))
52#if defined R__USEASMSWAP
53# define R__bswap_16(x) __builtin_bswap16(x)
55# define R__bswap_16(x) R__bswap_constant_16 (x)
60#define R__bswap_constant_32(x) \
61 ((((x) & 0xff000000) >> 24) | (((x) & 0x00ff0000) >> 8) | \
62 (((x) & 0x0000ff00) << 8) | (((x) & 0x000000ff) << 24))
64#if defined R__USEASMSWAP
65# define R__bswap_32(x) __builtin_bswap32(x)
67# define R__bswap_32(x) R__bswap_constant_32 (x)
72#define Rbswap_16(x) R__bswap_16 (x)
75#define Rbswap_32(x) R__bswap_32 (x)
86# define Rbswap_64(x) __builtin_bswap64(x)