gcc/testsuite/gcc.target/i386/pr88540.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2 -msse2 -mno-sse4.1" } */ |
| 3 | |
| 4 | void test(double* __restrict d1, double* __restrict d2, double* __restrict d3) |
| 5 | { |
| 6 | for (int n = 0; n < 2; ++n) |
| 7 | d3[n] = d1[n] < d2[n] ? d1[n] : d2[n]; |
| 8 | } |
| 9 | |
| 10 | /* { dg-final { scan-assembler "minpd" { xfail *-*-* } } } */ |