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
[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
vect-faddv.x
blob
d99ab215639a9fb75f5b8058885f0dce87bea0f4
1
2
typedef float *__restrict__ pRF32;
3
typedef double *__restrict__ pRF64;
4
5
float addv_f32 (pRF32 a)
6
{
7
int i;
8
float s = 0.0;
9
for (i=0; i<16; i++)
10
s += a[i];
11
12
return s;
13
}
14
15
double addv_f64 (pRF64 a)
16
{
17
int i;
18
double s = 0.0;
19
for (i=0; i<16; i++)
20
s += a[i];
21
22
return s;
23
}