summaryrefslogtreecommitdiff
path: root/src/vm/jithelpers.cpp
diff options
context:
space:
mode:
authorFei Peng <fei.peng@intel.com>2017-10-10 10:19:17 -0700
committerFei Peng <fei.peng@intel.com>2017-10-25 17:46:18 -0700
commit8a7e5c21540fef4e6cafec279711a1b9b94961b3 (patch)
tree6aacf52b996b992db821c1ce21655dfaee26400a /src/vm/jithelpers.cpp
parent5b99e1ac5765eb676f789514686059b1a66b233d (diff)
downloadcoreclr-8a7e5c21540fef4e6cafec279711a1b9b94961b3.tar.gz
coreclr-8a7e5c21540fef4e6cafec279711a1b9b94961b3.tar.bz2
coreclr-8a7e5c21540fef4e6cafec279711a1b9b94961b3.zip
Enable Crc32 , Popcnt, Lzcnt intrinsics
Diffstat (limited to 'src/vm/jithelpers.cpp')
-rw-r--r--src/vm/jithelpers.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/vm/jithelpers.cpp b/src/vm/jithelpers.cpp
index 8cff03ae60..1611d585a5 100644
--- a/src/vm/jithelpers.cpp
+++ b/src/vm/jithelpers.cpp
@@ -5110,6 +5110,24 @@ HCIMPL0(void, JIT_ThrowArgumentOutOfRangeException)
HCIMPLEND
/*********************************************************************/
+HCIMPL0(void, JIT_ThrowPlatformNotSupportedException)
+{
+ FCALL_CONTRACT;
+
+ /* Make no assumptions about the current machine state */
+ ResetCurrentContext();
+
+ FC_GC_POLL_NOT_NEEDED(); // throws always open up for GC
+
+ HELPER_METHOD_FRAME_BEGIN_ATTRIB_NOPOLL(Frame::FRAME_ATTR_EXCEPTION); // Set up a frame
+
+ COMPlusThrow(kPlatformNotSupportedException);
+
+ HELPER_METHOD_FRAME_END();
+}
+HCIMPLEND
+
+/*********************************************************************/
HCIMPL0(void, JIT_Overflow)
{
FCALL_CONTRACT;