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
2007-05-22 H.J. Lu <hongjiu.lu@intel.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
sse4_1-check.h
blob
a20a760e64bf546e80679ac0f1ffb25a64d98230
1
#include <stdio.h>
2
#include <stdlib.h>
3
4
#include
"../../gcc.dg/i386-cpuid.h"
5
6
static void
sse4_1_test
(
void
);
7
8
int
9
main
()
10
{
11
unsigned long
cpu_facilities
;
12
13
cpu_facilities
=
i386_cpuid_ecx
();
14
15
/* Run SSE4.1 test only if host has SSE4.1 support. */
16
if
((
cpu_facilities
&
bit_SSE4_1
))
17
sse4_1_test
();
18
19
exit
(
0
);
20
}