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
2011-08-19 Andrew Stubbs <ams@codesourcery.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
isa-9.c
1
/* { dg-do run } */
2
/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=amdfam10" } } */
3
/* { dg-options "-march=amdfam10 -mno-fma4" } */
4
5
extern void abort (void);
6
7
int
8
main ()
9
{
10
#if !defined __SSE__
11
abort ();
12
#endif
13
#if !defined __SSE2__
14
abort ();
15
#endif
16
#if !defined __SSE3__
17
abort ();
18
#endif
19
#if defined __SSSE3__
20
abort ();
21
#endif
22
#if defined __SSE4_1__
23
abort ();
24
#endif
25
#if defined __SSE4_2__
26
abort ();
27
#endif
28
#if !defined __SSE4A__
29
abort ();
30
#endif
31
#if defined __FMA4__
32
abort ();
33
#endif
34
return 0;
35
}