Fortran: fix dependency checks for inquiry refs [PR115039]
[official-gcc.git] / gcc / testsuite / gcc.target / mips / mips-ps-7.c
blob29e29aa1050adada33cc18f4932bd42cd46adc93
1 /* mips-ps-5.c with -mgp32 instead of -mgp64. */
2 /* { dg-do compile } */
3 /* { dg-options "-mgp32 -mpaired-single -ftree-vectorize forbid_cpu=octeon.*" } */
4 /* { dg-skip-if "requires vectorization" { *-*-* } { "-O0" "-Os" } { "" } } */
6 extern float a[] __attribute__ ((aligned (8)));
7 extern float b[] __attribute__ ((aligned (8)));
8 extern float c[] __attribute__ ((aligned (8)));
10 NOMIPS16 void
11 foo (void)
13 int i;
14 for (i = 0; i < 16; i++)
15 a[i] = b[i] == c[i] + 1 ? b[i] : c[i];
18 /* { dg-final { scan-assembler "\tadd\\.ps\t" } } */
19 /* { dg-final { scan-assembler "\tc\\.eq\\.ps\t" } } */
20 /* { dg-final { scan-assembler "\tmov\[tf\]\\.ps\t" } } */