repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
avxfp-2.c
blob
c4a00ad6e4830bb6e4cb95839c47bd7afd8cc213
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -mavx -mfpmath=sse" } */
3
/* { dg-final { scan-assembler "vmaxsd" } } */
4
/* { dg-final { scan-assembler "vminsd" } } */
5
double
x
;
6
void
7
q
()
8
{
9
x
=
x
<
5
?
5
:
x
;
10
}
11
12
double
x
;
13
void
14
q1
()
15
{
16
x
=
x
>
5
?
5
:
x
;
17
}