1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-09 17:44:48 +09:00

ARM64-SVE: Fix SVE API formatting for FFR APIs (#106017)

This commit is contained in:
Alan Hayward 2024-08-06 17:39:47 +01:00 committed by GitHub
parent d5af5bde0a
commit b6ab4637e6
Signed by: github
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 4 deletions

View file

@ -4428,6 +4428,8 @@ namespace System.Runtime.Intrinsics.Arm
public static unsafe ulong GetActiveElementCount(Vector<ulong> mask, Vector<ulong> from) { throw new PlatformNotSupportedException(); }
// Read FFR, returning predicate of successfully loaded elements
/// <summary>
/// svbool_t svrdffr()
/// RDFFR Presult.B
@ -7936,6 +7938,8 @@ namespace System.Runtime.Intrinsics.Arm
public static unsafe void Scatter8BitWithByteOffsetsNarrowing(Vector<ulong> mask, byte* address, Vector<ulong> offsets, Vector<ulong> data) { throw new PlatformNotSupportedException(); }
// Write to the first-fault register
/// <summary>
/// void svwrffr(svbool_t op)
/// WRFFR Pop.B

View file

@ -3646,6 +3646,8 @@ namespace System.Runtime.Intrinsics.Arm
public static unsafe Vector<ulong> GatherVectorByteZeroExtend(Vector<ulong> mask, byte* address, Vector<ulong> indices) => GatherVectorByteZeroExtend(mask, address, indices);
// Unextended load, first-faulting
/// <summary>
/// svfloat64_t svldff1_gather_[s64]index[_f64](svbool_t pg, const float64_t *base, svint64_t indices)
/// LDFF1D Zresult.D, Pg/Z, [Xbase, Zindices.D, LSL #3]
@ -4423,6 +4425,8 @@ namespace System.Runtime.Intrinsics.Arm
public static unsafe ulong GetActiveElementCount(Vector<ulong> mask, Vector<ulong> from) => GetActiveElementCount(mask, from);
// Read FFR, returning predicate of successfully loaded elements
/// <summary>
/// svbool_t svrdffr()
/// RDFFR Presult.B
@ -4891,6 +4895,8 @@ namespace System.Runtime.Intrinsics.Arm
public static unsafe Vector<ulong> LoadVectorByteZeroExtendToUInt64(Vector<ulong> mask, byte* address) => LoadVectorByteZeroExtendToUInt64(mask, address);
// Unextended load, first-faulting
/// <summary>
/// svuint8_t svldff1[_u8](svbool_t pg, const uint8_t *base)
/// LDFF1B Zresult.B, Pg/Z, [Xbase, XZR]
@ -7929,6 +7935,8 @@ namespace System.Runtime.Intrinsics.Arm
public static unsafe void Scatter8BitWithByteOffsetsNarrowing(Vector<ulong> mask, byte* address, Vector<ulong> offsets, Vector<ulong> data) => Scatter8BitWithByteOffsetsNarrowing(mask, address, offsets, data);
// Write to the first-fault register
/// <summary>
/// void svwrffr(svbool_t op)
/// WRFFR Pop.B

View file

@ -4964,7 +4964,6 @@ namespace System.Runtime.Intrinsics.Arm
public static ulong GetActiveElementCount(System.Numerics.Vector<ushort> mask, System.Numerics.Vector<ushort> from) { throw null; }
public static ulong GetActiveElementCount(System.Numerics.Vector<uint> mask, System.Numerics.Vector<uint> from) { throw null; }
public static ulong GetActiveElementCount(System.Numerics.Vector<ulong> mask, System.Numerics.Vector<ulong> from) { throw null; }
public static System.Numerics.Vector<byte> GetFfrByte() { throw null; }
public static System.Numerics.Vector<short> GetFfrInt16() { throw null; }
public static System.Numerics.Vector<int> GetFfrInt32() { throw null; }
@ -4973,7 +4972,6 @@ namespace System.Runtime.Intrinsics.Arm
public static System.Numerics.Vector<ushort> GetFfrUInt16() { throw null; }
public static System.Numerics.Vector<uint> GetFfrUInt32() { throw null; }
public static System.Numerics.Vector<ulong> GetFfrUInt64() { throw null; }
public static System.Numerics.Vector<byte> InsertIntoShiftedVector(System.Numerics.Vector<byte> left, byte right) { throw null; }
public static System.Numerics.Vector<double> InsertIntoShiftedVector(System.Numerics.Vector<double> left, double right) { throw null; }
public static System.Numerics.Vector<short> InsertIntoShiftedVector(System.Numerics.Vector<short> left, short right) { throw null; }
@ -5437,7 +5435,6 @@ namespace System.Runtime.Intrinsics.Arm
public static unsafe void Scatter8BitWithByteOffsetsNarrowing(System.Numerics.Vector<uint> mask, byte* address, System.Numerics.Vector<uint> offsets, System.Numerics.Vector<uint> data) { throw null; }
public static unsafe void Scatter8BitWithByteOffsetsNarrowing(System.Numerics.Vector<ulong> mask, byte* address, System.Numerics.Vector<long> offsets, System.Numerics.Vector<ulong> data) { throw null; }
public static unsafe void Scatter8BitWithByteOffsetsNarrowing(System.Numerics.Vector<ulong> mask, byte* address, System.Numerics.Vector<ulong> offsets, System.Numerics.Vector<ulong> data) { throw null; }
public static unsafe void SetFfr(System.Numerics.Vector<byte> value) { throw null; }
public static unsafe void SetFfr(System.Numerics.Vector<short> value) { throw null; }
public static unsafe void SetFfr(System.Numerics.Vector<int> value) { throw null; }
@ -5446,7 +5443,6 @@ namespace System.Runtime.Intrinsics.Arm
public static unsafe void SetFfr(System.Numerics.Vector<ushort> value) { throw null; }
public static unsafe void SetFfr(System.Numerics.Vector<uint> value) { throw null; }
public static unsafe void SetFfr(System.Numerics.Vector<ulong> value) { throw null; }
public static System.Numerics.Vector<byte> ShiftLeftLogical(System.Numerics.Vector<byte> left, System.Numerics.Vector<byte> right) { throw null; }
public static System.Numerics.Vector<byte> ShiftLeftLogical(System.Numerics.Vector<byte> left, System.Numerics.Vector<ulong> right) { throw null; }
public static System.Numerics.Vector<short> ShiftLeftLogical(System.Numerics.Vector<short> left, System.Numerics.Vector<ushort> right) { throw null; }