From 157da18f337f025e0466e90a2a05a4e1bd94211e 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223179 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Headers/Intrin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Headers/Intrin.h b/lib/Headers/Intrin.h index a13715dd7d..8cd4a0dbf0 100644 --- a/lib/Headers/Intrin.h +++ b/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.40.0