Skip to content

[wasm] Add more PackedSimd methods, logic ops #85303

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
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,99 @@ public abstract class PackedSimd
public static Vector128<nint> And(Vector128<nint> left, Vector128<nint> right) { throw new PlatformNotSupportedException(); }
public static Vector128<nuint> And(Vector128<nuint> left, Vector128<nuint> right) { throw new PlatformNotSupportedException(); }

public static Vector128<sbyte> Or(Vector128<sbyte> left, Vector128<sbyte> right) { throw new PlatformNotSupportedException(); }
public static Vector128<byte> Or(Vector128<byte> left, Vector128<byte> right) { throw new PlatformNotSupportedException(); }
public static Vector128<short> Or(Vector128<short> left, Vector128<short> right) { throw new PlatformNotSupportedException(); }
public static Vector128<ushort> Or(Vector128<ushort> left, Vector128<ushort> right) { throw new PlatformNotSupportedException(); }
public static Vector128<int> Or(Vector128<int> left, Vector128<int> right) { throw new PlatformNotSupportedException(); }
public static Vector128<uint> Or(Vector128<uint> left, Vector128<uint> right) { throw new PlatformNotSupportedException(); }
public static Vector128<long> Or(Vector128<long> left, Vector128<long> right) { throw new PlatformNotSupportedException(); }
public static Vector128<ulong> Or(Vector128<ulong> left, Vector128<ulong> right) { throw new PlatformNotSupportedException(); }
public static Vector128<float> Or(Vector128<float> left, Vector128<float> right) { throw new PlatformNotSupportedException(); }
public static Vector128<double> Or(Vector128<double> left, Vector128<double> right) { throw new PlatformNotSupportedException(); }
public static Vector128<nint> Or(Vector128<nint> left, Vector128<nint> right) { throw new PlatformNotSupportedException(); }
public static Vector128<nuint> Or(Vector128<nuint> left, Vector128<nuint> right) { throw new PlatformNotSupportedException(); }

public static Vector128<sbyte> Xor(Vector128<sbyte> left, Vector128<sbyte> right) { throw new PlatformNotSupportedException(); }
public static Vector128<byte> Xor(Vector128<byte> left, Vector128<byte> right) { throw new PlatformNotSupportedException(); }
public static Vector128<short> Xor(Vector128<short> left, Vector128<short> right) { throw new PlatformNotSupportedException(); }
public static Vector128<ushort> Xor(Vector128<ushort> left, Vector128<ushort> right) { throw new PlatformNotSupportedException(); }
public static Vector128<int> Xor(Vector128<int> left, Vector128<int> right) { throw new PlatformNotSupportedException(); }
public static Vector128<uint> Xor(Vector128<uint> left, Vector128<uint> right) { throw new PlatformNotSupportedException(); }
public static Vector128<long> Xor(Vector128<long> left, Vector128<long> right) { throw new PlatformNotSupportedException(); }
public static Vector128<ulong> Xor(Vector128<ulong> left, Vector128<ulong> right) { throw new PlatformNotSupportedException(); }
public static Vector128<float> Xor(Vector128<float> left, Vector128<float> right) { throw new PlatformNotSupportedException(); }
public static Vector128<double> Xor(Vector128<double> left, Vector128<double> right) { throw new PlatformNotSupportedException(); }
public static Vector128<nint> Xor(Vector128<nint> left, Vector128<nint> right) { throw new PlatformNotSupportedException(); }
public static Vector128<nuint> Xor(Vector128<nuint> left, Vector128<nuint> right) { throw new PlatformNotSupportedException(); }

public static Vector128<sbyte> Not(Vector128<sbyte> value) { throw new PlatformNotSupportedException(); }
public static Vector128<byte> Not(Vector128<byte> value) { throw new PlatformNotSupportedException(); }
public static Vector128<short> Not(Vector128<short> value) { throw new PlatformNotSupportedException(); }
public static Vector128<ushort> Not(Vector128<ushort> value) { throw new PlatformNotSupportedException(); }
public static Vector128<int> Not(Vector128<int> value) { throw new PlatformNotSupportedException(); }
public static Vector128<uint> Not(Vector128<uint> value) { throw new PlatformNotSupportedException(); }
public static Vector128<long> Not(Vector128<long> value) { throw new PlatformNotSupportedException(); }
public static Vector128<ulong> Not(Vector128<ulong> value) { throw new PlatformNotSupportedException(); }
public static Vector128<float> Not(Vector128<float> value) { throw new PlatformNotSupportedException(); }
public static Vector128<double> Not(Vector128<double> value) { throw new PlatformNotSupportedException(); }
public static Vector128<nint> Not(Vector128<nint> value) { throw new PlatformNotSupportedException(); }
public static Vector128<nuint> Not(Vector128<nuint> value) { throw new PlatformNotSupportedException(); }

