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
/
sum2s.c
blob
ded05be849cb863a7957cdc24771a1352e038d3b
1
#include
"harness.h"
2
3
static void
test
()
4
{
5
vector
signed int
vsia
= {-
10
,
1
,
2
,
3
};
6
vector
signed int
vsib
= {
100
,
101
,
102
,-
103
};
7
vector
signed int
vsir
;
8
vector
signed int
vsier
= {
0
,
92
,
0
,-
98
};
9
10
vsir
=
vec_sum2s
(
vsia
,
vsib
);
11
12
check
(
vec_all_eq
(
vsir
,
vsier
),
"vsir"
);
13
}