Refactoring the ARM Hardware Intrinsics based on the latest design decisions. (#26895)
[mono-project.git] / netcore / System.Private.CoreLib / shared / System / Runtime / Intrinsics / Arm / Sha256.PlatformNotSupported.cs
blob7263b568a0bcaff6ebe873d3a188384e194afa4e
1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
5 #pragma warning disable IDE0060 // unused parameters
6 using System.Runtime.CompilerServices;
8 namespace System.Runtime.Intrinsics.Arm
10 /// <summary>
11 /// This class provides access to the ARM SHA256 hardware instructions via intrinsics
12 /// </summary>
13 [CLSCompliant(false)]
14 public abstract class Sha256 : ArmBase
16 internal Sha256() { }
18 public static new bool IsSupported { [Intrinsic] get => false; }
20 /// <summary>
21 /// uint32x4_t vsha256hq_u32 (uint32x4_t hash_abcd, uint32x4_t hash_efgh, uint32x4_t wk)
22 /// A32: SHA256H.32 Qd, Qn, Qm
23 /// A64: SHA256H Qd, Qn, Vm.4S
24 /// </summary>
25 public static Vector128<uint> HashUpdate1(Vector128<uint> hash_abcd, Vector128<uint> hash_efgh, Vector128<uint> wk) { throw new PlatformNotSupportedException(); }
27 /// <summary>
28 /// uint32x4_t vsha256h2q_u32 (uint32x4_t hash_efgh, uint32x4_t hash_abcd, uint32x4_t wk)
29 /// A32: SHA256H2.32 Qd, Qn, Qm
30 /// A64: SHA256H2 Qd, Qn, Vm.4S
31 /// </summary>
32 public static Vector128<uint> HashUpdate2(Vector128<uint> hash_efgh, Vector128<uint> hash_abcd, Vector128<uint> wk) { throw new PlatformNotSupportedException(); }
34 /// <summary>
35 /// uint32x4_t vsha256su0q_u32 (uint32x4_t w0_3, uint32x4_t w4_7)
36 /// A32: SHA256SU0.32 Qd, Qm
37 /// A64: SHA256SU0 Vd.4S, Vn.4S
38 /// </summary>
39 public static Vector128<uint> ScheduleUpdate0(Vector128<uint> w0_3, Vector128<uint> w4_7) { throw new PlatformNotSupportedException(); }
41 /// <summary>
42 /// uint32x4_t vsha256su1q_u32 (uint32x4_t w0_3, uint32x4_t w8_11, uint32x4_t w12_15)
43 /// A32: SHA256SU1.32 Qd, Qn, Qm
44 /// A64: SHA256SU1 Vd.4S, Vn.4S, Vm.4S
45 /// </summary>
46 public static Vector128<uint> ScheduleUpdate1(Vector128<uint> w0_3, Vector128<uint> w8_11, Vector128<uint> w12_15) { throw new PlatformNotSupportedException(); }