| Index: openssl/crypto/bn/asm/x86_64-gcc.c
|
| ===================================================================
|
| --- openssl/crypto/bn/asm/x86_64-gcc.c (revision 105093)
|
| +++ openssl/crypto/bn/asm/x86_64-gcc.c (working copy)
|
| @@ -1,5 +1,5 @@
|
| #include "../bn_lcl.h"
|
| -#ifdef __SUNPRO_C
|
| +#if !(defined(__GNUC__) && __GNUC__>=2)
|
| # include "../bn_asm.c" /* kind of dirty hack for Sun Studio */
|
| #else
|
| /*
|
| @@ -55,7 +55,11 @@
|
| * machine.
|
| */
|
|
|
| +#ifdef _WIN64
|
| +#define BN_ULONG unsigned long long
|
| +#else
|
| #define BN_ULONG unsigned long
|
| +#endif
|
|
|
| #undef mul
|
| #undef mul_add
|
| @@ -187,7 +191,7 @@
|
|
|
| asm (
|
| " subq %2,%2 \n"
|
| - ".align 16 \n"
|
| + ".p2align 4 \n"
|
| "1: movq (%4,%2,8),%0 \n"
|
| " adcq (%5,%2,8),%0 \n"
|
| " movq %0,(%3,%2,8) \n"
|
| @@ -210,7 +214,7 @@
|
|
|
| asm (
|
| " subq %2,%2 \n"
|
| - ".align 16 \n"
|
| + ".p2align 4 \n"
|
| "1: movq (%4,%2,8),%0 \n"
|
| " sbbq (%5,%2,8),%0 \n"
|
| " movq %0,(%3,%2,8) \n"
|
|
|