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
[testsuite] require sqrt_insn effective target where needed
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
powerpc
/
sse2-check.h
blob
f46ba359406dabbdbd0a47548f2f2489fb0b970c
1
#include <stdlib.h>
2
3
/* Define this to enable the combination of VSX vector double and
4
SSE2 data types. */
5
#define __VSX_SSE2__ 1
6
7
#include
"m128-check.h"
8
9
/* define DEBUG replace abort with printf on error. */
10
//#define DEBUG 1
11
12
#define TEST sse2_test
13
14
static void
sse2_test
(
void
);
15
16
static void
17
__attribute__
((
noinline
))
18
do_test
(
void
)
19
{
20
sse2_test
();
21
}
22
23
int
24
main
()
25
{
26
do_test
();
27
#ifdef DEBUG
28
printf
(
"PASSED
\n
"
);
29
#endif
30
return
0
;
31
}