testcase: Add testcase for PR 117330 [PR117330]
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / facg_1.c
blob6c17fb6f8876ca3cb74c9b40ef117ec00c97c89d
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 #include <arm_neon.h>
6 int g(uint32x4_t, uint32x4_t);
8 int foo (float32x4_t x, float32x4_t a, float32x4_t b)
10 return g(vcagtq_f32 (x, a), vcagtq_f32 (x, b));
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} } } */