summary refs log tree commit diff
path: root/crypto/src/runtime/intrinsics/x86/Bmi1.cs
blob: a2eabec12e1383a5665a45ace22abaa16178e2cc (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 Bmi1
    {
//#if NETCOREAPP3_0_OR_GREATER
//        internal static bool IsEnabled => System.Runtime.Intrinsics.X86.Bmi1.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.Bmi1.X64.IsSupported;
#else
            internal static bool IsEnabled => false;
#endif
        }
    }
}