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
/
mmx-3dnow-check.h
1
#include <stdio.h>
2
#include <stdlib.h>
3
4
#include "cpuid.h"
5
6
static void mmx_3dnow_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 3DNow! test only if host has 3DNow! support. */
17
if (edx & bit_3DNOW)
18
mmx_3dnow_test ();
19
20
return 0;
21
}