Debian Codegraph @

gcc/testsuite/gcc.target/i386/ssefp-1.c

raw
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 t()
8 {
9 x=x>5?x:5;
10 }
11
12 double x;
13 void
14 q()
15 {
16 x=x<5?x:5;
17 }