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
Merged with mainline at revision 128810.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
sse5-check.h
blob
e133ed884fa1beb6d3fc2c1a0f30837eacc25168
1
#include <stdlib.h>
2
3
#include
"cpuid.h"
4
5
static void
sse5_test
(
void
);
6
7
int
8
main
()
9
{
10
unsigned int
eax
,
ebx
,
ecx
,
edx
;
11
12
if
(!
__get_cpuid
(
0x80000001
, &
eax
, &
ebx
, &
ecx
, &
edx
))
13
return
0
;
14
15
/* Run SSE5 test only if host has SSE5 support. */
16
if
(
ecx
&
bit_SSE5
)
17
sse5_test
();
18
19
exit
(
0
);
20
}