Skip to content

Commit c8ae841

Browse files
authored
Arm64/Sve: Remove entries of SVE APIs take 32-bit address (#107758)
* Remove entry of APIs because of #103297 * comment out the test cases for unsupported APIs
1 parent 5ca3f79 commit c8ae841

File tree

4 files changed

+164
-140
lines changed

4 files changed

+164
-140
lines changed

src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Arm/Sve.PlatformNotSupported.cs

Lines changed: 72 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -3145,11 +3145,12 @@ internal Arm64() { }
31453145
/// </summary>
31463146
public static unsafe void GatherPrefetch16Bit(Vector<short> mask, void* address, Vector<long> indices, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }
31473147

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

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

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

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

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

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

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

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

3298-
/// <summary>
3299-
/// <para>void svprfd_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
3300-
/// <para> PRFD op, Pg, [Zbases.S, #0]</para>
3301-
/// </summary>
3302-
public static unsafe void GatherPrefetch64Bit(Vector<long> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }
3302+
// <summary>
3303+
// <para>void svprfd_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
3304+
// <para> PRFD op, Pg, [Zbases.S, #0]</para>
3305+
// </summary>
3306+
// Removed as per #103297
3307+
// public static unsafe void GatherPrefetch64Bit(Vector<long> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }
33033308

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

3334-
/// <summary>
3335-
/// <para>void svprfd_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
3336-
/// <para> PRFD op, Pg, [Zbases.S, #0]</para>
3337-
/// </summary>
3338-
public static unsafe void GatherPrefetch64Bit(Vector<ulong> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }
3339+
// <summary>
3340+
// <para>void svprfd_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
3341+
// <para> PRFD op, Pg, [Zbases.S, #0]</para>
3342+
// </summary>
3343+
// Removed as per #103297
3344+
// public static unsafe void GatherPrefetch64Bit(Vector<ulong> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }
33393345

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

3373-
/// <summary>
3374-
/// <para>void svprfb_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
3375-
/// <para> PRFB op, Pg, [Zbases.S, #0]</para>
3376-
/// </summary>
3377-
public static unsafe void GatherPrefetch8Bit(Vector<byte> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }
3379+
// <summary>
3380+
// <para>void svprfb_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
3381+
// <para> PRFB op, Pg, [Zbases.S, #0]</para>
3382+
// </summary>
3383+
// Removed as per #103297
3384+
// public static unsafe void GatherPrefetch8Bit(Vector<byte> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }
33783385

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

3409-
/// <summary>
3410-
/// <para>void svprfb_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
3411-
/// <para> PRFB op, Pg, [Zbases.S, #0]</para>
3412-
/// </summary>
3413-
public static unsafe void GatherPrefetch8Bit(Vector<sbyte> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }
3416+
// <summary>
3417+
// <para>void svprfb_gather[_u32base](svbool_t pg, svuint32_t bases, enum svprfop op)</para>
3418+
// <para> PRFB op, Pg, [Zbases.S, #0]</para>
3419+
// </summary>
3420+
// Removed as per #103297
3421+
// public static unsafe void GatherPrefetch8Bit(Vector<sbyte> mask, Vector<uint> addresses, [ConstantExpected] SvePrefetchType prefetchType) { throw new PlatformNotSupportedException(); }
34143422

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

3901-
/// <summary>
3902-
/// <para>svint32_t svldff1sh_gather[_u32base]_s32(svbool_t pg, svuint32_t bases)</para>
3903-
/// <para> LDFF1SH Zresult.S, Pg/Z, [Zbases.S, #0]</para>
3904-
/// </summary>
3905-
public static unsafe Vector<int> GatherVectorInt16SignExtendFirstFaulting(Vector<int> mask, Vector<uint> addresses) { throw new PlatformNotSupportedException(); }
3909+
// <summary>
3910+
// <para>svint32_t svldff1sh_gather[_u32base]_s32(svbool_t pg, svuint32_t bases)</para>
3911+
// <para> LDFF1SH Zresult.S, Pg/Z, [Zbases.S, #0]</para>
3912+
// </summary>
3913+
// Removed as per #103297
3914+
// public static unsafe Vector<int> GatherVectorInt16SignExtendFirstFaulting(Vector<int> mask, Vector<uint> addresses) { throw new PlatformNotSupportedException(); }
39063915

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

3937-
/// <summary>
3938-
/// <para>svuint32_t svldff1sh_gather[_u32base]_u32(svbool_t pg, svuint32_t bases)</para>
3939-
/// <para> LDFF1SH Zresult.S, Pg/Z, [Zbases.S, #0]</para>
3940-
/// </summary>
3941-
public static unsafe Vector<uint> GatherVectorInt16SignExtendFirstFaulting(Vector<uint> mask, Vector<uint> addresses) { throw new PlatformNotSupportedException(); }
3946+
// <summary>
3947+
// <para>svuint32_t svldff1sh_gather[_u32base]_u32(svbool_t pg, svuint32_t bases)</para>
3948+
// <para> LDFF1SH Zresult.S, Pg/Z, [Zbases.S, #0]</para>
3949+
// </summary>
3950+
// Removed as per #103297
3951+
// public static unsafe Vector<uint> GatherVectorInt16SignExtendFirstFaulting(Vector<uint> mask, Vector<uint> addresses) { throw new PlatformNotSupportedException(); }
39423952

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

4287-
/// <summary>
4288-
/// <para>svint32_t svldff1sb_gather[_u32base]_s32(svbool_t pg, svuint32_t bases)</para>
4289-
/// <para> LDFF1SB Zresult.S, Pg/Z, [Zbases.S, #0]</para>
4290-
/// </summary>
4291-
public static unsafe Vector<int> GatherVectorSByteSignExtendFirstFaulting(Vector<int> mask, Vector<uint> addresses) { throw new PlatformNotSupportedException(); }
4297+
// <summary>
4298+
// <para>svint32_t svldff1sb_gather[_u32base]_s32(svbool_t pg, svuint32_t bases)</para>
4299+
// <para> LDFF1SB Zresult.S, Pg/Z, [Zbases.S, #0]</para>
4300+
// </summary>
4301+
// Removed as per #103297
4302+
// public static unsafe Vector<int> GatherVectorSByteSignExtendFirstFaulting(Vector<int> mask, Vector<uint> addresses) { throw new PlatformNotSupportedException(); }
42924303

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

4323-
/// <summary>
4324-
/// <para>svuint32_t svldff1sb_gather[_u32base]_u32(svbool_t pg, svuint32_t bases)</para>
4325-
/// <para> LDFF1SB Zresult.S, Pg/Z, [Zbases.S, #0]</para>
4326-
/// </summary>
4327-
public static unsafe Vector<uint> GatherVectorSByteSignExtendFirstFaulting(Vector<uint> mask, Vector<uint> addresses) { throw new PlatformNotSupportedException(); }
4334+
// <summary>
4335+
// <para>svuint32_t svldff1sb_gather[_u32base]_u32(svbool_t pg, svuint32_t bases)</para>
4336+
// <para> LDFF1SB Zresult.S, Pg/Z, [Zbases.S, #0]</para>
4337+
// </summary>
4338+
// Removed as per #103297
4339+
// public static unsafe Vector<uint> GatherVectorSByteSignExtendFirstFaulting(Vector<uint> mask, Vector<uint> addresses) { throw new PlatformNotSupportedException(); }
43284340

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

0 commit comments

Comments
 (0)