From 74691fe02646723b7235a31f2570036c9a05b940 Mon Sep 17 00:00:00 2001 From: lloyd Date: Mon, 29 Sep 2008 21:50:57 +0000 Subject: Use bswapl on 32-bit x86 as well --- src/utils/bswap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/utils/bswap.h b/src/utils/bswap.h index 8fb5ed12f..3a2b32f3c 100644 --- a/src/utils/bswap.h +++ b/src/utils/bswap.h @@ -21,7 +21,7 @@ inline u16bit reverse_bytes(u16bit input) inline u32bit reverse_bytes(u32bit input) { -#if defined(BOTAN_TARGET_ARCH_IS_AMD64) +#if defined(BOTAN_TARGET_ARCH_IS_IA32) || defined(BOTAN_TARGET_ARCH_IS_AMD64) asm("bswapl %0" : "=r" (input) : "0" (input)); return input; #else -- cgit v1.2.3