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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vmx
/
vsums.c
blob
d678aceec10ad549131db03b6e8755726ec6f60b
1
#include
"harness.h"
2
3
static void
test
()
4
{
5
vector
signed int
va
= {-
7
,
11
,-
13
,
17
};
6
vector
signed int
vb
= {
0
,
0
,
0
,
128
};
7
vector
signed int
evd
= {
0
,
0
,
0
,
136
};
8
9
vector
signed int
vd
=
vec_sums
(
va
,
vb
);
10
11
check
(
vec_all_eq
(
vd
,
evd
),
"sums"
);
12
}