Debian Codegraph @

gcc/testsuite/gcc.target/arm/mve/intrinsics/vdupq_n_f32-2.c

raw
1 /* { dg-require-effective-target arm_v8_1m_mve_fp_ok } */
2 /* { dg-add-options arm_v8_1m_mve_fp } */
3 /* { dg-additional-options "-O2" } */
4 /* { dg-final { check-function-bodies "**" "" } } */
5
6 #include "arm_mve.h"
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 /* Test with a constant that fits in vmov. */
13 /*
14 **foo1:
15 ** ...
16 ** vmov.f32 q[0-9]+, #0.0 .*
17 ** ...
18 */
19 float32x4_t
20 foo1 ()
21 {
22 return vdupq_n_f32 (0);
23 }
24
25 #ifdef __cplusplus
26 }
27 #endif
28
29 /* { dg-final { scan-assembler-not "__ARM_undef" } } */