1 |
--- openssl/crypto/bn/bn_lcl.h 2002-12-17 16:04:42.000000000 -0500 |
2 |
+++ openssl/crypto/bn/bn_lcl.h 2002-12-17 16:12:59.000000000 -0500 |
3 |
@@ -245,6 +245,15 @@ |
4 |
: "a"(a),"g"(b) \ |
5 |
: "cc"); |
6 |
# endif |
7 |
+# elif defined(__ia64) && defined(SIXTY_FOUR_BIT_LONG) |
8 |
+# if defined(__GNUC__) |
9 |
+# define BN_UMULT_HIGH(a,b) ({ \ |
10 |
+ register BN_ULONG ret; \ |
11 |
+ asm ("xmpy.hu %0 = %1, %2" \ |
12 |
+ : "=f"(ret) \ |
13 |
+ : "f"(a), "f"(b)); \ |
14 |
+ ret; }) |
15 |
+# endif /* compiler */ |
16 |
# endif /* cpu */ |
17 |
#endif /* OPENSSL_NO_ASM */ |
18 |
|