From 5011c185406977b5c5f0549edac0d3f85d2e8db9 Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 24 Sep 2007 07:05:29 +0000 Subject: fix compile with ICC 9.1 on x64 git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@406 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- integer.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'integer.cpp') diff --git a/integer.cpp b/integer.cpp index e8c2249..be5f416 100644 --- a/integer.cpp +++ b/integer.cpp @@ -187,6 +187,8 @@ public: DWord r; #ifdef CRYPTOPP_NATIVE_DWORD_AVAILABLE r.m_whole = (dword)a * b; + #elif defined(__x86_64__) + asm ("mulq %3" : "=a"(r.m_halfs.low), "=d"(r.m_halfs.high) : "a"(a), "g"(b) : "cc"); #else r.m_halfs.low = _umul128(a, b, &r.m_halfs.high); #endif -- cgit v1.2.1