Skip to content

Changes to the math simd proposal #664

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 46 additions & 46 deletions documentation/proposals/Proposal - Vectorization - SIMD.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,24 +58,24 @@ static Silk.NET.Maths.Simd128.AllBitsSet(Vector128<T> vector) -> bool
static Silk.NET.Maths.Simd128.Abs<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Acos<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Acosh<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Add<T>(Vector128<T> left, T right) -> Vector128<T>
static Silk.NET.Maths.Simd128.Add<T>(Vector128<T> left, Vector128<T> right) -> Vector128<T>
static Silk.NET.Maths.Simd128.As<TFrom, Vector128<T>To>(TFrom val) -> Vector128<T>To
static Silk.NET.Maths.Simd128.Asin<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Asinh<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Atan2<T>(Vector128<T> y, T x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Atan2<T>(Vector128<T> y, Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Atan<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Atanh<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Cbrt<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Ceiling<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Cos<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Cosh<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Divide<T>(Vector128<T> left, T right) -> Vector128<T>
static Silk.NET.Maths.Simd128.Equal<T>(Vector128<T> left, T right) -> Vector128<T>
static Silk.NET.Maths.Simd128.Divide<T>(Vector128<T> left, Vector128<T> right) -> Vector128<T>
static Silk.NET.Maths.Simd128.Equal<T>(Vector128<T> left, Vector128<T> right) -> Vector128<T>
static Silk.NET.Maths.Simd128.Exp<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Floor<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.GreaterThan<T>(Vector128<T> left, T right) -> Vector128<T>
static Silk.NET.Maths.Simd128.GreaterThan<T>(Vector128<T> left, Vector128<T> right) -> Vector128<T>
static Silk.NET.Maths.Simd128.GreaterThanOrEqual<T>(Vector128<T> left, T right) -> Vector128<T>
static Silk.NET.Maths.Simd128.IEEERemainder<T>(Vector128<T> x, T y) -> Vector128<T>
static Silk.NET.Maths.Simd128.IEEERemainder<T>(Vector128<T> x, Vector128<T> y) -> Vector128<T>
static Silk.NET.Maths.Simd128.IsFinite<T>(Vector128<T> f) -> Vector128<T>
static Silk.NET.Maths.Simd128.IsHardwareAccelerated.get -> bool
static Silk.NET.Maths.Simd128.IsInfinity<T>(Vector128<T> f) -> Vector128<T>
Expand All @@ -85,25 +85,25 @@ static Silk.NET.Maths.Simd128.IsNegativeInfinity<T>(Vector128<T> f) -> Vector128
static Silk.NET.Maths.Simd128.IsNormal<T>(Vector128<T> f) -> Vector128<T>
static Silk.NET.Maths.Simd128.IsPositiveInfinity<T>(Vector128<T> f) -> Vector128<T>
static Silk.NET.Maths.Simd128.IsSubnormal<T>(Vector128<T> f) -> Vector128<T>
static Silk.NET.Maths.Simd128.LessThan<T>(Vector128<T> left, T right) -> Vector128<T>
static Silk.NET.Maths.Simd128.LessThanOrEqual<T>(Vector128<T> left, T right) -> Vector128<T>
static Silk.NET.Maths.Simd128.LessThan<T>(Vector128<T> left, Vector128<T> right) -> Vector128<T>
static Silk.NET.Maths.Simd128.LessThanOrEqual<T>(Vector128<T> left, Vector128<T> right) -> Vector128<T>
static Silk.NET.Maths.Simd128.Log10<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Log<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Log<T>(Vector128<T> x, T y) -> Vector128<T>
static Silk.NET.Maths.Simd128.Max<T>(Vector128<T> x, T y) -> Vector128<T>
static Silk.NET.Maths.Simd128.Min<T>(Vector128<T> x, T y) -> Vector128<T>
static Silk.NET.Maths.Simd128.Multiply<T>(Vector128<T> left, T right) -> Vector128<T>
static Silk.NET.Maths.Simd128.Log<T>(Vector128<T> x, Vector128<T> y) -> Vector128<T>
static Silk.NET.Maths.Simd128.Max<T>(Vector128<T> x, Vector128<T> y) -> Vector128<T>
static Silk.NET.Maths.Simd128.Min<T>(Vector128<T> x, Vector128<T> y) -> Vector128<T>
static Silk.NET.Maths.Simd128.Multiply<T>(Vector128<T> left, Vector128<T> right) -> Vector128<T>
static Silk.NET.Maths.Simd128.Negate<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.NotEqual<T>(Vector128<T> left, T right) -> Vector128<T>
static Silk.NET.Maths.Simd128.Pow<T>(Vector128<T> x, T y) -> Vector128<T>
static Silk.NET.Maths.Simd128.NotEqual<T>(Vector128<T> left, Vector128<T> right) -> Vector128<T>
static Silk.NET.Maths.Simd128.Pow<T>(Vector128<T> x, Vector128<T> y) -> Vector128<T>
static Silk.NET.Maths.Simd128.Reciprocal<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Round<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Round<T>(Vector128<T> x, System.MidpointRounding mode) -> Vector128<T>
static Silk.NET.Maths.Simd128.Sign<T>(Vector128<T> x) -> Vector128<int>
static Silk.NET.Maths.Simd128.Sin<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Sinh<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Sqrt<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Subtract<T>(Vector128<T> left, T right) -> Vector128<T>
static Silk.NET.Maths.Simd128.Subtract<T>(Vector128<T> left, Vector128<T> right) -> Vector128<T>
static Silk.NET.Maths.Simd128.Tan<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Tanh<T>(Vector128<T> x) -> Vector128<T>
static Silk.NET.Maths.Simd128.Truncate<T>(Vector128<T> x) -> Vector128<T>
Expand Down Expand Up @@ -135,24 +135,24 @@ static Silk.NET.Maths.Simd64.AllBitsSet(Vector64<T> vector) -> bool
static Silk.NET.Maths.Simd64.Abs<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Acos<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Acosh<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Add<T>(Vector64<T> left, T right) -> Vector64<T>
static Silk.NET.Maths.Simd64.Add<T>(Vector64<T> left, Vector64<T> right) -> Vector64<T>
static Silk.NET.Maths.Simd64.As<TFrom, Vector64<T>To>(TFrom val) -> Vector64<T>To
static Silk.NET.Maths.Simd64.Asin<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Asinh<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Atan2<T>(Vector64<T> y, T x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Atan2<T>(Vector64<T> y, Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Atan<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Atanh<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Cbrt<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Ceiling<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Cos<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Cosh<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Divide<T>(Vector64<T> left, T right) -> Vector64<T>
static Silk.NET.Maths.Simd64.Equal<T>(Vector64<T> left, T right) -> Vector64<T>
static Silk.NET.Maths.Simd64.Divide<T>(Vector64<T> left, Vector64<T> right) -> Vector64<T>
static Silk.NET.Maths.Simd64.Equal<T>(Vector64<T> left, Vector64<T> right) -> Vector64<T>
static Silk.NET.Maths.Simd64.Exp<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Floor<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.GreaterThan<T>(Vector64<T> left, T right) -> Vector64<T>
static Silk.NET.Maths.Simd64.GreaterThanOrEqual<T>(Vector64<T> left, T right) -> Vector64<T>
static Silk.NET.Maths.Simd64.IEEERemainder<T>(Vector64<T> x, T y) -> Vector64<T>
static Silk.NET.Maths.Simd64.GreaterThan<T>(Vector64<T> left, Vector64<T> right) -> Vector64<T>
static Silk.NET.Maths.Simd64.GreaterThanOrEqual<T>(Vector64<T> left, Vector64<T> right) -> Vector64<T>
static Silk.NET.Maths.Simd64.IEEERemainder<T>(Vector64<T> x, Vector64<T> y) -> Vector64<T>
static Silk.NET.Maths.Simd64.IsFinite<T>(Vector64<T> f) -> Vector64<T>
static Silk.NET.Maths.Simd64.IsHardwareAccelerated.get -> bool
static Silk.NET.Maths.Simd64.IsInfinity<T>(Vector64<T> f) -> Vector64<T>
Expand All @@ -162,25 +162,25 @@ static Silk.NET.Maths.Simd64.IsNegativeInfinity<T>(Vector64<T> f) -> Vector64<T>
static Silk.NET.Maths.Simd64.IsNormal<T>(Vector64<T> f) -> Vector64<T>
static Silk.NET.Maths.Simd64.IsPositiveInfinity<T>(Vector64<T> f) -> Vector64<T>
static Silk.NET.Maths.Simd64.IsSubnormal<T>(Vector64<T> f) -> Vector64<T>
static Silk.NET.Maths.Simd64.LessThan<T>(Vector64<T> left, T right) -> Vector64<T>
static Silk.NET.Maths.Simd64.LessThanOrEqual<T>(Vector64<T> left, T right) -> Vector64<T>
static Silk.NET.Maths.Simd64.LessThan<T>(Vector64<T> left, Vector64<T> right) -> Vector64<T>
static Silk.NET.Maths.Simd64.LessThanOrEqual<T>(Vector64<T> left, Vector64<T> right) -> Vector64<T>
static Silk.NET.Maths.Simd64.Log10<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Log<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Log<T>(Vector64<T> x, T y) -> Vector64<T>
static Silk.NET.Maths.Simd64.Max<T>(Vector64<T> x, T y) -> Vector64<T>
static Silk.NET.Maths.Simd64.Min<T>(Vector64<T> x, T y) -> Vector64<T>
static Silk.NET.Maths.Simd64.Multiply<T>(Vector64<T> left, T right) -> Vector64<T>
static Silk.NET.Maths.Simd64.Log<T>(Vector64<T> x, Vector64<T> y) -> Vector64<T>
static Silk.NET.Maths.Simd64.Max<T>(Vector64<T> x, Vector64<T> y) -> Vector64<T>
static Silk.NET.Maths.Simd64.Min<T>(Vector64<T> x, Vector64<T> y) -> Vector64<T>
static Silk.NET.Maths.Simd64.Multiply<T>(Vector64<T> left, Vector64<T> right) -> Vector64<T>
static Silk.NET.Maths.Simd64.Negate<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.NotEqual<T>(Vector64<T> left, T right) -> Vector64<T>
static Silk.NET.Maths.Simd64.Pow<T>(Vector64<T> x, T y) -> Vector64<T>
static Silk.NET.Maths.Simd64.NotEqual<T>(Vector64<T> left, Vector64<T> right) -> Vector64<T>
static Silk.NET.Maths.Simd64.Pow<T>(Vector64<T> x, Vector64<T> y) -> Vector64<T>
static Silk.NET.Maths.Simd64.Reciprocal<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Round<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Round<T>(Vector64<T> x, System.MidpointRounding mode) -> Vector64<T>
static Silk.NET.Maths.Simd64.Sign<T>(Vector64<T> x) -> Vector64<int>
static Silk.NET.Maths.Simd64.Sin<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Sinh<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Sqrt<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Subtract<T>(Vector64<T> left, T right) -> Vector64<T>
static Silk.NET.Maths.Simd64.Subtract<T>(Vector64<T> left, Vector64<T> right) -> Vector64<T>
static Silk.NET.Maths.Simd64.Tan<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Tanh<T>(Vector64<T> x) -> Vector64<T>
static Silk.NET.Maths.Simd64.Truncate<T>(Vector64<T> x) -> Vector64<T>
Expand Down Expand Up @@ -212,24 +212,24 @@ static Silk.NET.Maths.Simd256.AllBitsSet(Vector256<T> vector) -> bool
static Silk.NET.Maths.Simd256.Abs<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Acos<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Acosh<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Add<T>(Vector256<T> left, T right) -> Vector256<T>
static Silk.NET.Maths.Simd256.Add<T>(Vector256<T> left, Vector256<T> right) -> Vector256<T>
static Silk.NET.Maths.Simd256.As<TFrom, Vector256<T>To>(TFrom val) -> Vector256<T>To
static Silk.NET.Maths.Simd256.Asin<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Asinh<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Atan2<T>(Vector256<T> y, T x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Atan2<T>(Vector256<T> y, Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Atan<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Atanh<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Cbrt<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Ceiling<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Cos<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Cosh<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Divide<T>(Vector256<T> left, T right) -> Vector256<T>
static Silk.NET.Maths.Simd256.Equal<T>(Vector256<T> left, T right) -> Vector256<T>
static Silk.NET.Maths.Simd256.Divide<T>(Vector256<T> left, Vector256<T> right) -> Vector256<T>
static Silk.NET.Maths.Simd256.Equal<T>(Vector256<T> left, Vector256<T> right) -> Vector256<T>
static Silk.NET.Maths.Simd256.Exp<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Floor<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.GreaterThan<T>(Vector256<T> left, T right) -> Vector256<T>
static Silk.NET.Maths.Simd256.GreaterThanOrEqual<T>(Vector256<T> left, T right) -> Vector256<T>
static Silk.NET.Maths.Simd256.IEEERemainder<T>(Vector256<T> x, T y) -> Vector256<T>
static Silk.NET.Maths.Simd256.GreaterThan<T>(Vector256<T> left, Vector256<T> right) -> Vector256<T>
static Silk.NET.Maths.Simd256.GreaterThanOrEqual<T>(Vector256<T> left, Vector256<T> right) -> Vector256<T>
static Silk.NET.Maths.Simd256.IEEERemainder<T>(Vector256<T> x, Vector256<T> y) -> Vector256<T>
static Silk.NET.Maths.Simd256.IsFinite<T>(Vector256<T> f) -> Vector256<T>
static Silk.NET.Maths.Simd256.IsHardwareAccelerated.get -> bool
static Silk.NET.Maths.Simd256.IsInfinity<T>(Vector256<T> f) -> Vector256<T>
Expand All @@ -239,16 +239,16 @@ static Silk.NET.Maths.Simd256.IsNegativeInfinity<T>(Vector256<T> f) -> Vector256
static Silk.NET.Maths.Simd256.IsNormal<T>(Vector256<T> f) -> Vector256<T>
static Silk.NET.Maths.Simd256.IsPositiveInfinity<T>(Vector256<T> f) -> Vector256<T>
static Silk.NET.Maths.Simd256.IsSubnormal<T>(Vector256<T> f) -> Vector256<T>
static Silk.NET.Maths.Simd256.LessThan<T>(Vector256<T> left, T right) -> Vector256<T>
static Silk.NET.Maths.Simd256.LessThanOrEqual<T>(Vector256<T> left, T right) -> Vector256<T>
static Silk.NET.Maths.Simd256.LessThan<T>(Vector256<T> left, Vector256<T> right) -> Vector256<T>
static Silk.NET.Maths.Simd256.LessThanOrEqual<T>(Vector256<T> left, Vector256<T> right) -> Vector256<T>
static Silk.NET.Maths.Simd256.Log10<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Log<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Log<T>(Vector256<T> x, T y) -> Vector256<T>
static Silk.NET.Maths.Simd256.Max<T>(Vector256<T> x, T y) -> Vector256<T>
static Silk.NET.Maths.Simd256.Min<T>(Vector256<T> x, T y) -> Vector256<T>
static Silk.NET.Maths.Simd256.Multiply<T>(Vector256<T> left, T right) -> Vector256<T>
static Silk.NET.Maths.Simd256.Log<T>(Vector256<T> x, Vector256<T> y) -> Vector256<T>
static Silk.NET.Maths.Simd256.Max<T>(Vector256<T> x, Vector256<T> y) -> Vector256<T>
static Silk.NET.Maths.Simd256.Min<T>(Vector256<T> x, Vector256<T> y) -> Vector256<T>
static Silk.NET.Maths.Simd256.Multiply<T>(Vector256<T> left, Vector256<T> right) -> Vector256<T>
static Silk.NET.Maths.Simd256.Negate<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.NotEqual<T>(Vector256<T> left, T right) -> Vector256<T>
static Silk.NET.Maths.Simd256.NotEqual<T>(Vector256<T> left, Vector256<T> right) -> Vector256<T>
static Silk.NET.Maths.Simd256.Pow<T>(Vector256<T> x, T y) -> Vector256<T>
static Silk.NET.Maths.Simd256.Reciprocal<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Round<T>(Vector256<T> x) -> Vector256<T>
Expand All @@ -257,7 +257,7 @@ static Silk.NET.Maths.Simd256.Sign<T>(Vector256<T> x) -> Vector256<int>
static Silk.NET.Maths.Simd256.Sin<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Sinh<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Sqrt<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Subtract<T>(Vector256<T> left, T right) -> Vector256<T>
static Silk.NET.Maths.Simd256.Subtract<T>(Vector256<T> left, Vector256<T> right) -> Vector256<T>
static Silk.NET.Maths.Simd256.Tan<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Tanh<T>(Vector256<T> x) -> Vector256<T>
static Silk.NET.Maths.Simd256.Truncate<T>(Vector256<T> x) -> Vector256<T>
Expand Down