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