File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -103,10 +103,13 @@ public static InstructionSetSupport ConfigureInstructionSetSupport(string instru
103103 Debug . Assert ( InstructionSet . X64_AVX == InstructionSet . X86_AVX ) ;
104104 if ( supportedInstructionSet . HasInstructionSet ( InstructionSet . X64_AVX ) )
105105 {
106+ // TODO: Enable optimistic usage of AVX2 once we validate it doesn't break Vector<T> usage
107+ // optimisticInstructionSetSupportBuilder.AddSupportedInstructionSet("avx2");
108+ // optimisticInstructionSetSupportBuilder.AddSupportedInstructionSet("avxvnni");
109+
106110 optimisticInstructionSetSupportBuilder . AddSupportedInstructionSet ( "fma" ) ;
107111 optimisticInstructionSetSupportBuilder . AddSupportedInstructionSet ( "bmi" ) ;
108112 optimisticInstructionSetSupportBuilder . AddSupportedInstructionSet ( "bmi2" ) ;
109- optimisticInstructionSetSupportBuilder . AddSupportedInstructionSet ( "avxvnni" ) ;
110113 }
111114 }
112115 else if ( targetArchitecture == TargetArchitecture . ARM64 )
You can’t perform that action at this time.
0 commit comments