Debian Codegraph @

gcc/testsuite/gcc.target/arm/simd/vst1_fp16_xN_1.c

raw
1 /* { dg-do assemble } */
2 /* { dg-require-effective-target arm_neon_fp16_ok } */
3 /* { dg-options "-save-temps -O2" } */
4 /* { dg-add-options arm_neon_fp16 } */
5
6 #include "arm_neon.h"
7
8 void test_vst1_f16_x2 (float16_t * ptr, float16x4x2_t val)
9 {
10 vst1_f16_x2 (ptr, val);
11 }
12
13 void test_vst1_f16_x3 (float16_t * ptr, float16x4x3_t val)
14 {
15 vst1_f16_x3 (ptr, val);
16 }
17
18 void test_vst1_f16_x4 (float16_t * ptr, float16x4x4_t val)
19 {
20 vst1_f16_x4 (ptr, val);
21 }
22
23 /* { dg-final { scan-assembler-times {vst1.16\t\{d[0-9]+-d[0-9]+\}, \[r[0-9]+\]\n} 3 } } */