OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gcc/
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
ssse3-check.h
1
#include <stdio.h>
2
#include <stdlib.h>
3
4
#include "cpuid.h"
5
6
static void ssse3_test (void);
7
8
int
9
main ()
10
{
11
unsigned int eax, ebx, ecx, edx;
12
13
if (!__get_cpuid (1, &eax, &ebx, &ecx, &edx))
14
return 0;
15
16
/* Run SSSE3 test only if host has SSSE3 support. */
17
if (ecx & bit_SSSE3)
18
ssse3_test ();
19
20
return 0;
21
}