summaryrefslogtreecommitdiff
path: root/src/vm/ecalllist.h
diff options
context:
space:
mode:
authorTanner Gooding <tagoo@outlook.com>2018-11-05 15:37:36 -0800
committerGitHub <noreply@github.com>2018-11-05 15:37:36 -0800
commit28417584d8e98ae7eac22e92b952778f8ea94047 (patch)
treea6010a24228ca769fc7a6381cbd04b3a762e9219 /src/vm/ecalllist.h
parentd3a7c973723bf2610c7dcdcd00318c06a72a36f8 (diff)
downloadcoreclr-28417584d8e98ae7eac22e92b952778f8ea94047.tar.gz
coreclr-28417584d8e98ae7eac22e92b952778f8ea94047.tar.bz2
coreclr-28417584d8e98ae7eac22e92b952778f8ea94047.zip
Adding some new functions to System.Math and System.MathF (#20788)
* Adding BitIncrement, BitDecrement, CopySign, MaxMagnitude, and MinMagnitude to Math and MathF * Adding FusedMultiplyAdd, IlogB, Log2, and ScaleB to Math and MathF * Adding some basic PAL tests for fma, ilogb, log2, and scalbn * Fixing a couple typos and adding clarifying comments * Fixing the MSVC _VVV FCALL declarations
Diffstat (limited to 'src/vm/ecalllist.h')
-rw-r--r--src/vm/ecalllist.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vm/ecalllist.h b/src/vm/ecalllist.h
index e168886aca..31d3661d6f 100644
--- a/src/vm/ecalllist.h
+++ b/src/vm/ecalllist.h
@@ -624,10 +624,14 @@ FCFuncStart(gMathFuncs)
FCIntrinsic("Exp", COMDouble::Exp, CORINFO_INTRINSIC_Exp)
FCIntrinsic("Floor", COMDouble::Floor, CORINFO_INTRINSIC_Floor)
FCFuncElement("FMod", COMDouble::FMod)
+ FCFuncElement("FusedMultiplyAdd", COMDouble::FusedMultiplyAdd)
+ FCFuncElement("IlogB", COMDouble::IlogB)
FCFuncElement("Log", COMDouble::Log)
+ FCFuncElement("Log2", COMDouble::Log2)
FCIntrinsic("Log10", COMDouble::Log10, CORINFO_INTRINSIC_Log10)
FCFuncElement("ModF", COMDouble::ModF)
FCIntrinsic("Pow", COMDouble::Pow, CORINFO_INTRINSIC_Pow)
+ FCFuncElement("ScaleB", COMDouble::ScaleB)
FCIntrinsic("Sin", COMDouble::Sin, CORINFO_INTRINSIC_Sin)
FCIntrinsic("Sinh", COMDouble::Sinh, CORINFO_INTRINSIC_Sinh)
FCIntrinsic("Sqrt", COMDouble::Sqrt, CORINFO_INTRINSIC_Sqrt)
@@ -650,10 +654,14 @@ FCFuncStart(gMathFFuncs)
FCIntrinsic("Exp", COMSingle::Exp, CORINFO_INTRINSIC_Exp)
FCIntrinsic("Floor", COMSingle::Floor, CORINFO_INTRINSIC_Floor)
FCFuncElement("FMod", COMSingle::FMod)
+ FCFuncElement("FusedMultiplyAdd", COMSingle::FusedMultiplyAdd)
+ FCFuncElement("IlogB", COMSingle::IlogB)
FCFuncElement("Log", COMSingle::Log)
+ FCFuncElement("Log2", COMSingle::Log2)
FCIntrinsic("Log10", COMSingle::Log10, CORINFO_INTRINSIC_Log10)
FCFuncElement("ModF", COMSingle::ModF)
FCIntrinsic("Pow", COMSingle::Pow, CORINFO_INTRINSIC_Pow)
+ FCFuncElement("ScaleB", COMSingle::ScaleB)
FCIntrinsic("Sin", COMSingle::Sin, CORINFO_INTRINSIC_Sin)
FCIntrinsic("Sinh", COMSingle::Sinh, CORINFO_INTRINSIC_Sinh)
FCIntrinsic("Sqrt", COMSingle::Sqrt, CORINFO_INTRINSIC_Sqrt)