[x86/Linux] Use Portable LMul JIT Helper (dotnet/coreclr#8449)
authorJonghyun Park <parjong@gmail.com>
Mon, 5 Dec 2016 08:02:25 +0000 (17:02 +0900)
committerJan Kotas <jkotas@microsoft.com>
Mon, 5 Dec 2016 08:02:25 +0000 (00:02 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/3891c5f681eccd262f1ccca4bfa34a582573ce1d

src/coreclr/src/vm/jithelpers.cpp

index be6ba8a..7b9389d 100644 (file)
@@ -130,7 +130,7 @@ inline UINT64 ShiftToHi32Bits(UINT32 x)
     return ret.QuadPart;
 }
 
-#if !defined(_TARGET_X86_)
+#if !defined(_TARGET_X86_) || defined(FEATURE_PAL)
 /*********************************************************************/
 HCIMPL2_VV(INT64, JIT_LMul, INT64 val1, INT64 val2)
 {
@@ -145,7 +145,7 @@ HCIMPL2_VV(INT64, JIT_LMul, INT64 val1, INT64 val2)
     return (val1 * val2);
 }
 HCIMPLEND
-#endif // !defined(_TARGET_X86_)
+#endif // !_TARGET_X86_ || FEATURE_PAL
 
 /*********************************************************************/
 HCIMPL2_VV(INT64, JIT_LMulOvf, INT64 val1, INT64 val2)