comparison gcc/testsuite/gcc.target/arm/mve/intrinsics/vst4q_f32.c @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
comparison
equal deleted inserted replaced
18:1830386684a0 19:2b5abeee2509
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 void
8 foo (float32_t * addr, float32x4x4_t value)
9 {
10 vst4q_f32 (addr, value);
11 }
12
13 /* { dg-final { scan-assembler "vst40.32" } } */
14 /* { dg-final { scan-assembler "vst41.32" } } */
15 /* { dg-final { scan-assembler "vst42.32" } } */
16 /* { dg-final { scan-assembler "vst43.32" } } */
17
18 void
19 foo1 (float32_t * addr, float32x4x4_t value)
20 {
21 vst4q (addr, value);
22 }
23
24 /* { dg-final { scan-assembler "vst40.32" } } */
25 /* { dg-final { scan-assembler "vst41.32" } } */
26 /* { dg-final { scan-assembler "vst42.32" } } */
27 /* { dg-final { scan-assembler "vst43.32" } } */
28
29 void
30 foo2 (float32_t * addr, float32x4x4_t value)
31 {
32 vst4q_f32 (addr, value);
33 addr += 16;
34 vst4q_f32 (addr, value);
35 }
36
37 /* { dg-final { scan-assembler {vst43.32\s\{.*\}, \[.*\]!} } } */