Skip to content

Commit

Permalink
Arm64/Sve: Remove entries of SVE APIs take 32-bit address (#107758)
Browse files Browse the repository at this point in the history
* Remove entry of APIs because of #103297

* comment out the test cases for unsupported APIs
  • Loading branch information
kunalspathak authored Sep 13, 2024
1 parent 5ca3f79 commit c8ae841
Show file tree
Hide file tree
Showing 4 changed files with 164 additions and 140 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3145,11 +3145,12 @@ internal Arm64() { }
/// </summary>
public static unsafe void GatherPrefetch16Bit(Vector<short> mask, void* address, Vector<long> indices, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>void svprfh_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
/// <para> PRFH op, Pg, [Zbases.S, #0]</para>
/// </summary>
public static unsafe void GatherPrefetch16Bit(Vector<short> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }
// <summary>
// <para>void svprfh_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
// <para> PRFH op, Pg, [Zbases.S, #0]</para>
// </summary>
// Removed as per #103297
// public static unsafe void GatherPrefetch16Bit(Vector<short> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>void svprfh_gather_[u32]index(svbool_t pg, const void *base, svuint32_t indices, enum svprfop op)</para>
Expand Down Expand Up @@ -3181,11 +3182,12 @@ internal Arm64() { }
/// </summary>
public static unsafe void GatherPrefetch16Bit(Vector<ushort> mask, void* address, Vector<long> indices, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>void svprfh_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
/// <para> PRFH op, Pg, [Zbases.S, #0]</para>
/// </summary>
public static unsafe void GatherPrefetch16Bit(Vector<ushort> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }
// <summary>
// <para>void svprfh_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
// <para> PRFH op, Pg, [Zbases.S, #0]</para>
// </summary>
// Removed as per #103297
// public static unsafe void GatherPrefetch16Bit(Vector<ushort> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>void svprfh_gather_[u32]index(svbool_t pg, const void *base, svuint32_t indices, enum svprfop op)</para>
Expand Down Expand Up @@ -3220,11 +3222,12 @@ internal Arm64() { }
/// </summary>
public static unsafe void GatherPrefetch32Bit(Vector<int> mask, void* address, Vector<long> indices, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>void svprfw_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
/// <para> PRFW op, Pg, [Zbases.S, #0]</para>
/// </summary>
public static unsafe void GatherPrefetch32Bit(Vector<int> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }
// <summary>
// <para>void svprfw_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
// <para> PRFW op, Pg, [Zbases.S, #0]</para>
// </summary>
// Removed as per #103297
// public static unsafe void GatherPrefetch32Bit(Vector<int> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>void svprfw_gather_[u32]index(svbool_t pg, const void *base, svuint32_t indices, enum svprfop op)</para>
Expand Down Expand Up @@ -3256,11 +3259,12 @@ internal Arm64() { }
/// </summary>
public static unsafe void GatherPrefetch32Bit(Vector<uint> mask, void* address, Vector<long> indices, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>void svprfw_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
/// <para> PRFW op, Pg, [Zbases.S, #0]</para>
/// </summary>
public static unsafe void GatherPrefetch32Bit(Vector<uint> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }
// <summary>
// <para>void svprfw_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
// <para> PRFW op, Pg, [Zbases.S, #0]</para>
// </summary>
// Removed as per #103297
// public static unsafe void GatherPrefetch32Bit(Vector<uint> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>void svprfw_gather_[u32]index(svbool_t pg, const void *base, svuint32_t indices, enum svprfop op)</para>
Expand Down Expand Up @@ -3295,11 +3299,12 @@ internal Arm64() { }
/// </summary>
public static unsafe void GatherPrefetch64Bit(Vector<long> mask, void* address, Vector<long> indices, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>void svprfd_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
/// <para> PRFD op, Pg, [Zbases.S, #0]</para>
/// </summary>
public static unsafe void GatherPrefetch64Bit(Vector<long> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }
// <summary>
// <para>void svprfd_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
// <para> PRFD op, Pg, [Zbases.S, #0]</para>
// </summary>
// Removed as per #103297
// public static unsafe void GatherPrefetch64Bit(Vector<long> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>void svprfd_gather_[u32]index(svbool_t pg, const void *base, svuint32_t indices, enum svprfop op)</para>
Expand Down Expand Up @@ -3331,11 +3336,12 @@ internal Arm64() { }
/// </summary>
public static unsafe void GatherPrefetch64Bit(Vector<ulong> mask, void* address, Vector<long> indices, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>void svprfd_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
/// <para> PRFD op, Pg, [Zbases.S, #0]</para>
/// </summary>
public static unsafe void GatherPrefetch64Bit(Vector<ulong> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }
// <summary>
// <para>void svprfd_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
// <para> PRFD op, Pg, [Zbases.S, #0]</para>
// </summary>
// Removed as per #103297
// public static unsafe void GatherPrefetch64Bit(Vector<ulong> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>void svprfd_gather_[u32]index(svbool_t pg, const void *base, svuint32_t indices, enum svprfop op)</para>
Expand Down Expand Up @@ -3370,11 +3376,12 @@ internal Arm64() { }
/// </summary>
public static unsafe void GatherPrefetch8Bit(Vector<byte> mask, void* address, Vector<long> offsets, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>void svprfb_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
/// <para> PRFB op, Pg, [Zbases.S, #0]</para>
/// </summary>
public static unsafe void GatherPrefetch8Bit(Vector<byte> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }
// <summary>
// <para>void svprfb_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
// <para> PRFB op, Pg, [Zbases.S, #0]</para>
// </summary>
// Removed as per #103297
// public static unsafe void GatherPrefetch8Bit(Vector<byte> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>void svprfb_gather_[u32]offset(svbool_t pg, const void *base, svuint32_t offsets, enum svprfop op)</para>
Expand Down Expand Up @@ -3406,11 +3413,12 @@ internal Arm64() { }
/// </summary>
public static unsafe void GatherPrefetch8Bit(Vector<sbyte> mask, void* address, Vector<long> offsets, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>void svprfb_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
/// <para> PRFB op, Pg, [Zbases.S, #0]</para>
/// </summary>
public static unsafe void GatherPrefetch8Bit(Vector<sbyte> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }
// <summary>
// <para>void svprfb_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
// <para> PRFB op, Pg, [Zbases.S, #0]</para>
// </summary>
// Removed as per #103297
// public static unsafe void GatherPrefetch8Bit(Vector<sbyte> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>void svprfb_gather_[u32]offset(svbool_t pg, const void *base, svuint32_t offsets, enum svprfop op)</para>
Expand Down Expand Up @@ -3898,11 +3906,12 @@ internal Arm64() { }
/// </summary>
public static unsafe Vector<int> GatherVectorInt16SignExtendFirstFaulting(Vector<int> mask, short* address, Vector<int> indices) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>svint32_t svldff1sh_gather[_u32base]_s32(svbool_t pg, svuint32_t bases)</para>
/// <para> LDFF1SH Zresult.S, Pg/Z, [Zbases.S, #0]</para>
/// </summary>
public static unsafe Vector<int> GatherVectorInt16SignExtendFirstFaulting(Vector<int> mask, Vector<uint> addresses) { throw new PlatformNotSupportedException(); }
// <summary>
// <para>svint32_t svldff1sh_gather[_u32base]_s32(svbool_t pg, svuint32_t bases)</para>
// <para> LDFF1SH Zresult.S, Pg/Z, [Zbases.S, #0]</para>
// </summary>
// Removed as per #103297
// public static unsafe Vector<int> GatherVectorInt16SignExtendFirstFaulting(Vector<int> mask, Vector<uint> addresses) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>svint32_t svldff1sh_gather_[u32]index_s32(svbool_t pg, const int16_t *base, svuint32_t indices)</para>
Expand Down Expand Up @@ -3934,11 +3943,12 @@ internal Arm64() { }
/// </summary>
public static unsafe Vector<uint> GatherVectorInt16SignExtendFirstFaulting(Vector<uint> mask, short* address, Vector<int> indices) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>svuint32_t svldff1sh_gather[_u32base]_u32(svbool_t pg, svuint32_t bases)</para>
/// <para> LDFF1SH Zresult.S, Pg/Z, [Zbases.S, #0]</para>
/// </summary>
public static unsafe Vector<uint> GatherVectorInt16SignExtendFirstFaulting(Vector<uint> mask, Vector<uint> addresses) { throw new PlatformNotSupportedException(); }
// <summary>
// <para>svuint32_t svldff1sh_gather[_u32base]_u32(svbool_t pg, svuint32_t bases)</para>
// <para> LDFF1SH Zresult.S, Pg/Z, [Zbases.S, #0]</para>
// </summary>
// Removed as per #103297
// public static unsafe Vector<uint> GatherVectorInt16SignExtendFirstFaulting(Vector<uint> mask, Vector<uint> addresses) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>svuint32_t svldff1sh_gather_[u32]index_u32(svbool_t pg, const int16_t *base, svuint32_t indices)</para>
Expand Down Expand Up @@ -4284,11 +4294,12 @@ internal Arm64() { }
/// </summary>
public static unsafe Vector<int> GatherVectorSByteSignExtendFirstFaulting(Vector<int> mask, sbyte* address, Vector<int> offsets) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>svint32_t svldff1sb_gather[_u32base]_s32(svbool_t pg, svuint32_t bases)</para>
/// <para> LDFF1SB Zresult.S, Pg/Z, [Zbases.S, #0]</para>
/// </summary>
public static unsafe Vector<int> GatherVectorSByteSignExtendFirstFaulting(Vector<int> mask, Vector<uint> addresses) { throw new PlatformNotSupportedException(); }
// <summary>
// <para>svint32_t svldff1sb_gather[_u32base]_s32(svbool_t pg, svuint32_t bases)</para>
// <para> LDFF1SB Zresult.S, Pg/Z, [Zbases.S, #0]</para>
// </summary>
// Removed as per #103297
// public static unsafe Vector<int> GatherVectorSByteSignExtendFirstFaulting(Vector<int> mask, Vector<uint> addresses) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>svint32_t svldff1sb_gather_[u32]offset_s32(svbool_t pg, const int8_t *base, svuint32_t offsets)</para>
Expand Down Expand Up @@ -4320,11 +4331,12 @@ internal Arm64() { }
/// </summary>
public static unsafe Vector<uint> GatherVectorSByteSignExtendFirstFaulting(Vector<uint> mask, sbyte* address, Vector<int> offsets) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>svuint32_t svldff1sb_gather[_u32base]_u32(svbool_t pg, svuint32_t bases)</para>
/// <para> LDFF1SB Zresult.S, Pg/Z, [Zbases.S, #0]</para>
/// </summary>
public static unsafe Vector<uint> GatherVectorSByteSignExtendFirstFaulting(Vector<uint> mask, Vector<uint> addresses) { throw new PlatformNotSupportedException(); }
// <summary>
// <para>svuint32_t svldff1sb_gather[_u32base]_u32(svbool_t pg, svuint32_t bases)</para>
// <para> LDFF1SB Zresult.S, Pg/Z, [Zbases.S, #0]</para>
// </summary>
// Removed as per #103297
// public static unsafe Vector<uint> GatherVectorSByteSignExtendFirstFaulting(Vector<uint> mask, Vector<uint> addresses) { throw new PlatformNotSupportedException(); }

/// <summary>
/// <para>svuint32_t svldff1sb_gather_[u32]offset_u32(svbool_t pg, const int8_t *base, svuint32_t offsets)</para>
Expand Down
Loading

0 comments on commit c8ae841

Please sign in to comment.