From 7c04af489975d715d314a86177a47061d9ac9d75 Mon Sep 17 00:00:00 2001 From: Fei Peng Date: Mon, 15 Oct 2018 12:30:25 -0700 Subject: Fix GitHub #20389 (#20391) --- tests/src/JIT/HardwareIntrinsics/X86/General/VectorUnused.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/src/JIT') diff --git a/tests/src/JIT/HardwareIntrinsics/X86/General/VectorUnused.cs b/tests/src/JIT/HardwareIntrinsics/X86/General/VectorUnused.cs index bcc5665b9a..fe537c7184 100644 --- a/tests/src/JIT/HardwareIntrinsics/X86/General/VectorUnused.cs +++ b/tests/src/JIT/HardwareIntrinsics/X86/General/VectorUnused.cs @@ -33,7 +33,7 @@ internal partial class IntelHardwareIntrinsicTest { public static int VectorUnused(T t1, T t2) { - if (Avx.IsSupported) + if (Avx2.IsSupported) { Vector256 v1 = Avx.SetAllVector256(t1); v1 = Vector256Add(v1, Avx.SetAllVector256(t2)); -- cgit v1.2.3