summaryrefslogtreecommitdiff
path: root/src/vm/jithelpers.cpp
diff options
context:
space:
mode:
authorJonghyun Park <parjong@gmail.com>2016-12-05 16:37:17 +0900
committerJan Kotas <jkotas@microsoft.com>2016-12-04 23:37:17 -0800
commitfdc9e6c0397a28cdbbd28f10ee55494387498fbc (patch)
tree9fb35c6a09f79b2b8156edac8b7bab8068bee7c6 /src/vm/jithelpers.cpp
parent933073140a0a7ca1f83084943e7516015f7e2ae8 (diff)
downloadcoreclr-fdc9e6c0397a28cdbbd28f10ee55494387498fbc.tar.gz
coreclr-fdc9e6c0397a28cdbbd28f10ee55494387498fbc.tar.bz2
coreclr-fdc9e6c0397a28cdbbd28f10ee55494387498fbc.zip
Use Portable Floating-point Arithmetic Helpers (#8447)
This commit enables portable floating-point arithmetic helpers for x86/Linux build.
Diffstat (limited to 'src/vm/jithelpers.cpp')
-rw-r--r--src/vm/jithelpers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/jithelpers.cpp b/src/vm/jithelpers.cpp
index 641575d584..be6ba8aa43 100644
--- a/src/vm/jithelpers.cpp
+++ b/src/vm/jithelpers.cpp
@@ -654,7 +654,7 @@ HCIMPL1_V(UINT64, JIT_Dbl2ULngOvf, double val)
HCIMPLEND
-#if !defined(_TARGET_X86_)
+#if !defined(_TARGET_X86_) || defined(FEATURE_PAL)
HCIMPL1_V(INT64, JIT_Dbl2Lng, double val)
{
@@ -755,7 +755,7 @@ HCIMPL2_VV(double, JIT_DblRem, double dividend, double divisor)
}
HCIMPLEND
-#endif // !defined(_TARGET_X86_)
+#endif // !_TARGET_X86_ || FEATURE_PAL
#include <optdefault.h>