projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
447ac3c
)
d: Compile simd_ctfe.d only on avx_runtime or vect_sizes_16B_8B targets
author
Iain Buclaw
<ibuclaw@gdcproject.org>
Sun, 3 Apr 2022 18:42:20 +0000
(20:42 +0200)
committer
Iain 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
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gdc.dg/simd_ctfe.d
b/gcc/testsuite/gdc.dg/simd_ctfe.d
index b254cf312cb170f79aeaa51dd191e9413ced1e29..507de17baa2564c5ec5263c8a3ca2c46426be2f7 100644
(file)
--- a/
gcc/testsuite/gdc.dg/simd_ctfe.d
+++ b/
gcc/testsuite/gdc.dg/simd_ctfe.d
@@
-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