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
PR middle-end/29274
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
xop-check.h
1
#include <stdlib.h>
2
3
#include "cpuid.h"
4
#include "m256-check.h"
5
6
static void xop_test (void);
7
8
int
9
main ()
10
{
11
unsigned int eax, ebx, ecx, edx;
12
13
if (!__get_cpuid (0x80000001, &eax, &ebx, &ecx, &edx))
14
return 0;
15
16
/* Run XOP test only if host has XOP support. */
17
if (ecx & bit_XOP)
18
xop_test ();
19
20
exit (0);
21
}