mirror of
https://github.com/openssl/openssl.git
synced 2024-12-19 23:13:49 +08:00
modes_lcl.h: make it work on i386.
PR: 2780
This commit is contained in:
parent
5db9645f1b
commit
f62f792057
@ -45,7 +45,7 @@ typedef unsigned char u8;
|
|||||||
# define BSWAP4(x) ({ u32 ret=(x); \
|
# define BSWAP4(x) ({ u32 ret=(x); \
|
||||||
asm ("bswapl %0" \
|
asm ("bswapl %0" \
|
||||||
: "+r"(ret)); ret; })
|
: "+r"(ret)); ret; })
|
||||||
# elif (defined(__i386) || defined(__i386__))
|
# elif (defined(__i386) || defined(__i386__)) && !defined(I386_ONLY)
|
||||||
# define BSWAP8(x) ({ u32 lo=(u64)(x)>>32,hi=(x); \
|
# define BSWAP8(x) ({ u32 lo=(u64)(x)>>32,hi=(x); \
|
||||||
asm ("bswapl %0; bswapl %1" \
|
asm ("bswapl %0; bswapl %1" \
|
||||||
: "+r"(hi),"+r"(lo)); \
|
: "+r"(hi),"+r"(lo)); \
|
||||||
|
Loading…
Reference in New Issue
Block a user