diff options
author | Miguel de Icaza <miguel@gnome.org> | 2018-04-05 15:37:46 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2018-04-05 15:37:46 +0300 |
commit | 52df0f2b00b89e28f313b1d803e87f5868e8da95 (patch) | |
tree | 8b9569d3c14704a471b05bf264aac484a382e7e7 /mcs/class/System.Numerics | |
parent | 0b0d5de9e174a79b8f805e15ac89d2eed5bbfcc5 (diff) |
[System.MathF] Bring support for the single-precission Math operations to Mono (#7941)
This pull request brings support to Mono's class libraries for the new `System.MathF` type which includes operations for single-floating point.
This is needed to run some new applications like:
https://github.com/aras-p/ToyPathTracer
With this change, it is possible to run this unmodified. With this support, and the `-O=float32` option, it is possible to improve the performance from 6.3Mrays/sec to 7.8Mrays/sec on a Mac.
Oddly, this seems to be faster than .NET Core 2.1.4, which is at 4.2Mrays/sec.
* Bump API snapshot submodule
Diffstat (limited to 'mcs/class/System.Numerics')
-rw-r--r-- | mcs/class/System.Numerics/System.Numerics.dll.sources | 2 | ||||
-rw-r--r-- | mcs/class/System.Numerics/System.Numerics_xtest.dll.sources | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/mcs/class/System.Numerics/System.Numerics.dll.sources b/mcs/class/System.Numerics/System.Numerics.dll.sources index 298e720a2fe..d7a619ac4ef 100644 --- a/mcs/class/System.Numerics/System.Numerics.dll.sources +++ b/mcs/class/System.Numerics/System.Numerics.dll.sources @@ -29,8 +29,6 @@ corefx/Vector.cs ../../../external/corefx/src/System.Runtime.Numerics/src/System/Numerics/Complex.cs ../../../external/corefx/src/System.Runtime.Numerics/src/System/Numerics/NumericsHelpers.cs -../../../external/corefx/src/Common/src/System/MathF.netstandard.cs - ../../../external/corefx/src/System.Numerics.Vectors/src/System/Numerics/JitIntrinsicAttribute.cs ../../../external/corefx/src/System.Numerics.Vectors/src/System/Numerics/Matrix3x2.cs ../../../external/corefx/src/System.Numerics.Vectors/src/System/Numerics/Matrix4x4.cs diff --git a/mcs/class/System.Numerics/System.Numerics_xtest.dll.sources b/mcs/class/System.Numerics/System.Numerics_xtest.dll.sources index 2a151713178..32ec7213b45 100644 --- a/mcs/class/System.Numerics/System.Numerics_xtest.dll.sources +++ b/mcs/class/System.Numerics/System.Numerics_xtest.dll.sources @@ -1,6 +1,5 @@ ../../../external/corefx/src/CoreFx.Private.TestUtilities/src/System/AssertExtensions.cs -../../../external/corefx/src/Common/src/System/MathF.netstandard.cs # ../../../external/corefx/src/System.Runtime.Numerics/tests/*.cs #../../../external/corefx/src/System.Runtime.Numerics/tests/BigInteger/*.cs |