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