Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 @@ -150,6 +150,7 @@ internal AdvSimd() { }
// public static Vector64<float> MultiplySubtractScalar(Vector64<float> minuend, Vector64<float> left, Vector64<float> right) { throw new PlatformNotSupportedException(); }
// }

/// <summary>This class provides access to the ARM AdvSIMD hardware instructions, that are only available to 64-bit processes, via intrinsics.</summary>
public new abstract class Arm64 : ArmBase.Arm64
{
internal Arm64() { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public abstract class AdvSimd : ArmBase
{
internal AdvSimd() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { get => IsSupported; }

// [Intrinsic]
Expand Down Expand Up @@ -147,11 +148,13 @@ internal AdvSimd() { }
// public static Vector64<float> MultiplySubtractScalar(Vector64<float> minuend, Vector64<float> left, Vector64<float> right) => MultiplySubtractScalar(minuend, left, right);
// }

/// <summary>This class provides access to the ARM AdvSIMD hardware instructions, that are only available to 64-bit processes, via intrinsics.</summary>
[Intrinsic]
public new abstract class Arm64 : ArmBase.Arm64
{
internal Arm64() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { get => IsSupported; }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ public abstract class Aes : ArmBase
{
internal Aes() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { [Intrinsic] get => false; }

/// <summary>This class provides access to the ARM AES hardware instructions, that are only available to 64-bit processes, via intrinsics.</summary>
public new abstract class Arm64 : ArmBase.Arm64
{
internal Arm64() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { [Intrinsic] get { return false; } }
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ public abstract class Aes : ArmBase
{
internal Aes() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { get => IsSupported; }

/// <summary>This class provides access to the ARM AES hardware instructions, that are only available to 64-bit processes, via intrinsics.</summary>
[Intrinsic]
public new abstract class Arm64 : ArmBase.Arm64
{
internal Arm64() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { get => IsSupported; }
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@ abstract class ArmBase
{
internal ArmBase() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static bool IsSupported { [Intrinsic] get => false; }

/// <summary>This class provides access to the ARM base hardware instructions, that are only available to 64-bit processes, via intrinsics.</summary>
public abstract class Arm64
{
internal Arm64() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static bool IsSupported { [Intrinsic] get => false; }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ public abstract class ArmBase
{
internal ArmBase() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static bool IsSupported { get => IsSupported; }

/// <summary>This class provides access to the ARM base hardware instructions, that are only available to 64-bit processes, via intrinsics.</summary>
[Intrinsic]
public abstract class Arm64
{
internal Arm64() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static bool IsSupported { get => IsSupported; }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ public abstract class Crc32 : ArmBase
{
internal Crc32() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { [Intrinsic] get { return false; } }

/// <summary>This class provides access to the ARM Crc32 hardware instructions, that are only available to 64-bit processes, via intrinsics.</summary>
public new abstract class Arm64 : ArmBase.Arm64
{
internal Arm64() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { [Intrinsic] get { return false; } }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ public abstract class Crc32 : ArmBase
{
internal Crc32() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { get => IsSupported; }

/// <summary>This class provides access to the ARM Crc32 hardware instructions, that are only available to 64-bit processes, via intrinsics.</summary>
[Intrinsic]
public new abstract class Arm64 : ArmBase.Arm64
{
internal Arm64() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { get => IsSupported; }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ public abstract class Dp : AdvSimd
{
internal Dp() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { [Intrinsic] get => false; }

/// <summary>This class provides access to the ARMv8.2-DotProd hardware instructions, that are only available to 64-bit processes, via intrinsics.</summary>
public new abstract class Arm64 : AdvSimd.Arm64
{
internal Arm64() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { [Intrinsic] get { return false; } }
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ public abstract class Dp : AdvSimd
{
internal Dp() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { get => IsSupported; }

/// <summary>This class provides access to the ARMv8.2-DotProd hardware instructions, that are only available to 64-bit processes, via intrinsics.</summary>
[Intrinsic]
public new abstract class Arm64 : AdvSimd.Arm64
{
internal Arm64() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { get => IsSupported; }
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ public abstract class Rdm : AdvSimd
{
internal Rdm() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { [Intrinsic] get => false; }

/// <summary>This class provides access to the ARMv8.1-RDMA hardware instructions, that are only available to 64-bit processes, via intrinsics.</summary>
public new abstract class Arm64 : AdvSimd.Arm64
{
internal Arm64() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { [Intrinsic] get { return false; } }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ public abstract class Rdm : AdvSimd
{
internal Rdm() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { get => IsSupported; }

/// <summary>This class provides access to the ARMv8.1-RDMA hardware instructions, that are only available to 64-bit processes, via intrinsics.</summary>
[Intrinsic]
public new abstract class Arm64 : AdvSimd.Arm64
{
internal Arm64() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { get => IsSupported; }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ public abstract class Sha1 : ArmBase
{
internal Sha1() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { [Intrinsic] get => false; }

/// <summary>This class provides access to the ARM SHA1 hardware instructions, that are only available to 64-bit processes, via intrinsics.</summary>
public new abstract class Arm64 : ArmBase.Arm64
{
internal Arm64() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { [Intrinsic] get { return false; } }
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ public abstract class Sha1 : ArmBase
{
internal Sha1() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { get => IsSupported; }

/// <summary>This class provides access to the ARM SHA1 hardware instructions, that are only available to 64-bit processes, via intrinsics.</summary>
[Intrinsic]
public new abstract class Arm64 : ArmBase.Arm64
{
internal Arm64() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { get => IsSupported; }
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ public abstract class Sha256 : ArmBase
{
internal Sha256() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { [Intrinsic] get => false; }

/// <summary>This class provides access to the ARM SHA256 hardware instructions, that are only available to 64-bit processes, via intrinsics.</summary>
public new abstract class Arm64 : ArmBase.Arm64
{
internal Arm64() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { [Intrinsic] get { return false; } }
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ public abstract class Sha256 : ArmBase
{
internal Sha256() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { get => IsSupported; }

/// <summary>This class provides access to the ARM SHA256 hardware instructions, that are only available to 64-bit processes, via intrinsics.</summary>
[Intrinsic]
public new abstract class Arm64 : ArmBase.Arm64
{
internal Arm64() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { get => IsSupported; }
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,15 @@ abstract class Sve : AdvSimd
{
internal Sve() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { [Intrinsic] get { return false; } }

/// <summary>This class provides access to the ARM SVE hardware instructions, that are only available to 64-bit processes, via intrinsics.</summary>
public new abstract class Arm64 : AdvSimd.Arm64
{
internal Arm64() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { [Intrinsic] get { return false; } }
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,16 @@ public abstract class Sve : AdvSimd
{
internal Sve() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { get => IsSupported; }

/// <summary>This class provides access to the ARM SVE hardware instructions, that are only available to 64-bit processes, via intrinsics.</summary>
[Intrinsic]
public new abstract class Arm64 : AdvSimd.Arm64
{
internal Arm64() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { get => IsSupported; }
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ namespace System.Runtime.Intrinsics.Wasm
[CLSCompliant(false)]
public abstract class PackedSimd
{
/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static bool IsSupported { [Intrinsic] get { return false; } }

public static Vector128<sbyte> Splat(sbyte value) { throw new PlatformNotSupportedException(); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ namespace System.Runtime.Intrinsics.Wasm
[CLSCompliant(false)]
public abstract class PackedSimd
{
/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static bool IsSupported { [Intrinsic] get { return IsSupported; } }

// Constructing SIMD Values
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ namespace System.Runtime.Intrinsics.Wasm
{
internal abstract class WasmBase
{
/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static bool IsSupported => false;

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ namespace System.Runtime.Intrinsics.Wasm
[Intrinsic]
internal abstract class WasmBase
{
/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static bool IsSupported { get => IsSupported; }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,21 @@

namespace System.Runtime.Intrinsics.X86
{
/// <summary>
/// This class provides access to Intel AES hardware instructions via intrinsics
/// </summary>
/// <summary>This class provides access to X86 AES hardware instructions via intrinsics.</summary>
[CLSCompliant(false)]
public abstract class Aes : Sse2
{
internal Aes() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { [Intrinsic] get { return false; } }

/// <summary>This class provides access to the x86 AES hardware instructions, that are only available to 64-bit processes, via intrinsics.</summary>
public new abstract class X64 : Sse2.X64
{
internal X64() { }

/// <summary>Gets <c>true</c> if the APIs in this class are supported; otherwise, <c>false</c> which indicates they will throw <see cref="PlatformNotSupportedException" />.</summary>
public static new bool IsSupported { [Intrinsic] get { return false; } }
}

Expand Down
Loading