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
Stop only if there aren't any usable algorithms
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
sse-16.c
blob
e429630cbfb928a42f245783316c3f5f0a3516be
1
/* { dg-do compile } */
2
/* { dg-options "-O0 -msse" } */
3
4
typedef
float
__vr
__attribute__
((
vector_size
(
16
)));
5
6
struct
vector
7
{
8
union
9
{
10
__vr v
;
11
float
f
[
4
];
12
};
13
};
14
15
void
16
doit
()
17
{
18
float
f
[
4
];
19
struct
vector v
;
20
21
f
[
0
] =
0
;
22
f
[
1
] =
1
;
23
f
[
2
] =
2
;
24
f
[
3
] =
3
;
25
26
v
.
v
=
__builtin_ia32_loadups
(
f
);
27
}