Debian Codegraph @

gcc/testsuite/gcc.target/arm/mve/intrinsics/vuninitializedq_float.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
5 #include "arm_mve.h"
6
7 float16x8_t fa;
8 float32x4_t fb;
9
10 void
11 foo ()
12 {
13 fa = vuninitializedq_f16 ();
14 fb = vuninitializedq_f32 ();
15 }
16
17 /* { dg-final { scan-assembler-times "vstrh.16" 1 } } */
18 /* { dg-final { scan-assembler-times "vstrw.32" 1 } } */
19 /* { dg-final { scan-assembler-not "__ARM_undef" } } */