summary refs log tree commit diff
path: root/crypto/src/runtime/intrinsics/x86/Avx2.cs
blob: 180b4f35c301c9c20055f9ef9319ccb2e41d2664 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
namespace Org.BouncyCastle.Runtime.Intrinsics.X86
{
    internal static class Avx2
    {
#if NETCOREAPP3_0_OR_GREATER
        internal static bool IsEnabled => System.Runtime.Intrinsics.X86.Avx2.IsSupported;
#else
        internal static bool IsEnabled => false;
#endif

//        internal static class X64
//        {
//#if NETCOREAPP3_0_OR_GREATER
//            internal static bool IsEnabled => System.Runtime.Intrinsics.X86.Avx2.X64.IsSupported;
//#else
//            internal static bool IsEnabled => false;
//#endif
//        }
    }
}