2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avxfp-2.c
blobc4a00ad6e4830bb6e4cb95839c47bd7afd8cc213
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()
9 x=x<5?5:x;
12 double x;
13 void
14 q1()
16 x=x>5?5:x;