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