Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 7ac4fa1ea5226ba0c0c9a527c7b4a484 > files > 5

uClibc-openssl-0.9.7g-4mdv2007.1.src.rpm

--- openssl-0.9.7.orig/crypto/bn/bn_lcl.h	2002-12-20 19:10:39.000000000 +0100
+++ openssl-0.9.7/crypto/bn/bn_lcl.h	2003-01-14 08:56:39.000000000 +0100
@@ -230,6 +230,15 @@
 	     : "r"(a), "r"(b));		\
 	ret;			})
 #  endif	/* compiler */
+# elif defined(__ia64) && defined(SIXTY_FOUR_BIT_LONG)
+#  if defined(__GNUC__)
+#   define BN_UMULT_HIGH(a,b)  ({      \
+	register BN_ULONG ret;          \
+	asm ("xmpy.hu %0 = %1, %2"      \
+	    : "=f"(ret)                \
+	    : "f"(a), "f"(b));         \
+	ret;                                      
+#  endif       /* compiler */
 # elif defined(__x86_64) && defined(SIXTY_FOUR_BIT_LONG)
 #  if defined(__GNUC__)
 #   define BN_UMULT_HIGH(a,b)	({	\