Skip to content

Add missing PTEST docs #62122

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
Jan 3, 2022
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 @@ -675,38 +675,122 @@ internal X64() { }
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestC(Vector128<sbyte> left, Vector128<sbyte> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// int _mm_testc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestC(Vector128<byte> left, Vector128<byte> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// int _mm_testc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestC(Vector128<short> left, Vector128<short> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// int _mm_testc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestC(Vector128<ushort> left, Vector128<ushort> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// int _mm_testc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestC(Vector128<int> left, Vector128<int> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// int _mm_testc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestC(Vector128<uint> left, Vector128<uint> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// int _mm_testc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestC(Vector128<long> left, Vector128<long> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// int _mm_testc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestC(Vector128<ulong> left, Vector128<ulong> right) { throw new PlatformNotSupportedException(); }

/// <summary>
/// int _mm_testnzc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestNotZAndNotC(Vector128<sbyte> left, Vector128<sbyte> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// int _mm_testnzc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestNotZAndNotC(Vector128<byte> left, Vector128<byte> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// int _mm_testnzc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestNotZAndNotC(Vector128<short> left, Vector128<short> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// int _mm_testnzc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestNotZAndNotC(Vector128<ushort> left, Vector128<ushort> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// int _mm_testnzc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestNotZAndNotC(Vector128<int> left, Vector128<int> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// int _mm_testnzc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestNotZAndNotC(Vector128<uint> left, Vector128<uint> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// int _mm_testnzc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestNotZAndNotC(Vector128<long> left, Vector128<long> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// int _mm_testnzc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestNotZAndNotC(Vector128<ulong> left, Vector128<ulong> right) { throw new PlatformNotSupportedException(); }

/// <summary>
/// int _mm_testz_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestZ(Vector128<sbyte> left, Vector128<sbyte> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// int _mm_testz_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestZ(Vector128<byte> left, Vector128<byte> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// int _mm_testz_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestZ(Vector128<short> left, Vector128<short> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// int _mm_testz_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestZ(Vector128<ushort> left, Vector128<ushort> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// int _mm_testz_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestZ(Vector128<int> left, Vector128<int> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// int _mm_testz_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestZ(Vector128<uint> left, Vector128<uint> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// int _mm_testz_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestZ(Vector128<long> left, Vector128<long> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// int _mm_testz_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestZ(Vector128<ulong> left, Vector128<ulong> right) { throw new PlatformNotSupportedException(); }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -675,38 +675,122 @@ internal X64() { }
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestC(Vector128<sbyte> left, Vector128<sbyte> right) => TestC(left, right);
/// <summary>
/// int _mm_testc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestC(Vector128<byte> left, Vector128<byte> right) => TestC(left, right);
/// <summary>
/// int _mm_testc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestC(Vector128<short> left, Vector128<short> right) => TestC(left, right);
/// <summary>
/// int _mm_testc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestC(Vector128<ushort> left, Vector128<ushort> right) => TestC(left, right);
/// <summary>
/// int _mm_testc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestC(Vector128<int> left, Vector128<int> right) => TestC(left, right);
/// <summary>
/// int _mm_testc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestC(Vector128<uint> left, Vector128<uint> right) => TestC(left, right);
/// <summary>
/// int _mm_testc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestC(Vector128<long> left, Vector128<long> right) => TestC(left, right);
/// <summary>
/// int _mm_testc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestC(Vector128<ulong> left, Vector128<ulong> right) => TestC(left, right);

/// <summary>
/// int _mm_testnzc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestNotZAndNotC(Vector128<sbyte> left, Vector128<sbyte> right) => TestNotZAndNotC(left, right);
/// <summary>
/// int _mm_testnzc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestNotZAndNotC(Vector128<byte> left, Vector128<byte> right) => TestNotZAndNotC(left, right);
/// <summary>
/// int _mm_testnzc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestNotZAndNotC(Vector128<short> left, Vector128<short> right) => TestNotZAndNotC(left, right);
/// <summary>
/// int _mm_testnzc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestNotZAndNotC(Vector128<ushort> left, Vector128<ushort> right) => TestNotZAndNotC(left, right);
/// <summary>
/// int _mm_testnzc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestNotZAndNotC(Vector128<int> left, Vector128<int> right) => TestNotZAndNotC(left, right);
/// <summary>
/// int _mm_testnzc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestNotZAndNotC(Vector128<uint> left, Vector128<uint> right) => TestNotZAndNotC(left, right);
/// <summary>
/// int _mm_testnzc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestNotZAndNotC(Vector128<long> left, Vector128<long> right) => TestNotZAndNotC(left, right);
/// <summary>
/// int _mm_testnzc_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestNotZAndNotC(Vector128<ulong> left, Vector128<ulong> right) => TestNotZAndNotC(left, right);

/// <summary>
/// int _mm_testz_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestZ(Vector128<sbyte> left, Vector128<sbyte> right) => TestZ(left, right);
/// <summary>
/// int _mm_testz_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestZ(Vector128<byte> left, Vector128<byte> right) => TestZ(left, right);
/// <summary>
/// int _mm_testz_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestZ(Vector128<short> left, Vector128<short> right) => TestZ(left, right);
/// <summary>
/// int _mm_testz_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestZ(Vector128<ushort> left, Vector128<ushort> right) => TestZ(left, right);
/// <summary>
/// int _mm_testz_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestZ(Vector128<int> left, Vector128<int> right) => TestZ(left, right);
/// <summary>
/// int _mm_testz_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestZ(Vector128<uint> left, Vector128<uint> right) => TestZ(left, right);
/// <summary>
/// int _mm_testz_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestZ(Vector128<long> left, Vector128<long> right) => TestZ(left, right);
/// <summary>
/// int _mm_testz_si128 (__m128i a, __m128i b)
/// PTEST xmm, xmm/m128
/// </summary>
public static bool TestZ(Vector128<ulong> left, Vector128<ulong> right) => TestZ(left, right);
}
}