repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.dg
/
vmx
/
3b-10.c
blob
5f8fb3adfab1cf8ac5a441b200f82be08e0da1e1
1
#include
"harness.h"
2
3
typedef
vector
unsigned int
x
;
4
5
x
f
(
x a
)
6
{
7
return
vec_addc
(
a
,
a
);
8
}
9
10
void
g
(
int
b
)
11
{
12
vec_dst
(&
b
,
3
,
3
);
13
vec_dst
(&
b
,
1
,
1
);
14
}
15
16
static void
test
()
17
{
18
check
(
vec_all_eq
(
f
(((
vector
unsigned int
){
0x80000000
,
0x7fffffff
,
3
,
4
})),
19
((
vector
unsigned int
){
1
,
0
,
0
,
0
})),
20
"f"
);
21
}