Debian Codegraph @

gcc/testsuite/gcc.target/arm/mve/intrinsics/vst4q_s8.c

raw
1 /* { dg-require-effective-target arm_v8_1m_mve_ok } */
2 /* { dg-add-options arm_v8_1m_mve } */
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 ** vst40.8 {q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
16 ** vst41.8 {q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
17 ** vst42.8 {q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
18 ** vst43.8 {q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
19 ** ...
20 */
21 void
22 foo (int8_t *addr, int8x16x4_t value)
23 {
24 vst4q_s8 (addr, value);
25 }
26
27
28 /*
29 **foo1:
30 ** ...
31 ** vst40.8 {q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
32 ** vst41.8 {q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
33 ** vst42.8 {q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
34 ** vst43.8 {q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
35 ** ...
36 */
37 void
38 foo1 (int8_t *addr, int8x16x4_t value)
39 {
40 vst4q (addr, value);
41 }
42
43 #ifdef __cplusplus
44 }
45 #endif
46
47 /* { dg-final { scan-assembler-not "__ARM_undef" } } */