diff options
Diffstat (limited to 'crypto/src/runtime/intrinsics/x86/Bmi1.cs')
-rw-r--r-- | crypto/src/runtime/intrinsics/x86/Bmi1.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/crypto/src/runtime/intrinsics/x86/Bmi1.cs b/crypto/src/runtime/intrinsics/x86/Bmi1.cs new file mode 100644 index 000000000..a2eabec12 --- /dev/null +++ b/crypto/src/runtime/intrinsics/x86/Bmi1.cs @@ -0,0 +1,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 + } + } +} |