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
* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
simd-3.c
blob
a806633eaeb2380452eb81711d29be0fecfde3b0
1
/* { dg-do compile } */
2
/* { dg-options "-maltivec" { target powerpc*-*-* } } */
3
4
__attribute__
((
vector_size
(
2
)))
signed char
v1
,
v2
,
v3
;
5
void
6
one
(
void
)
7
{
8
v1
=
v2
+
v3
;
9
}
10
11
__attribute__
((
vector_size
(
8
)))
signed char
v4
,
v5
,
v6
;
12
void
13
two
(
void
)
14
{
15
v4
=
v5
+
v6
;
16
}