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
Use gather loads for strided accesses
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
nvptx
/
vec.inc
blob
269a9749e26afd59a1953f42bd86bd5613b18a8d
1
TYPE __attribute__((noinline, noclone))
2
vector_load (TYPE *p)
3
{
4
return *p;
5
}
6
7
void __attribute__((noinline, noclone))
8
vector_store (TYPE *p, TYPE val)
9
{
10
*p = val;
11
}
12
13
TYPE __attribute__((noinline, noclone))
14
vector_const ()
15
{
16
TYPE res = {1, 2};
17
return res;
18
}