1 /* mips-ps-5.c with -mgp32 instead of -mgp64. */
2 /* { dg-do compile } */
3 /* { dg-options "-mgp32 -O2 -mpaired-single -ftree-vectorize" } */
5 extern float a[], b[], c[];
11 for (i = 0; i < 16; i++)
12 a[i] = b[i] == c[i] + 1 ? b[i] : c[i];
15 /* { dg-final { scan-assembler "add\\.ps" } } */
16 /* { dg-final { scan-assembler "c\\.eq\\.ps" } } */
17 /* { dg-final { scan-assembler "mov\[tf\]\\.ps" } } */