Fix Integer ARM64 compile with MSVC compiler (GH #776)

pull/778/head
Jeffrey Walton 2019-01-03 23:19:06 -05:00
parent 7ab07dde06
commit c085c7a75b
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ static word AtomicInverseModPower2(word A)
#define GetBorrow(u) u##1 #define GetBorrow(u) u##1
#else #else
#define Declare2Words(x) dword x; #define Declare2Words(x) dword x;
#if _MSC_VER >= 1400 && !defined(__INTEL_COMPILER) && !defined(_M_ARM) #if _MSC_VER >= 1400 && !defined(__INTEL_COMPILER) && !(defined(_M_ARM) || defined(_M_ARM64))
#define MultiplyWords(p, a, b) p = __emulu(a, b); #define MultiplyWords(p, a, b) p = __emulu(a, b);
#else #else
#define MultiplyWords(p, a, b) p = (dword)a*b; #define MultiplyWords(p, a, b) p = (dword)a*b;