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
2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr59405.c
blob
1136e2e4501773050c2005d95e347ac8a1f904c0
1
/* { dg-do run } */
2
/* { dg-options "-mmmx -mfpmath=387" } */
3
4
#include
"mmx-check.h"
5
6
#include <mmintrin.h>
7
8
typedef
float
float32x2_t
__attribute__
((
vector_size
(
8
)));
9
10
float
11
foo32x2_be
(
float32x2_t x
)
12
{
13
_mm_empty
();
14
return
x
[
1
];
15
}
16
17
static void
18
mmx_test
(
void
)
19
{
20
float32x2_t b
= {
0.0
f
,
1.0
f
};
21
22
if
(
foo32x2_be
(
b
) !=
1.0
f
)
23
abort
();
24
}