Fix GitHub #20389 (#20391)
authorFei Peng <fei.peng@intel.com>
Mon, 15 Oct 2018 19:30:25 +0000 (12:30 -0700)
committerTanner Gooding <tagoo@outlook.com>
Mon, 15 Oct 2018 19:30:25 +0000 (12:30 -0700)
tests/src/JIT/HardwareIntrinsics/X86/General/VectorUnused.cs

index bcc5665..fe537c7 100644 (file)
@@ -33,7 +33,7 @@ internal partial class IntelHardwareIntrinsicTest
     {
         public static int VectorUnused(T t1, T t2)
         {
-            if (Avx.IsSupported)
+            if (Avx2.IsSupported)
             {
                 Vector256<T> v1 = Avx.SetAllVector256<T>(t1);
                 v1 = Vector256Add<T>(v1, Avx.SetAllVector256<T>(t2));