OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* config/xtensa/xtensa.c (xtensa_output_literal): Don't use #if.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
vector-2.c
1
#define vector __attribute__((vector_size(16) ))
2
struct ss
3
{
4
vector float mVec;
5
};
6
vector float getCapsule(vector int t)
7
{
8
vector float t1 = (vector float)t;
9
struct ss y = {t1};
10
*((float*)&y.mVec) = 1.0;
11
return y.mVec;
12
}