From 00973ce6839fe6ca039bfd0ce5082921588a1bd1 Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Tue, 2 Dec 2014 23:44:40 +0000 Subject: [PATCH] FullProduct should be _FullProduct llvm-svn: 223179 --- clang/lib/Headers/Intrin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/lib/Headers/Intrin.h b/clang/lib/Headers/Intrin.h index a13715d..8cd4a0d 100644 --- a/clang/lib/Headers/Intrin.h +++ b/clang/lib/Headers/Intrin.h @@ -426,8 +426,8 @@ _umul128(unsigned __int64 _Multiplier, unsigned __int64 _Multiplicand, unsigned __int64 *_HighProduct) { unsigned __int128 _FullProduct = (unsigned __int128)_Multiplier * (unsigned __int128)_Multiplicand; - *_HighProduct = FullProduct >> 64; - return FullProduct; + *_HighProduct = _FullProduct >> 64; + return _FullProduct; } void __cdecl _xrstor64(void const *, unsigned __int64); void __cdecl _xsave64(void *, unsigned __int64); -- 2.7.4