public static Vector128<sbyte> AndNot(Vector128<sbyte> left, Vector128<sbyte> right) { throw new PlatformNotSupportedException(); }
public static Vector128<byte> AndNot(Vector128<byte> left, Vector128<byte> right) { throw new PlatformNotSupportedException(); }
public static Vector128<short> AndNot(Vector128<short> left, Vector128<short> right) { throw new PlatformNotSupportedException(); }
public static Vector128<ushort> AndNot(Vector128<ushort> left, Vector128<ushort> right) { throw new PlatformNotSupportedException(); }
public static Vector128<int> AndNot(Vector128<int> left, Vector128<int> right) { throw new PlatformNotSupportedException(); }
public static Vector128<uint> AndNot(Vector128<uint> left, Vector128<uint> right) { throw new PlatformNotSupportedException(); }
public static Vector128<long> AndNot(Vector128<long> left, Vector128<long> right) { throw new PlatformNotSupportedException(); }
public static Vector128<ulong> AndNot(Vector128<ulong> left, Vector128<ulong> right) { throw new PlatformNotSupportedException(); }
public static Vector128<float> AndNot(Vector128<float> left, Vector128<float> right) { throw new PlatformNotSupportedException(); }
public static Vector128<double> AndNot(Vector128<double> left, Vector128<double> right) { throw new PlatformNotSupportedException(); }
public static Vector128<nint> AndNot(Vector128<nint> left, Vector128<nint> right) { throw new PlatformNotSupportedException(); }
public static Vector128<nuint> AndNot(Vector128<nuint> left, Vector128<nuint> right) { throw new PlatformNotSupportedException(); }

public static Vector128<sbyte> BitwiseSelect(Vector128<sbyte> left, Vector128<sbyte> right, Vector128<sbyte> select) { throw new PlatformNotSupportedException(); }
public static Vector128<byte> BitwiseSelect(Vector128<byte> left, Vector128<byte> right, Vector128<byte> select) { throw new PlatformNotSupportedException(); }
public static Vector128<short> BitwiseSelect(Vector128<short> left, Vector128<short> right, Vector128<short> select) { throw new PlatformNotSupportedException(); }
public static Vector128<ushort> BitwiseSelect(Vector128<ushort> left, Vector128<ushort> right, Vector128<ushort> select) { throw new PlatformNotSupportedException(); }
public static Vector128<int> BitwiseSelect(Vector128<int> left, Vector128<int> right, Vector128<int> select) { throw new PlatformNotSupportedException(); }
public static Vector128<uint> BitwiseSelect(Vector128<uint> left, Vector128<uint> right, Vector128<uint> select) { throw new PlatformNotSupportedException(); }
public static Vector128<long> BitwiseSelect(Vector128<long> left, Vector128<long> right, Vector128<long> select) { throw new PlatformNotSupportedException(); }
public static Vector128<ulong> BitwiseSelect(Vector128<ulong> left, Vector128<ulong> right, Vector128<ulong> select) { throw new PlatformNotSupportedException(); }
public static Vector128<float> BitwiseSelect(Vector128<float> left, Vector128<float> right, Vector128<float> select) { throw new PlatformNotSupportedException(); }
public static Vector128<double> BitwiseSelect(Vector128<double> left, Vector128<double> right, Vector128<double> select) { throw new PlatformNotSupportedException(); }
public static Vector128<nint> BitwiseSelect(Vector128<nint> left, Vector128<nint> right, Vector128<nint> select) { throw new PlatformNotSupportedException(); }
public static Vector128<nuint> BitwiseSelect(Vector128<nuint> left, Vector128<nuint> right, Vector128<nuint> select) { throw new PlatformNotSupportedException(); }

public static Vector128<byte> PopCount(Vector128<byte> value) { throw new PlatformNotSupportedException(); }

// Boolean horizontal reductions

public static bool AnyTrue(Vector128<sbyte> value) { throw new PlatformNotSupportedException(); }
public static bool AnyTrue(Vector128<byte> value) { throw new PlatformNotSupportedException(); }
public static bool AnyTrue(Vector128<short> value) { throw new PlatformNotSupportedException(); }
public static bool AnyTrue(Vector128<ushort> value) { throw new PlatformNotSupportedException(); }
public static bool AnyTrue(Vector128<int> value) { throw new PlatformNotSupportedException(); }
public static bool AnyTrue(Vector128<uint> value) { throw new PlatformNotSupportedException(); }
public static bool AnyTrue(Vector128<long> value) { throw new PlatformNotSupportedException(); }
public static bool AnyTrue(Vector128<ulong> value) { throw new PlatformNotSupportedException(); }
public static bool AnyTrue(Vector128<float> value) { throw new PlatformNotSupportedException(); }
public static bool AnyTrue(Vector128<double> value) { throw new PlatformNotSupportedException(); }
public static bool AnyTrue(Vector128<nint> value) { throw new PlatformNotSupportedException(); }
public static bool AnyTrue(Vector128<nuint> value) { throw new PlatformNotSupportedException(); }

public static bool AllTrue(Vector128<sbyte> value) { throw new PlatformNotSupportedException(); }
public static bool AllTrue(Vector128<byte> value) { throw new PlatformNotSupportedException(); }
public static bool AllTrue(Vector128<short> value) { throw new PlatformNotSupportedException(); }
public static bool AllTrue(Vector128<ushort> value) { throw new PlatformNotSupportedException(); }
public static bool AllTrue(Vector128<int> value) { throw new PlatformNotSupportedException(); }
public static bool AllTrue(Vector128<uint> value) { throw new PlatformNotSupportedException(); }
public static bool AllTrue(Vector128<long> value) { throw new PlatformNotSupportedException(); }
public static bool AllTrue(Vector128<ulong> value) { throw new PlatformNotSupportedException(); }
public static bool AllTrue(Vector128<nint> value) { throw new PlatformNotSupportedException(); }
public static bool AllTrue(Vector128<nuint> value) { throw new PlatformNotSupportedException(); }

public static int Bitmask(Vector128<sbyte> value) { throw new PlatformNotSupportedException(); }
public static int Bitmask(Vector128<byte> value) { throw new PlatformNotSupportedException(); }
public static int Bitmask(Vector128<short> value) { throw new PlatformNotSupportedException(); }
Expand Down
Loading