repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
c++: fix explicit/copy problem [PR109247]
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.dg
/
simd10447.d
blob
e0064c423068ff5132f9d3d8fefba1834ba0357d
1
// https://issues.dlang.org/show_bug.cgi?id=10447
2
// { dg-additional-options "-mavx" { target avx_runtime } }
3
// { dg-do compile { target { avx_runtime || vect_sizes_16B_8B } } }
4
5
void
test10447
()
6
{
7
immutable
__vector
(
double
[
2
])
a
= [
1.0
,
2.0
];
8
__vector
(
double
[
2
])
r
;
9
r
+=
a
;
10
r
=
r
*
a
;
11
}