Commit a4af39ac authored by Ulf Möller's avatar Ulf Möller
Browse files

Don't use inline assembler on x86 Solaris (would need a different syntax).

parent 63daa2aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
+1 −1
Original line number Diff line number Diff line
@@ -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"		\