From: Fei Peng Date: Mon, 15 Oct 2018 19:30:25 +0000 (-0700) Subject: Fix GitHub #20389 (#20391) X-Git-Tag: accepted/tizen/unified/20190422.045933~992 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7c04af489975d715d314a86177a47061d9ac9d75;p=platform%2Fupstream%2Fcoreclr.git Fix GitHub #20389 (#20391) --- diff --git a/tests/src/JIT/HardwareIntrinsics/X86/General/VectorUnused.cs b/tests/src/JIT/HardwareIntrinsics/X86/General/VectorUnused.cs index bcc5665..fe537c7 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));