Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/facg_1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 #include <arm_neon.h>
5
6 int g(uint32x4_t, uint32x4_t);
7
8 int foo (float32x4_t x, float32x4_t a, float32x4_t b)
9 {
10 return g(vcagtq_f32 (x, a), vcagtq_f32 (x, b));
11 }
12
13 /* { dg-final { scan-assembler-times {facgt\tv[0-9]+\.4s, v[0-9]+\.4s, v[0-9]+\.4s} 2 } } */
14 /* { dg-final { scan-assembler-not {\tfabs\t} } } */
15