Option for Enforcing Intrinsic Expansion
authordotnet-bot <dotnet-bot@microsoft.com>
Wed, 17 Feb 2016 19:03:58 +0000 (11:03 -0800)
committerdotnet-bot <dotnet-bot@microsoft.com>
Wed, 17 Feb 2016 19:03:58 +0000 (11:03 -0800)
commit6589e221cb6677f4cbf8e94eebddfd390d7f29c4
treef4982062b2a5a9a55bbce81fca9fc7d7c5c0265c
parent048ba1a793e96e0fe82597ddde6a792aff9ba58e
Option for Enforcing Intrinsic Expansion

Currently intrinsic is disabled under MIN_OPT while being enabled under OPT.
There is no way to enforce intrinsic expansion where non-intrinsic (call) path is not yet implemented.
This adds an optional output boolean argument to getIntrinsicID that tells JIT whether to enforce intrinsic expansion.
If JIT cannot expand intrinsic for such case, fatal error occurs.
There is no functional change the argument is default to false.

[tfs-changeset: 1575973]
src/inc/corinfo.h
src/jit/importer.cpp
src/vm/jitinterface.cpp
src/vm/jitinterface.h
src/zap/zapinfo.cpp
src/zap/zapinfo.h