Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/simd/vcond-ne.c

raw
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
3 /* { dg-require-effective-target vect_float } */
4 /* { dg-require-effective-target vect_condition } */
5
6 float a,b,c;
7
8 float z[1024]; int ok[1024];
9
10 void foo()
11 {
12 int i;
13
14 for (i=0; i!=1024; ++i)
15 {
16 float rR = a*z[i];
17 float rL = b*z[i];
18 float rMin = (rR!=rL) ? rR : 0.0;
19 ok[i] = rMin-c;
20 }
21 }
22
23 /* { dg-final { scan-assembler-not "\[ \t\]not\[ \t\]" } } */