Debian Codegraph @

gcc/testsuite/gcc.target/arm/mve/intrinsics/vld4q_s32.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 ** vld40.32 {q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
16 ** vld41.32 {q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
17 ** vld42.32 {q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
18 ** vld43.32 {q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
19 ** ...
20 */
21 int32x4x4_t
22 foo (int32_t const *addr)
23 {
24 return vld4q_s32 (addr);
25 }
26
27
28 /*
29 **foo1:
30 ** ...
31 ** vld40.32 {q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
32 ** vld41.32 {q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
33 ** vld42.32 {q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
34 ** vld43.32 {q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
35 ** ...
36 */
37 int32x4x4_t
38 foo1 (int32_t const *addr)
39 {
40 return vld4q (addr);
41 }
42
43 #ifdef __cplusplus
44 }
45 #endif
46
47 /* { dg-final { scan-assembler-not "__ARM_undef" } } */