mturk / rpms / openssl

Forked from rpms/openssl 3 years ago
Clone
cvsdist e32c112
--- openssl/crypto/bn/bn_lcl.h	2002-12-17 16:04:42.000000000 -0500
cvsdist e32c112
+++ openssl/crypto/bn/bn_lcl.h	2002-12-17 16:12:59.000000000 -0500
cvsdist e32c112
@@ -245,6 +245,15 @@
cvsdist e32c112
 		: "a"(a),"g"(b)		\
cvsdist e32c112
 		: "cc");
cvsdist e32c112
 #  endif
cvsdist e32c112
+# elif defined(__ia64) && defined(SIXTY_FOUR_BIT_LONG)
cvsdist e32c112
+#  if defined(__GNUC__)
cvsdist e32c112
+#   define BN_UMULT_HIGH(a,b) ({      \
cvsdist e32c112
+      register BN_ULONG ret;          \
cvsdist e32c112
+      asm ("xmpy.hu %0 = %1, %2"      \
cvsdist e32c112
+           : "=f"(ret)                \
cvsdist e32c112
+           : "f"(a), "f"(b));         \
cvsdist e32c112
+      ret;                    })
cvsdist e32c112
+#  endif      /* compiler */
cvsdist e32c112
 # endif		/* cpu */
cvsdist e32c112
 #endif		/* OPENSSL_NO_ASM */
cvsdist e32c112