Skip to content

Commit a6f20f2

Browse files
authored
[wasm] Add more PackedSimd methods, logic ops (#85303)
* [wasm] Add more PackedSimd methods * Fix doc comments
1 parent cd7d006 commit a6f20f2

File tree

7 files changed

+606
-9
lines changed

7 files changed

+606
-9
lines changed

src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Wasm/PackedSimd.PlatformNotSupported.cs

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,99 @@ public abstract class PackedSimd
208208
public static Vector128<nint> And(Vector128<nint> left, Vector128<nint> right) { throw new PlatformNotSupportedException(); }
209209
public static Vector128<nuint> And(Vector128<nuint> left, Vector128<nuint> right) { throw new PlatformNotSupportedException(); }
210210

211+
public static Vector128<sbyte> Or(Vector128<sbyte> left, Vector128<sbyte> right) { throw new PlatformNotSupportedException(); }
212+
public static Vector128<byte> Or(Vector128<byte> left, Vector128<byte> right) { throw new PlatformNotSupportedException(); }
213+
public static Vector128<short> Or(Vector128<short> left, Vector128<short> right) { throw new PlatformNotSupportedException(); }
214+
public static Vector128<ushort> Or(Vector128<ushort> left, Vector128<ushort> right) { throw new PlatformNotSupportedException(); }
215+
public static Vector128<int> Or(Vector128<int> left, Vector128<int> right) { throw new PlatformNotSupportedException(); }
216+
public static Vector128<uint> Or(Vector128<uint> left, Vector128<uint> right) { throw new PlatformNotSupportedException(); }
217+
public static Vector128<long> Or(Vector128<long> left, Vector128<long> right) { throw new PlatformNotSupportedException(); }
218+
public static Vector128<ulong> Or(Vector128<ulong> left, Vector128<ulong> right) { throw new PlatformNotSupportedException(); }
219+
public static Vector128<float> Or(Vector128<float> left, Vector128<float> right) { throw new PlatformNotSupportedException(); }
220+
public static Vector128<double> Or(Vector128<double> left, Vector128<double> right) { throw new PlatformNotSupportedException(); }
221+
public static Vector128<nint> Or(Vector128<nint> left, Vector128<nint> right) { throw new PlatformNotSupportedException(); }
222+
public static Vector128<nuint> Or(Vector128<nuint> left, Vector128<nuint> right) { throw new PlatformNotSupportedException(); }
223+
224+
public static Vector128<sbyte> Xor(Vector128<sbyte> left, Vector128<sbyte> right) { throw new PlatformNotSupportedException(); }
225+
public static Vector128<byte> Xor(Vector128<byte> left, Vector128<byte> right) { throw new PlatformNotSupportedException(); }
226+
public static Vector128<short> Xor(Vector128<short> left, Vector128<short> right) { throw new PlatformNotSupportedException(); }
227+
public static Vector128<ushort> Xor(Vector128<ushort> left, Vector128<ushort> right) { throw new PlatformNotSupportedException(); }
228+
public static Vector128<int> Xor(Vector128<int> left, Vector128<int> right) { throw new PlatformNotSupportedException(); }
229+
public static Vector128<uint> Xor(Vector128<uint> left, Vector128<uint> right) { throw new PlatformNotSupportedException(); }
230+
public static Vector128<long> Xor(Vector128<long> left, Vector128<long> right) { throw new PlatformNotSupportedException(); }
231+
public static Vector128<ulong> Xor(Vector128<ulong> left, Vector128<ulong> right) { throw new PlatformNotSupportedException(); }
232+
public static Vector128<float> Xor(Vector128<float> left, Vector128<float> right) { throw new PlatformNotSupportedException(); }
233+
public static Vector128<double> Xor(Vector128<double> left, Vector128<double> right) { throw new PlatformNotSupportedException(); }
234+
public static Vector128<nint> Xor(Vector128<nint> left, Vector128<nint> right) { throw new PlatformNotSupportedException(); }
235+
public static Vector128<nuint> Xor(Vector128<nuint> left, Vector128<nuint> right) { throw new PlatformNotSupportedException(); }
236+
237+
public static Vector128<sbyte> Not(Vector128<sbyte> value) { throw new PlatformNotSupportedException(); }
238+
public static Vector128<byte> Not(Vector128<byte> value) { throw new PlatformNotSupportedException(); }
239+
public static Vector128<short> Not(Vector128<short> value) { throw new PlatformNotSupportedException(); }
240+
public static Vector128<ushort> Not(Vector128<ushort> value) { throw new PlatformNotSupportedException(); }
241+
public static Vector128<int> Not(Vector128<int> value) { throw new PlatformNotSupportedException(); }
242+
public static Vector128<uint> Not(Vector128<uint> value) { throw new PlatformNotSupportedException(); }
243+
public static Vector128<long> Not(Vector128<long> value) { throw new PlatformNotSupportedException(); }
244+
public static Vector128<ulong> Not(Vector128<ulong> value) { throw new PlatformNotSupportedException(); }
245+
public static Vector128<float> Not(Vector128<float> value) { throw new PlatformNotSupportedException(); }
246+
public static Vector128<double> Not(Vector128<double> value) { throw new PlatformNotSupportedException(); }
247+
public static Vector128<nint> Not(Vector128<nint> value) { throw new PlatformNotSupportedException(); }
248+
public static Vector128<nuint> Not(Vector128<nuint> value) { throw new PlatformNotSupportedException(); }
249+
250+
public static Vector128<sbyte> AndNot(Vector128<sbyte> left, Vector128<sbyte> right) { throw new PlatformNotSupportedException(); }
251+
public static Vector128<byte> AndNot(Vector128<byte> left, Vector128<byte> right) { throw new PlatformNotSupportedException(); }
252+
public static Vector128<short> AndNot(Vector128<short> left, Vector128<short> right) { throw new PlatformNotSupportedException(); }
253+
public static Vector128<ushort> AndNot(Vector128<ushort> left, Vector128<ushort> right) { throw new PlatformNotSupportedException(); }
254+
public static Vector128<int> AndNot(Vector128<int> left, Vector128<int> right) { throw new PlatformNotSupportedException(); }
255+
public static Vector128<uint> AndNot(Vector128<uint> left, Vector128<uint> right) { throw new PlatformNotSupportedException(); }
256+
public static Vector128<long> AndNot(Vector128<long> left, Vector128<long> right) { throw new PlatformNotSupportedException(); }
257+
public static Vector128<ulong> AndNot(Vector128<ulong> left, Vector128<ulong> right) { throw new PlatformNotSupportedException(); }
258+
public static Vector128<float> AndNot(Vector128<float> left, Vector128<float> right) { throw new PlatformNotSupportedException(); }
259+
public static Vector128<double> AndNot(Vector128<double> left, Vector128<double> right) { throw new PlatformNotSupportedException(); }
260+
public static Vector128<nint> AndNot(Vector128<nint> left, Vector128<nint> right) { throw new PlatformNotSupportedException(); }
261+
public static Vector128<nuint> AndNot(Vector128<nuint> left, Vector128<nuint> right) { throw new PlatformNotSupportedException(); }
262+
263+
public static Vector128<sbyte> BitwiseSelect(Vector128<sbyte> left, Vector128<sbyte> right, Vector128<sbyte> select) { throw new PlatformNotSupportedException(); }
264+
public static Vector128<byte> BitwiseSelect(Vector128<byte> left, Vector128<byte> right, Vector128<byte> select) { throw new PlatformNotSupportedException(); }
265+
public static Vector128<short> BitwiseSelect(Vector128<short> left, Vector128<short> right, Vector128<short> select) { throw new PlatformNotSupportedException(); }
266+
public static Vector128<ushort> BitwiseSelect(Vector128<ushort> left, Vector128<ushort> right, Vector128<ushort> select) { throw new PlatformNotSupportedException(); }
267+
public static Vector128<int> BitwiseSelect(Vector128<int> left, Vector128<int> right, Vector128<int> select) { throw new PlatformNotSupportedException(); }
268+
public static Vector128<uint> BitwiseSelect(Vector128<uint> left, Vector128<uint> right, Vector128<uint> select) { throw new PlatformNotSupportedException(); }
269+
public static Vector128<long> BitwiseSelect(Vector128<long> left, Vector128<long> right, Vector128<long> select) { throw new PlatformNotSupportedException(); }
270+
public static Vector128<ulong> BitwiseSelect(Vector128<ulong> left, Vector128<ulong> right, Vector128<ulong> select) { throw new PlatformNotSupportedException(); }
271+
public static Vector128<float> BitwiseSelect(Vector128<float> left, Vector128<float> right, Vector128<float> select) { throw new PlatformNotSupportedException(); }
272+
public static Vector128<double> BitwiseSelect(Vector128<double> left, Vector128<double> right, Vector128<double> select) { throw new PlatformNotSupportedException(); }
273+
public static Vector128<nint> BitwiseSelect(Vector128<nint> left, Vector128<nint> right, Vector128<nint> select) { throw new PlatformNotSupportedException(); }
274+
public static Vector128<nuint> BitwiseSelect(Vector128<nuint> left, Vector128<nuint> right, Vector128<nuint> select) { throw new PlatformNotSupportedException(); }
275+
276+
public static Vector128<byte> PopCount(Vector128<byte> value) { throw new PlatformNotSupportedException(); }
277+
278+
// Boolean horizontal reductions
279+
280+
public static bool AnyTrue(Vector128<sbyte> value) { throw new PlatformNotSupportedException(); }
281+
public static bool AnyTrue(Vector128<byte> value) { throw new PlatformNotSupportedException(); }
282+
public static bool AnyTrue(Vector128<short> value) { throw new PlatformNotSupportedException(); }
283+
public static bool AnyTrue(Vector128<ushort> value) { throw new PlatformNotSupportedException(); }
284+
public static bool AnyTrue(Vector128<int> value) { throw new PlatformNotSupportedException(); }
285+
public static bool AnyTrue(Vector128<uint> value) { throw new PlatformNotSupportedException(); }
286+
public static bool AnyTrue(Vector128<long> value) { throw new PlatformNotSupportedException(); }
287+
public static bool AnyTrue(Vector128<ulong> value) { throw new PlatformNotSupportedException(); }
288+
public static bool AnyTrue(Vector128<float> value) { throw new PlatformNotSupportedException(); }
289+
public static bool AnyTrue(Vector128<double> value) { throw new PlatformNotSupportedException(); }
290+
public static bool AnyTrue(Vector128<nint> value) { throw new PlatformNotSupportedException(); }
291+
public static bool AnyTrue(Vector128<nuint> value) { throw new PlatformNotSupportedException(); }
292+
293+
public static bool AllTrue(Vector128<sbyte> value) { throw new PlatformNotSupportedException(); }
294+
public static bool AllTrue(Vector128<byte> value) { throw new PlatformNotSupportedException(); }
295+
public static bool AllTrue(Vector128<short> value) { throw new PlatformNotSupportedException(); }
296+
public static bool AllTrue(Vector128<ushort> value) { throw new PlatformNotSupportedException(); }
297+
public static bool AllTrue(Vector128<int> value) { throw new PlatformNotSupportedException(); }
298+
public static bool AllTrue(Vector128<uint> value) { throw new PlatformNotSupportedException(); }
299+
public static bool AllTrue(Vector128<long> value) { throw new PlatformNotSupportedException(); }
300+
public static bool AllTrue(Vector128<ulong> value) { throw new PlatformNotSupportedException(); }
301+
public static bool AllTrue(Vector128<nint> value) { throw new PlatformNotSupportedException(); }
302+
public static bool AllTrue(Vector128<nuint> value) { throw new PlatformNotSupportedException(); }
303+
211304
public static int Bitmask(Vector128<sbyte> value) { throw new PlatformNotSupportedException(); }
212305
public static int Bitmask(Vector128<byte> value) { throw new PlatformNotSupportedException(); }
213306
public static int Bitmask(Vector128<short> value) { throw new PlatformNotSupportedException(); }

0 commit comments

Comments
 (0)