projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
re PR target/88837 ([SVE] Poor vector construction code in VL-specific mode)
[gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
sve
/
init_3_run.c
1
/* { dg-do run { target aarch64_sve256_hw } } */
2
/* { dg-options "-O2 -msve-vector-bits=256" } */
3
4
#include
"init_3.c"
5
6
int
main
()
7
{
8
int
a
=
10
;
9
int
b
=
11
;
10
11
vnx4si v
=
foo
(
a
,
b
);
12
int
expected
[] = {
1
,
2
,
3
,
4
,
5
,
6
,
a
,
b
};
13
14
for
(
int
i
=
0
;
i
<
8
;
i
++)
15
if
(
v
[
i
] !=
expected
[
i
])
16
__builtin_abort
();
17
18
return
0
;
19
}