mirror of
https://github.com/openssl/openssl.git
synced 2024-11-26 19:43:40 +08:00
Don't use inline assembler on x86 Solaris (would need a different syntax).
This commit is contained in:
parent
63daa2aaf4
commit
a4af39ac44
@ -207,7 +207,7 @@ int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
|
||||
|
||||
#if !defined(NO_ASM) && !defined(PEDANTIC)
|
||||
# if defined(__GNUC__) && __GNUC__>=2
|
||||
# if defined(__i386)
|
||||
# if defined(__i386) && !defined(__sun)
|
||||
/*
|
||||
* There were two reasons for implementing this template:
|
||||
* - GNU C generates a call to a function (__udivdi3 to be exact)
|
||||
|
@ -191,7 +191,7 @@
|
||||
*
|
||||
* <appro@fy.chalmers.se>
|
||||
*/
|
||||
# if defined(__i386)
|
||||
# if defined(__i386) && !defined(__sun)
|
||||
# define ROTATE(a,n) ({ register unsigned int ret; \
|
||||
asm volatile ( \
|
||||
"roll %1,%0" \
|
||||
|
Loading…
Reference in New Issue
Block a user