SILC_GET64_MSB
NAME
#define SILC_GET64_MSB(dest, src)
DESCRIPTION
Return eight 8-bit bytes, most significant bytes first.
SOURCE
#if defined(SILC_X86_64) && defined(__GNUC__) #define SILC_GET64_MSB(l, cp) \ asm volatile ("movq (%1), %0; bswapq %0" \ : "=r" (l) : "r" (cp) : "memory", "cc"); #else #define SILC_GET64_MSB(l, cp) \ do { \ (l) = ((((SilcUInt64)SILC_GET_WORD((cp))) << 32) | \ ((SilcUInt64)SILC_GET_WORD((cp) + 4))); \ } while(0) #endif /* SILC_X86_64 && __GNUC__ */