diff options
Diffstat (limited to 'ARMeilleure/Optimizations.cs')
-rw-r--r-- | ARMeilleure/Optimizations.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ARMeilleure/Optimizations.cs b/ARMeilleure/Optimizations.cs index 19193971..97defd9a 100644 --- a/ARMeilleure/Optimizations.cs +++ b/ARMeilleure/Optimizations.cs @@ -22,6 +22,7 @@ namespace ARMeilleure public static bool UseAesniIfAvailable { get; set; } = true; public static bool UsePclmulqdqIfAvailable { get; set; } = true; public static bool UseShaIfAvailable { get; set; } = true; + public static bool UseGfniIfAvailable { get; set; } = true; public static bool ForceLegacySse { @@ -42,5 +43,6 @@ namespace ARMeilleure internal static bool UseAesni => UseAesniIfAvailable && HardwareCapabilities.SupportsAesni; internal static bool UsePclmulqdq => UsePclmulqdqIfAvailable && HardwareCapabilities.SupportsPclmulqdq; internal static bool UseSha => UseShaIfAvailable && HardwareCapabilities.SupportsSha; + internal static bool UseGfni => UseGfniIfAvailable && HardwareCapabilities.SupportsGfni; } }
\ No newline at end of file |