d: Compile simd_ctfe.d only on avx_runtime or vect_sizes_16B_8B targets
authorIain Buclaw <ibuclaw@gdcproject.org>
Sun, 3 Apr 2022 18:42:20 +0000 (20:42 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Mon, 4 Apr 2022 09:21:44 +0000 (11:21 +0200)
PR d/104740

gcc/testsuite/ChangeLog:

* gdc.dg/simd_ctfe.d: Compile with target avx_runtime or
vect_sizes_16B_8B.

gcc/testsuite/gdc.dg/simd_ctfe.d

index b254cf3..507de17 100644 (file)
@@ -1,4 +1,5 @@
-// { dg-do compile }
+// { dg-additional-options "-mavx" { target avx_runtime } }
+// { dg-do compile { target { avx_runtime || vect_sizes_16B_8B } } }
 import core.simd;
 
 // https://issues.dlang.org/show_bug.cgi?id=19627