Add intrinsics support (#121)
* Initial intrinsics support * Update tests to work with the new Vector128 type and intrinsics * Drop SSE4.1 requirement * Fix copy-paste mistake
This commit is contained in:
parent
8e306b3ac1
commit
f9f111bc85
36 changed files with 1658 additions and 1111 deletions
|
@ -1,6 +1,12 @@
|
|||
using System.Runtime.Intrinsics.X86;
|
||||
|
||||
public static class AOptimizations
|
||||
{
|
||||
public static bool DisableMemoryChecks = false;
|
||||
|
||||
public static bool GenerateCallStack = true;
|
||||
|
||||
public static bool UseSse2IfAvailable = true;
|
||||
|
||||
internal static bool UseSse2 = UseSse2IfAvailable && Sse2.IsSupported;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue