Debian Codegraph @

gcc/testsuite/gcc.target/arm/mve/intrinsics/vst2q_f32.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 /*
13 **foo:
14 ** ...
15 ** vst20.32 {q[0-9]+, q[0-9]+}, \[(?:ip|fp|r[0-9]+)\](?: @.*|)
16 ** ...
17 ** vst21.32 {q[0-9]+, q[0-9]+}, \[(?:ip|fp|r[0-9]+)\](?: @.*|)
18 ** ...
19 */
20 void
21 foo (float32_t *addr, float32x4x2_t value)
22 {
23 vst2q_f32 (addr, value);
24 }
25
26
27 /*
28 **foo1:
29 ** ...
30 ** vst20.32 {q[0-9]+, q[0-9]+}, \[(?:ip|fp|r[0-9]+)\](?: @.*|)
31 ** ...
32 ** vst21.32 {q[0-9]+, q[0-9]+}, \[(?:ip|fp|r[0-9]+)\](?: @.*|)
33 ** ...
34 */
35 void
36 foo1 (float32_t *addr, float32x4x2_t value)
37 {
38 vst2q (addr, value);
39 }
40
41 #ifdef __cplusplus
42 }
43 #endif
44
45 /* { dg-final { scan-assembler-not "__ARM_undef" } } */