blob: c34a1bd7c36a1aa358ef2b3ded1025d10d709470 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* { dg-do compile } */
/* { dg-options "-O2 -mavx -mfpmath=sse" } */
/* { dg-final { scan-assembler "vmaxsd" } } */
/* { dg-final { scan-assembler "vminsd" } } */
double x;
q()
{
x=x<5?5:x;
}
double x;
q1()
{
x=x>5?5:x;
}
|