/[packages]/cauldron/openssl/current/SOURCES/openssl-0.9.7-beta6-ia64.patch
ViewVC logotype

Contents of /cauldron/openssl/current/SOURCES/openssl-0.9.7-beta6-ia64.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 733 - (show annotations) (download)
Sat Jan 8 15:43:48 2011 UTC (13 years, 3 months ago) by blino
File size: 692 byte(s)
imported package openssl
1 --- crypto/bn/bn_lcl.h 2008-12-16 19:02:02.000000000 +0100
2 +++ crypto/bn/bn_lcl.h.oden 2008-12-16 19:02:17.000000000 +0100
3 @@ -288,6 +288,15 @@ extern "C" {
4 # define BN_UMULT_HIGH(a,b) __umulh((a),(b))
5 # define BN_UMULT_LOHI(low,high,a,b) ((low)=_umul128((a),(b),&(high)))
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

  ViewVC Help
Powered by ViewVC 1.1.30