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
2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
ssefp-2.c
blob
98e00f3bf109e1b332364b2a142795dc2a39276b
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -msse2 -march=k8 -mfpmath=sse" } */
3
/* { dg-final { scan-assembler "maxsd" } } */
4
/* { dg-final { scan-assembler "minsd" } } */
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
}